Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

error http - 500
https://www.tinywebgallery.com/forum/viewtopic.php?f=13&t=3785
Page 1 of 1

Author:  stampatello [ 26. Jan 2015, 15:23 ]
Post subject:  error http - 500

Hi all and sorry for my bad English.
I have two problems:
1) I can’t see the remote folder in flash uploader (and also the path is missing on the title zone as marked with a red rectangle)
2) when I try to upload an image, the progress bar is ok, but at the end of the process I get the “http-500” error
I attached a screenshot.
Attachment:
error.jpg
error.jpg [ 38.73 KiB | Viewed 19047 times ]


I have the same behavior if I use backend and also if I use frontend.
This is the first installation.
I’m using Joomla 2.5.24 and JFUploader 3.2.1
I already tried with tfu_faq_1 but I can’t resolve the problem.
I haven’t any tfu.log file and I uploaded images without using any firewall (but I don’t know my internet service provider has…..)
Many thanks for any help.

Author:  TinyWebGallery [ 26. Jan 2015, 16:15 ]
Post subject:  Re: error http - 500

Error 500 is a server error. These are reported to the server error log.
Have you access to this file?

Best, Michael

Author:  stampatello [ 26. Jan 2015, 17:05 ]
Post subject:  Re: error http - 500

Do you mean the "apache web server" log file?
Or php log file?
Please can you tell me more about these file?
At the moment I don't know how to retrieve these logs.
Any other solution?
If there aren't other solutions, I will ask my friends if they can teach me how to retrieve these log file and i will post as soon as possible (maybe 4 or 5 days.....).
Many thanks.

Author:  TinyWebGallery [ 26. Jan 2015, 17:34 ]
Post subject:  Re: error http - 500

apache error log file is the one you need. Many hosters offer that you download the last e.g. 500 lines of this file.

Have you enabled the full debug? Because you maybe get some additional infos there. Getting some infos why the server listing does not work would be the first step.

Best, Michael

Author:  stampatello [ 26. Jan 2015, 18:14 ]
Post subject:  Re: error http - 500

Now I enabled the following options:
Enable upload debug
Enable enhanced debug
and I uploaded an image again, but the file tfu.log is not present because I checked into:
Info / Limits / Register page and there was "No debug found"
via ftp on tfu remote directory but there isn't any log file.

If you need it I will try to get the apache error log file, but I think I will take some days.

Author:  TinyWebGallery [ 26. Jan 2015, 18:46 ]
Post subject:  Re: error http - 500

but if you call tfu_login.php directly you don't get an error?

Best, Michael

Author:  stampatello [ 26. Jan 2015, 19:00 ]
Post subject:  Re: error http - 500

I called the tfu_login.php in my browser and this is the answer:

"You server is configured properly to access the needed files of JFU.
Please go to the Joomla Administration of JFU to see your server limits."

Author:  TinyWebGallery [ 26. Jan 2015, 21:23 ]
Post subject:  Re: error http - 500

then you need to check the server log file what is causing the http 500

Author:  stampatello [ 26. Jan 2015, 23:36 ]
Post subject:  Re: error http - 500

I tried to upload file from another computer from another network and finally i get an error in the Info / Limits / Register page and this is the log:

01.26.2015 17:58:37 - Config call, illegal direct access or missing session settings - your browser has to be closed to get a new session. Please check your session_save_path if you get this error all the time or create the folder session_cache in the tfu folder to activate the session workaround.
01.26.2015 18:01:43 - Config call, illegal direct access or missing session settings - your browser has to be closed to get a new session. Please check your session_save_path if you get this error all the time or create the folder session_cache in the tfu folder to activate the session workaround.
01.26.2015 18:23:14 - Config call, illegal direct access or missing session settings - your browser has to be closed to get a new session. Please check your session_save_path if you get this error all the time or create the folder session_cache in the tfu folder to activate the session workaround.
01.26.2015 18:23:17 - Config call, illegal direct access or missing session settings - your browser has to be closed to get a new session. Please check your session_save_path if you get this error all the time or create the folder session_cache in the tfu folder to activate the session workaround.
01.26.2015 18:23:19 - Config call, illegal direct access or missing session settings - your browser has to be closed to get a new session. Please check your session_save_path if you get this error all the time or create the folder session_cache in the tfu folder to activate the session workaround.
01.26.2015 18:23:26 - Config call, illegal direct access or missing session settings - your browser has to be closed to get a new session. Please check your session_save_path if you get this error all the time or create the folder session_cache in the tfu folder to activate the session workaround.

Any idea?

Author:  stampatello [ 27. Jan 2015, 10:16 ]
Post subject:  Re: error http - 500

I found in my php.ini there is the following parameter:
session.save_path = /tmp

Then I changed permission of /tmp from RWX R-X R-X to RWX RWX RWX

I tried upload again and i got a new error (not more http 500) the following:
"Errore Http 403/406: Copia il file .htaccess fornito nella directory di twg_flash_uploader.swf."

I created the .htaccess using the link in the upload page but now flash uploader doesn't work anymore: there is a warning pop-up with the message:
Attachment:
new error.jpg
new error.jpg [ 41.42 KiB | Viewed 19023 times ]



Any idea?
Thanks.

Author:  TinyWebGallery [ 27. Jan 2015, 10:28 ]
Post subject:  Re: error http - 500

Than most likely the command to disable mod_security are not allowed/recognized by your server.
You would have to ask your hoster how to disable mod_security for the folder where the .swf file is located.

Best,
Michael

Author:  stampatello [ 27. Jan 2015, 11:31 ]
Post subject:  Re: error http - 500

In "Installation of the JFUploader" page there is written:
"There could be problem with the installation when your server does have safe mode active. To install JFU with safe mode properly please Use the safe mode patch"

I would ask:
safe mode and mod_security are the same?
installing patch can solve the problem?
where can I download this patch?

If you think this patch can't solve the problem, I will ask my hoster how to disable mod_security for the folder where the .swf file is located.

Many thanks.

Author:  TinyWebGallery [ 27. Jan 2015, 12:43 ]
Post subject:  Re: error http - 500

This are two different things. safe mode is something from php, mod_security a module of Apache.

Best, Michael

Author:  stampatello [ 5. Feb 2015, 13:28 ]
Post subject:  Solved: error http - 500

I solved the problem: I set 755 permission to ALL files and ALL directories under com_jfuploader and now it works!!
Best regards.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/