Hi There.
I have looked around the CMS made simple forums with no joy on resolving this issue. I developed a cms made simple website for a client on my private internal server in the office.. I then had to transfer it to a clients web host (Fasthosts). I successfully created the database, imported the data, changed the config with the relevant paths and transferred the files across. I have no conflicting HT access files and the PHP memory limit is set to 128 Megabytes. My php memory limit in the config is set to 32M. I have also set permissions on the required folders which is supplied in the documentation. I am really confused about what is causing the internal server error.. I have identified it to something existing in the config.php (I think) As I can read and write to the database successfully.. All packages are installed on the server. Has anyone got any suggestions?
Thanks Guys.
New CMS Made Simple Install Error 500 - Internal Server Issue.
-
- Forum Members
- Posts: 18
- Joined: Wed Jun 23, 2010 8:37 am
Re: New CMS Made Simple Install Error 500 - Internal Server Issue.
I think you could be suffering from a similar issue to what I had yesterday.
I do not have a full answer for you at this time, but it is to do with how carriage returns are made in windows compared to unix. The code that windows uses to make a carriage return can contain an extra character that unix does not like. This means that a unix system sees an extra non understable character, causing your code to fail.
I suggest that you open the .htaccess and config.php files in notepad. Not notpad++ or any other editor. The error likely lies in these files as you have edited them. Ensure that ALL carriage returns are removed so that all your code exists on just one line (yes it will look ugly). This solved my error.
I'm still looking for a better solution, and still having an issue with my pretty urls that worked fine on my local install before I moved them to my server (OVH - which runs another CMSMS site with pretty URLs just fine).
P.S. Take backups of everything before you mess around. You are playing about with invisible carraige returns...
P.P.S you can search the web for common causes of the interal server 500 error. Its a more general error that does not seem to be limited to CMSMS. I'm still researching, but I have a more important issue to look at first...
I do not have a full answer for you at this time, but it is to do with how carriage returns are made in windows compared to unix. The code that windows uses to make a carriage return can contain an extra character that unix does not like. This means that a unix system sees an extra non understable character, causing your code to fail.
I suggest that you open the .htaccess and config.php files in notepad. Not notpad++ or any other editor. The error likely lies in these files as you have edited them. Ensure that ALL carriage returns are removed so that all your code exists on just one line (yes it will look ugly). This solved my error.
I'm still looking for a better solution, and still having an issue with my pretty urls that worked fine on my local install before I moved them to my server (OVH - which runs another CMSMS site with pretty URLs just fine).
P.S. Take backups of everything before you mess around. You are playing about with invisible carraige returns...
P.P.S you can search the web for common causes of the interal server 500 error. Its a more general error that does not seem to be limited to CMSMS. I'm still researching, but I have a more important issue to look at first...

Last edited by luminous on Fri Aug 13, 2010 9:16 am, edited 1 time in total.
-
- Forum Members
- Posts: 18
- Joined: Wed Jun 23, 2010 8:37 am
Re: New CMS Made Simple Install Error 500 - Internal Server Issue.
Thanks for your reply. I think im going to ask my client to transfer his server to a linux one. Hopefully this should sort it. I cannot manually amend directory permissions on the windows server (Does not support CHMOD). I noticed when I was transferring the files across though. That if I deleted the templates folder it told me "Folders X Y AND Z need Permission changes to work" But when I put the Template folder back it came up with an Internal Server error. It's mad how one folder change can have an impact that big.
-
- Forum Members
- Posts: 18
- Joined: Wed Jun 23, 2010 8:37 am
Re: New CMS Made Simple Install Error 500 - Internal Server Issue.
And yes your method worked for the internal server error! however now it is now stating I need to chmod the TMP directory Which i cant do via ftp on a windows based server 

Re: New CMS Made Simple Install Error 500 - Internal Server Issue.
I'm not sure on your setup. I use Filezilla on my windows box as my ftp client. I can then right click on a server directory and setup the permissions. It gives you a choice of either nice tick boxes to choose the permissions you want, or you can type in things like 404 to change permissions in the box underneath.