Navigation

Pligg Support

Avatar
Jhawkin

http://www.JeffHawkinsWebsiteServices.com
Jeff Hawkins is a Web Guru, Tall Tale Tech Writer and Short Order Cook · Monster Highway Cafe from Middletown, Va. (The Center of the Known Universe)
0
Question: rss importer causing high load on server getting 500 internal server error
Answer: provided by jhawkin 318 days ago
- 0 + You're RSS run probably occurs as intended. At least partially. Apache just gets tired of waiting on it to finish. So you see a 500 error page. Though your server is small compared to some I'd still expect it to handle these feeds.

I can think of a few fixes maybe if you get a incomplete run.

First, Get rid of as many as you can. Set the feed frequency to zero or way out for those items, 72 hours or more.

Watch for fetches from very slow to respond sites. Stagger them by using the feed frequency numbers.

Run them with lower fetch numbers (try fetching just one feed item at a time but run fetches more often). The fetch is still the same size but the time to process one item is faster than several items.

Set 'Feed URL Dupes' and 'Feed Title Dupes' to zero. Saves processing time!

Run several items by themselves at first by launching a fetch from the individual RSS item setup.

You probably have all the RSS feeds set to the same time span. Stagger the time spam. Set the first to 1 hour and add a hour to each consecutive item up to 23 hours (or even 47 hours). Start over adding hours on the next one after that.

Run a few bigger ones by hand at first. Again from the RSS setup page.

Use something to aggregate some feeds. A second Pligg instance, sub site or a WordPress Blog.

If you have found 250 relevant RSS feeds just maybe you've found a niche in there that could use a site of it's own. Another Pligg or WordPress site that then serves as an aggregator to feed to your present site.

Finally use cron to pull feeds every ten minutes even though the individual fetches are set an hour apart.

The individual fetches you ran by hand will give you a running start against the cron triggered fetches.

Do run the 'fetch all feeds' by hand once a week or so just to watch for issues. The last item fetched should be the last in your feeds list and should show you the 'time to next run' and the 'run anyway' button. You can learn a lot by watching a RSS run all the way through.

I hesitate to mention this as this project is not Pligg 2.0 based yet (still runs 1.2.2) but I run http://www.FreakyVirginia.com in a Multi-Pligg configuration due to so much material there coming in via RSS. There's three sub-sites under the main site.

Multi-Pligg is not supported by Pligg LLC. Here's a link to the Multi-Pligg info http://jeffhawkinswebsiteservices.com/
0
Question: rss importer causing high load on server getting 500 internal server error
Answer: provided by jhawkin 317 days ago
- 0 + I didn't think the memory upgrade would help!

What I saw there looks to be a real mess like you went from a server using addon domains to one that actually uses separate accounts and points domains that way.

When I tried to register, the register seemed to fail but when I retried it seemed to recognize me and declined the registration as it should if I already am registered. Yet I couldn't login.

I also tried to run a RSS import from the browser but it never returned. I'm thinking you have Pligg installs under Pligg installs in subdirectories and those are running yet possibly not updating a database anywhere or updating the wrong database.

You need more help to fix it than I think I can give you. Maybe it's time to 'redo from start' or at least run the installer on what you do have. And start out with a fresh new htaccess from the distro in the pligg installs.

You also need to install an index file in the server root directory. ASAP!

One thing I couldn't see was your control panel. What panel are you running? CPanel?

Anyway, keep the backups or whatever you have from the old server somewhere safe. I'll be around tomorrow for a bit then back Thursday night. Gone Friday unless things change but I'll be back Sat. and Sun. maybe I can help you then.

Are you sure you can't just get the suspension lifted at Hostgator or where ever that was?
0
Question: rss importer causing high load on server getting 500 internal server error
Answer: provided by jhawkin 318 days ago
- 0 + Didn't realize this was a running site move. Dang spammers!!

I really can't see where the lack of memory is the problem but more memory might help overall.

Worries me that individual feeds won't run. Can you post a simple new test message to the site?
2
Question: disable admin moderation for submitted stories for specific user
Answer: provided by jhawkin 328 days ago
- 0 + I had considered that myself but decided that any RSS Feed should be considered trust worthy as the webmaster there should have done what he could to insure good content on his site which then would appear in his feeds to me..... So far I've only had to deal with two or three RSS stories myself.

Also, I thought the 'Number of votes to publish' in the config was the only place to change the published/unpublished with no moderation there. Did you set votes to zero? Minus Zero maybe?? I'm asking for my own edification.

Anyway, all my RSS goes to published right now by setting the votes number in RSS equal to or above the threshold to publish. You can send them to upcoming if you want your users to vote on them by reducing the votes and how you get them to moderated has me wondering......
2
Question: disable admin moderation for submitted stories for specific user
Answer: provided by jhawkin 323 days ago
- 0 + Yeah, but did you double check all the config settings and the RSS setup relating to 'votes' itself? I think the problem is there.
3
Question: Password length
Answer: provided by jhawkin 329 days ago
- 0 + Never gave this any thought but I bet there's a Javascript somewhere you could drop into the login template that would force a tougher Password according to your parameters and requirements.
3
Question: Password length
Answer: provided by jhawkin 328 days ago
- 0 + That will take care of New Registrations but not the old Users and Passwords.

I was thinking about an across the board fix using the built-in Pligg 'hooks' (if they are there) with stuffing in the JavaScript if you find one. That would get you through upgrades of software and maybe template changes, too.

Also, I was thinking you wanted more than just a length change..... A mix of caps, numbers, etc.
3
Question: Password length
Answer: provided by jhawkin 328 days ago
- 0 + Oh, yeah, if you do change just the length, don't forget to change the language file for the error. Else your users will see the current "Password Length" error which may confuse them if they already used 5 letters/numbers but the script requires more. They may give up instead of adding more characters.
2
Question: How does Pligg keeps track of users at and after login? Would like to integrate login with twitter.
Answer: provided by jhawkin 329 days ago
- 1 + Cookies!!! and the $_request variable. I'd just buy the Twitter Module myself But I'd buy the Facebook Module first!
2
Question: Pligg 404 Error
Answer: provided by jhawkin 329 days ago
- 0 + I just registered there and submitted a 'Test Message' No problem!!!!

Maybe you could tell us what you did to fix it.