Page 1 of 1
[Solved] Moved CMSMS folder to root and now blank page?
Posted: Thu Nov 13, 2008 10:54 pm
by jishy
Hi guys,
I have been working on a company website and for development purposes, I set the site up in a subdirectory. Now the site is done, I wanted to move it to the root directory. I have followed the instructions given here
http://forum.cmsmadesimple.org/index.php/topic,2604.msg14318.html#msg14318.
So I have all the permissions set right, changed the config.php file to point to the new location and cleared the cache and all I get is a completely blank index page! I am running mySQL 4.0.21 & PHP 4.4.1 if that helps. I can get into the admin panel with no troubles at all. I can't get access to the server error logs which is a pain.
Any help would be appreciated
EDIT: Forgot to say I'm running CMSMS 1.4.1 and I get mostly all ticks in the system info page. I get an exclamation mark for the PHP and MySQL versions, but like I said, it ran perfect before I moved the install.
-Josh
Re: Moved CMSMS folder to root and now blank page?
Posted: Fri Nov 14, 2008 4:56 am
by Nullig
Can you post a link to the site?
Is there a .htaccess file in the root of the site?
Nullig
Re: Moved CMSMS folder to root and now blank page?
Posted: Mon Nov 17, 2008 8:34 am
by jishy
Contacted the host (after the server died) and turns out it was a php.ini file killing it. I was trying to define my session save location which wasn't letting CMSMS run. Dodgy server if you ask me.
Cheers,
Josh
Re: Moved CMSMS folder to root and now blank page?
Posted: Thu Nov 20, 2008 9:12 pm
by newseed
jishy wrote:
Contacted the host (after the server died) and turns out it was a php.ini file killing it. I was trying to define my session save location which wasn't letting CMSMS run. Dodgy server if you ask me.
Cheers,
Josh
I like to know how it was solved. I moved my site from my local computer server over to a live host server. I simply moved all the files to the new location, upload my database, and then preview. The problem is that it's a blank page. I can acess the admin area which works flawlessly. I just can't the live site. Note, I viewed the source of that page and found that it has all my custom html codes but no references of content which may have something to do with smarty tags setting?
Please advise.
Re: [Solved] Moved CMSMS folder to root and now blank page?
Posted: Fri Nov 21, 2008 1:57 am
by jishy
So when you go to your CMSMS website it's blank but it's still got html code or what?
My issue was that when I went to the index.php page there was no title, no html, just a blank reponse. I had a php.ini file in the directory because in the CMSMS installer, it was complaining about where the sessions were being saved (no write) so I wanted to fix it up. Strangest thing is that sessions files were still being created/written to in the folder I set up when I opened the index page. The admin panel worked flawlessly.
It was as simple as removing the php.ini file I had in my directory and it started working fine.
Make sure your permissions are set right and try clearing the cache by going to the Site Admin menu -> Global Settings -> Clear Cache. Also check your system information (also in Site Admin menu) and see if you've got all the green ticks.
Just a note that my php.ini file only had one line in it regarding sessions save path.
And on another note, I had the same php.ini file when I tested the website on my own server with no troubles whatsoever.
Hope that helps.
Re: Moved CMSMS folder to root and now blank page?
Posted: Sat Nov 22, 2008 6:24 pm
by Pierre M.
newseed wrote:
I moved my site from my local computer server over to a live host server. I simply moved all the files to the new location, upload my database, and then preview. The problem is that it's a blank page. I can acess the admin area which works flawlessly. I just can't the live site. Note, I viewed the source of that page and found that it has all my custom html codes but no references of content which may have something to do with smarty tags setting?
Please give more context information. Admin "works flawlessly" => System Info. Monitor your http logs while triggering your issue.
Pierre M.