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.
received http status 500 internal server error
-
smallcap
- Phoca Newbie

- Posts: 7
- Joined: 09 Jun 2010, 12:46
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: received http status 500 internal server error
The best way is looking to errorLog, if there is some error or try to enable debug mode or php error reporting
https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan
https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan
If you find Phoca extensions useful, please support the project
-
ladbroke
- Phoca Newbie

- Posts: 4
- Joined: 08 Jul 2010, 12:26
Re: received http status 500 internal server error
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]
[edited by admin - no problem in the list]
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: received http status 500 internal server error
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
Jan
If you find Phoca extensions useful, please support the project
-
ladbroke
- Phoca Newbie

- Posts: 4
- Joined: 08 Jul 2010, 12:26
Re: received http status 500 internal server error
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!
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: received http status 500 internal server error
Just make some php file and run it on your server. The php should include some php error, like
index.php
You should get the following error:
Parse error: parse error, expecting `','' or `';'' in ... index.php on line 3
Jan
index.php
Code: Select all
<?php
echo "Something"
echo "Something"
?>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

- Posts: 4
- Joined: 08 Jul 2010, 12:26
Re: received http status 500 internal server error
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
Fatal error: Call to undefined method: jsite->rend() in /homepages/19/d318156179/htdocs/wedding/index.php on line 79
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: received http status 500 internal server error
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, ...

If you find Phoca extensions useful, please support the project
-
ladbroke
- Phoca Newbie

- Posts: 4
- Joined: 08 Jul 2010, 12:26
Re: received http status 500 internal server error
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!
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: received http status 500 internal server error
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
- 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