received http status 500 internal server error

Phoca Gallery - image gallery extension
smallcap
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 09 Jun 2010, 12:46

received http status 500 internal server error

Post by smallcap »

trying to upload pictures in frontend brings this message. does somebody know why?

mysteriously some pictures went to the server, others not ( no 3MB-problem).

site hosted at '1und1'

in backend multiple javaupload works, the pictures are listed but not thumbnailed and not shown

i better speak geman
thx.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: received http status 500 internal server error

Post by Jan »

The best way is looking to errorLog, if there is some error or try to enable debug mode or php error reporting :idea:

https://www.phoca.cz/documents/16-joomla ... rs-on-site

Jan
If you find Phoca extensions useful, please support the project
ladbroke
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 08 Jul 2010, 12:26

Re: received http status 500 internal server error

Post by ladbroke »

I too am getting this error when users try to upload images from the front end. I turned on debug and added the suggested lines to the htaccess file. I was wondering if anyone can decipher the following debug output?

[edited by admin - no problem in the list]
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: received http status 500 internal server error

Post by Jan »

Hi, the info is Ok there, no problem seems to be in database, check if you get any error message in php (try to run some php script with error - to see if the php error messages are correctly displayed)

Jan
If you find Phoca extensions useful, please support the project
ladbroke
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 08 Jul 2010, 12:26

Re: received http status 500 internal server error

Post by ladbroke »

Wow, what a quick response thanks Jan! Can you explain a little how to run a php script with an error? Sorry if I'm being slow!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: received http status 500 internal server error

Post by Jan »

Just make some php file and run it on your server. The php should include some php error, like

index.php

Code: Select all

<?php
 echo "Something"
 echo "Something"
?>
You should get the following error:
Parse error: parse error, expecting `','' or `';'' in ... index.php on line 3

Jan
If you find Phoca extensions useful, please support the project
ladbroke
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 08 Jul 2010, 12:26

Re: received http status 500 internal server error

Post by ladbroke »

OK I hope I understood you correctly, I made a minor change to my index.php file, which I will change back, and I got the following error:

Fatal error: Call to undefined method: jsite->rend() in /homepages/19/d318156179/htdocs/wedding/index.php on line 79
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: received http status 500 internal server error

Post by Jan »

Then it seems the error reporting is displayed correctly :-( then there is a problem because if you get no error with error reporting on, it is in fact not possible to find the problem - maybe you can try to disable all differnt system and content plugins, change the template, etc. etc. Maybe try to install on some different server, ... :idea: :(
If you find Phoca extensions useful, please support the project
ladbroke
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 08 Jul 2010, 12:26

Re: received http status 500 internal server error

Post by ladbroke »

Very odd. I did a complete fresh install and all worked well, and I could upload pictures. Now however I get the same error message again. The pictures are actually on the server in the correct folder, but they don't show up as thumbnails on the site, just a circle with a line through it.......It's driving me mad!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: received http status 500 internal server error

Post by Jan »

Hi, it is displayed in case:

- images are not on the server
- the path to the images is wrong
- images cannot be read because of permissions or ownership

Jan
If you find Phoca extensions useful, please support the project
Post Reply