Filebrowser Error 500 on server when visiting files in admin

General questions about CMSimple
Post Reply
sonnur
Posts: 24
Joined: Sat Dec 29, 2012 6:54 pm

Filebrowser Error 500 on server when visiting files in admin

Post by sonnur » Sat Dec 29, 2012 9:46 pm

I get a error 500 page when visiting files(Filebrowser) in admin area on the server. http://mydomain.com/?&normal&userfiles

But when I tested it on my localhost I got no error. I have tried to change file permissions, but nothing seems to help.

Tata
Posts: 3587
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Filebrowser Error 500 on server when visiting files in admin

Post by Tata » Sat Dec 29, 2012 10:25 pm

CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

sonnur
Posts: 24
Joined: Sat Dec 29, 2012 6:54 pm

Re: Filebrowser Error 500 on server when visiting files in admin

Post by sonnur » Sat Dec 29, 2012 10:36 pm

Tata wrote:Only one of dozen explanations: http://pcsupport.about.com/od/findbyerr ... rerror.htm
Not much help... How do I debug this error? It is a bit strange it does work on localhost(XAMPP), but not when uploaded to a real webserver. Does it have something to do with .htaccess? Does the filebrowser require anything else than the userfiles are set to CMOD 777 or 754? I have also tried to look in the error.log but it does not change/updates when i visit the 500 error page. Does CMSimple have any error log or debugging method? When visiting the page with firefox it is blank, but with chrome is gives a error 500.

The server has the PHP version: 5.2.6-1+lenny16
On my local XAMPP server the PHP version is: 5.3.8

The CMSimple version is: 4.0.3 Released: 12/2012

Tata
Posts: 3587
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Filebrowser Error 500 on server when visiting files in admin

Post by Tata » Sat Dec 29, 2012 11:05 pm

If you use CMSimple_XH 1.5x, then you find _XHdebug.txt file in downloads/ folder. Rename it to XHdebug.txt and try to open the page. But I doubt if this will show anything, as the error is a serverside error. You probably need to ask yhour ISP, what may be wrong.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

sonnur
Posts: 24
Joined: Sat Dec 29, 2012 6:54 pm

Re: Filebrowser Error 500 on server when visiting files in admin

Post by sonnur » Sat Dec 29, 2012 11:16 pm

Tata wrote:If you use CMSimple_XH 1.5x, then you find _XHdebug.txt file in downloads/ folder. Rename it to XHdebug.txt and try to open the page. But I doubt if this will show anything, as the error is a serverside error. You probably need to ask yhour ISP, what may be wrong.
It does not show anything. I have looked in the php error log and found this:

Code: Select all

[Sat Dec 29 18:51:53 2012] [error] [client MYIUISS] Premature end of script headers: editorbrowser.php, referer: http://mydomain.com/plugins/tinymce/tiny_mce/plugins/advimage/image.htm
[Sat Dec 29 19:15:19 2012] [crit] [client MYIUISS] (13)Permission denied: /var/clients/client41/web139/web/plugins/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://mydomain.com/?&normal&xhpages
Just don´t know what is causing these errors or how to fix them.

sonnur
Posts: 24
Joined: Sat Dec 29, 2012 6:54 pm

Re: Filebrowser Error 500 on server when visiting files in admin

Post by sonnur » Sat Dec 29, 2012 11:37 pm

Seems like the error occour after line 50 in the file admin.php located in the filebrowser plugin folder.

sonnur
Posts: 24
Joined: Sat Dec 29, 2012 6:54 pm

Re: Filebrowser Error 500 on server when visiting files in admin

Post by sonnur » Sat Dec 29, 2012 11:53 pm

My solution was to use KCFinder as filebrowser instead works perfect! :) No errors.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Filebrowser Error 500 on server when visiting files in admin

Post by cmb » Sun Dec 30, 2012 1:46 am

Hi sonnur,

this server error could have been caused by one of the files (classes/editorbrowser ?) having had the wrong owner (in combination with suEXEC). If some (other) functionality doesn't work, please check that all related files are owned by the same user, who owns index.php.

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply