 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
March 10th, 2008, 01:55 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 100
| HTTP 500 internal Server Error
I moved my 5.3 Gallery to a new server over the weekend and it is now back up and working pretty well.
The only problem I have is that when I click on a photo from the Recent Photos or Most Popular Images blocks I get an HTTP 500 Internal Server Error.
When I click on on the a photo in either one of these blocks I am taken to: http://xlforum.net/photopost/showpho...3/limit/recent and I get the 500 error.
Is there a permission problem on a file somewhere?
|
| |
March 10th, 2008, 07:58 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,947
|
limit/recent
It is a server memory error or timeout. You can edit pp-inc.php and at the top below error_reporting line place these lines.
ini_set("memory_limit", "48M");
ini_set("max_execution_time", 0);
|
| |
March 10th, 2008, 11:50 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 100
|
Thanks for the reply.
I put this in the pp-inc.php Code: Content visible to verified customers only.
Still getting the 500 error.
|
| |
March 10th, 2008, 12:17 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 100
|
I notice when I click on any photo in the Recent Photos or Most Popular Images blocks the end of the URL is /limit/recent . If I remove this I am taken to the image.
The RANDOM IMAGES block works just fine.
|
| |
March 10th, 2008, 12:55 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,947
|
Correct you can modify the script so?
Try adding this to showphoto.php in bold where noted Code: Content visible to verified customers only.
|
| |
March 10th, 2008, 02:48 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 100
|
That did the trick. Thanks.
|
| |
March 10th, 2008, 04:54 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,947
|
Not a problem glad that worked for you
|
| |
December 2nd, 2008, 07:52 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Apr 2007
Posts: 45
| Quote:
Originally Posted by Chuck S limit/recent
It is a server memory error or timeout. You can edit pp-inc.php and at the top below error_reporting line place these lines.
ini_set("memory_limit", "48M");
ini_set("max_execution_time", 0); | isnt max execution time depended on the php configuration?
are we overding it here?
thanks,
Omid.
|
| |
December 2nd, 2008, 09:15 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,947
|
Omid yes the variables noted above are ones that can be overriden using an ini-set line in a php script.
|
| |
March 21st, 2009, 09:17 AM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2009
Posts: 11
| Quote:
Originally Posted by bplinson Thanks for the reply.
I put this in the pp-inc.php Code: Content visible to verified customers only.
Still getting the 500 error. | I ran into the same problem when trying to execute the install script. Install.php was CHMOD at 0666 instead of 0644. I could have sworn I changed it earlier...
Just thought that I would share if someone else runs into the same problem
Last edited by intelgio; March 21st, 2009 at 11:31 AM.
|
| |
March 21st, 2009, 01:21 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,947
|
Yes the 500 error on upload would usually always be the post I shared. if you get 500 error on any other file its usually permissions. |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 11:34 PM. | |