Page 1 of 2

500 internal server error when module manager accessed...

Posted: Mon Apr 21, 2008 6:46 pm
by globalinfoco
Hi.

I'm getting a 500 - internal server error when I try to access "Module Manager".

I read in here to check file permissions, which I did...still getting the same error.

I uninstalled and reinstalled the existing module manager...still getting the same error.

I tried to upload another Module Manager, (v. 1.0 from the dev.cmsmadesimple.org site) but it says "error parsing .xml file".  I've double checked that I downloaded and tried to upload the right thing. 

I can upload and install other modules just fine, but can't use the module manager.  :-\

Any help is appreciated...

- John

Re: 500 internal server error when module manager accessed...

Posted: Tue Apr 22, 2008 1:30 pm
by Pierre M.
Hello,

lots of users are reporting things are working well. Hence your issue must be context related. Please describe your context (CMSms version, OS, install method, downloaded package, read manual, followed procedure, seen warnings, etc) to narrow it.
Have you found something usefull in the troubleshooting section ?

Pierre M.

Re: 500 internal server error when module manager accessed...

Posted: Tue Apr 22, 2008 4:06 pm
by globalinfoco
Thanks for your reply...

I am new to this so please excuse me if I miss some info you need...

CMSMS version 1.2.4

Current modules installed...

Blogs 0.3.0b2 Installed
CMSMailer 1.73.12 Installed
Has Dependents (FrontEndUsers)
Has Dependents (seminar)
FileManager 0.2.2 Installed
FrontEndUsers 1.4.2 Installed
Has Dependents (CustomContent,ShopMadeSimple)
MenuManager 1.5 Installed
ModuleManager 1.1.4 Installed
News 2.6.1 Installed
nuSOAP 1.0.1 Installed
Has Dependents (ModuleManager)
Printing 0.2.1 Installed
Search 1.4.1 Installed
seminar 1.2 Installed
ShopMadeSimple 0.1.1
ThemeManager 1.0.8
TinyMCE 2.2.7 Installed

Hosting info...

Linux hosting package
PHP 4.4.8
MySQL 4

I'm not sure what you mean by "installation method"...I uploaded with filezilla and followed the installation procedure.  I have another CMSms site on the same host under a different domain using the exact same setup (even the same theme) but it works fine.  The only things that are different are the installed modules.  The other one doesn't have:

ShopMadeSimple 0.1.1
CustomContent 1.5
FrontEndUsers 1.4.2
seminar 1.2

I have tried uninstalling these one by one and testing...same error.
I have tried uninstalling all of these at the same time...same error.

I did check the troubleshooting section and other documentation...including googling and searching these forums and found a few things to try, but none of them helped.  I tried the possible things I came across (like checking file permissions, uninstalling modules down to just what's included on a basic install, and a few other things...) but none of them worked. 

I don't get any other errors anywhere on the site other than the 500 internal server error when I'm trying to access the Module Manager.

Thanks for helping a newbie!

- John

Re: 500 internal server error when module manager accessed...

Posted: Tue Apr 22, 2008 4:20 pm
by Nullig
Do you have a .htaccess file in the root?
If so, what does it contain?

Are the paths correct in your config.php?

Nullig

Re: 500 internal server error when module manager accessed...

Posted: Tue Apr 22, 2008 5:20 pm
by globalinfoco
No htaccess in root.

I checked paths in config.php, and they all seemed to be correct.  It did not have my "webspace" folder in there, so I changed it.  When I went to "Global Settings" to try to clear cache...I got an error that says something like "cache is not writable, check file permissions or disable safe mode."  I checked file permissions on tmp/cache and they were 777.  I removed the place where I put the webspace folder in the paths in config.php and now it works fine and cache cleared with no problem. 

Checked again...same 500 error.

Thanks for your help.  If you can think up another idea or two, I'd like to try them...

- John

Re: 500 internal server error when module manager accessed...

Posted: Wed Apr 23, 2008 5:42 pm
by Pierre M.
Hi again John,

Thank you for reporting precisely. Your "install method" is FTP, with Filezilla.
Hopefully you "have another CMSms site on the same host under a different domain using the exact same setup (even the same theme)" which "works fine" => you know it can work.

May be there is no .htaccess (hidden file) in the root web folder, but in another place, like admin ?
Are phpinfo() of the two domains the same ?
Can you compare the two install ? (Filezilla has such a local-remote-compare feature)
The cache not writeable is very weird. Is safemode enabled ?
Is the public side OK ?

Pierre M.

Re: 500 internal server error when module manager accessed...

Posted: Sun Apr 27, 2008 3:43 am
by JohnnyB
The same thing happens to me in about 1 out of 3 installs and it comes down to the server.  The 2 fixes that I've found is making sure that the session path is there and writable and/or ioncreasing max memory limit.

More often than not it happens on servers that are running PHP from CGI instead of as an Apache Module.  For some reason, I have to specify an alternate session directory than what is set up by the host.  Use a custom php.ini file:

session.save_path = path/to/temp/directory

The path has to be the path to your account / the directory you want to use for sessions.

To increase max memory in a custom php.ini file:

memory_limit = 16M

depending on your hosts configurations, you might have to upload the php.ini file into any directory that needs the overrides.  So, upload it into the module manager directory.

Re: 500 internal server error when module manager accessed...

Posted: Wed May 14, 2008 8:28 pm
by lxne
Got the same problem with my upgraded cms made simple (from 1.0.3 to 1.2.5).
In 1.0.3 the modulemanager worked fine but now there is allways this 500 error.

Any suggestions would be appreciated.

Re: 500 internal server error when module manager accessed...

Posted: Wed May 14, 2008 8:35 pm
by Nullig
What is your php memory limit?

Nullig

Re: 500 internal server error when module manager accessed...

Posted: Wed May 14, 2008 8:42 pm
by lxne
Hi, thanx for the fast reply.
What is the easiest way to find this out?

Re: 500 internal server error when module manager accessed...

Posted: Wed May 14, 2008 8:53 pm
by Nullig
Create a new file called php-info.php

Edit the file and enter this:



Save it, and upload it to your server.

Then go to http://your.website.com/php-info.php

Look for memory limit in the output.

Nullig

Re: 500 internal server error when module manager accessed...

Posted: Wed May 14, 2008 8:57 pm
by lxne
Thanx again for the instructions.

memory_limit says 40M (locale and master value).

Re: 500 internal server error when module manager accessed...

Posted: Wed May 14, 2008 9:13 pm
by Nullig
Is safe mode on or off?

Nullig

Re: 500 internal server error when module manager accessed...

Posted: Wed May 14, 2008 9:15 pm
by lxne
register_argc_argv On On
register_globals On On
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir /usr/local/php/bin /usr/local/php/bin
safe_mode_gid Off Off
safe_mode_include_dir no value no value

Re: 500 internal server error when module manager accessed...

Posted: Wed May 14, 2008 9:17 pm
by Nullig
What is your session.save_path?

Nullig