Page 1 of 1

Moved directories and now I get a blank page

Posted: Mon Aug 14, 2006 12:12 am
by micsaund
Hi all!

I've been using CMSMS 0.13 on a test subdomain that I've got and it's working great.  The URL/path was like this:

Code: Select all

URL: devel.domain.com
path: /home/user/devel.domain.com/<CMSMS files>
I want to move that to my "production" domain that looks like this:

Code: Select all

URL:  (www).domain.com
path: /home/user/domain.com/<CMSMS files>
The database info is the same for either and does not change.


The process I used:

1) Cleared the cache on the devel side.
2) I did a "cp -a devel.domain.com/* domain.com/" to copy all of the files/permissions.
3) Edited config.php to replace "devel.domain.com" with "www.domain.com" in URLs and remove "devel" from the paths  (I'm 99% sure I did this right - I'm comfortable editing paths/etc. in Unix)

When I try to go to the www.domain.com, where I'm expecting to see my CMSMS site, I get a completely blank page.  Looking at the page source, it has *nothing*.  No errors, no nothing.  I add "/admin" or "/admin/" to the end and again, I get a completely empty page.

Going back to devel.domain.com works great.

Any ideas on what's going-on?  Without any errors or anything, I'm at a loss to figure-out where things are going wonky.

Thanks!
Mike

Re: Moved directories and now I get a blank page

Posted: Mon Aug 14, 2006 3:21 am
by micsaund
FIXED.

Turns-out I had enabled PHP5 on the "devel" account but had PHP4 on the main account.

So, maybe this is something for the "solutions" area or something.  If you're getting a blank page with zero content, check the PHP version because it doesn't throw any type of error or warning.

Mike

Re: Moved directories and now I get a blank page

Posted: Tue Jun 16, 2009 5:02 pm
by Moz
How do you do that exactly? I'm having very similar problems with my first CMSMS site. I created my site to one server and moved it to another as I finished. Now I have blank pages on both admin and index. Dev server accepted SSH connection, new server doesn't.

I tried to install fresh CMSMS to a subfolder on new server and it worked just fine. I'm kinda newbie at this stuff but still pretty sure I did everything as instructed.

Re: Moved directories and now I get a blank page

Posted: Tue Jun 16, 2009 5:18 pm
by tyman00

Re: Moved directories and now I get a blank page

Posted: Tue Jun 16, 2009 6:59 pm
by Moz

Re: Moved directories and now I get a blank page

Posted: Tue Jun 16, 2009 7:43 pm
by tyman00
You didn't indicate that ;)

Because I am too lazy to post a bunch of links. Hit up the search at the top and search for "Blank Page" or use this link: http://www.google.com/search?q=blank+pa ... simple.org

Beyond that I can't help you much because you were to vague and didn't indicate what steps you have done to remediate it.

Re: Moved directories and now I get a blank page

Posted: Tue Jun 16, 2009 9:40 pm
by replytomk3

Re: Moved directories and now I get a blank page

Posted: Wed Jun 17, 2009 11:24 am
by Moz
tyman00 wrote: You didn't indicate that ;)

Because I am too lazy to post a bunch of links. Hit up the search at the top and search for "Blank Page" or use this link: http://www.google.com/search?q=blank+pa ... simple.org

Beyond that I can't help you much because you were to vague and didn't indicate what steps you have done to remediate it.
Using forum search got me digging this 3-year-old thread up. It's the only case that resembles mine. And yea I'm sorry that I was so brief with my explanation, just getting kinda frustrated myself since this is like 3rd day I'm struggling with this problem.

Okay so from the top:
I made a website using CMSMS(1.5.4) to my schools server (school.server/myaccount/mysite).
It uses following extensions:
-CG extensions
-Form builder
-Newsletter made simple
-Calendar

After site was finished, I moved it to server it's supposed to be published (www.server.com) using step-by-step tutorial you pasted earlier. I don't know much about this destination server except ftp and database accounts. It doesn't allow SSH connection so I used regular ftp (Filezilla) to move the site.

After moving process index page only showed some database path errors and I fixed them. After that it went blank and even source code doesn't show anything. Same for admin page. Everything should be there and images work if you use direct link. Then I installed fresh copy of CMSMS to a subfolder in new server (www.server.com/temp/) which worked like supposed to. I even copied config.php from that install and only replaced paths. No improvement. I also googled and tried some line of code that was supposed to increase memory limit, can't find it now.

I don't know what else to tell. Mostly I've tried to change paths again and again (the subfolder install gave this kinda path: /home/www.server.com/html/tmp/cache) and doublecheck everything. Getting kinda desperate. :/

Re: Moved directories and now I get a blank page

Posted: Wed Jun 17, 2009 12:28 pm
by Moz
Pff nevermind. I replaced old config.php once again and this time it just started to work. I feel like a dork  ::)