Moved directories and now I get a blank page

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
micsaund

Moved directories and now I get a blank page

Post 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
Last edited by micsaund on Mon Aug 14, 2006 1:41 am, edited 1 time in total.
micsaund

Re: Moved directories and now I get a blank page

Post 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
Moz
New Member
New Member
Posts: 4
Joined: Tue Jun 16, 2009 10:30 am

Re: Moved directories and now I get a blank page

Post 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.
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Moved directories and now I get a blank page

Post by tyman00 »

If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Moz
New Member
New Member
Posts: 4
Joined: Tue Jun 16, 2009 10:30 am

Re: Moved directories and now I get a blank page

Post by Moz »

tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Moved directories and now I get a blank page

Post 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.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Moz
New Member
New Member
Posts: 4
Joined: Tue Jun 16, 2009 10:30 am

Re: Moved directories and now I get a blank page

Post 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. :/
Moz
New Member
New Member
Posts: 4
Joined: Tue Jun 16, 2009 10:30 am

Re: Moved directories and now I get a blank page

Post by Moz »

Pff nevermind. I replaced old config.php once again and this time it just started to work. I feel like a dork  ::)
Locked

Return to “CMSMS Core”