Zen Cart Logo
Forums / General Questions / Problems when moving a working site

Problems when moving a working site

Views: 556

Results 1 to 6 of 6
9 Apr 2011, 5:30 PM
#1
devlyn avatar

devlyn

New Zenner

Join Date:
Jan 2006
Location:
Texas
Posts:
64
Plugin Contributions:
0

Problems when moving a working site

Hi folks!

I've been combing threads for a while trying to find something similar to the problem I'm having and am just stuck. I am trying to move my site oddbodkin.com to my new server. I am building and testing to get everything right beforehand using an alternate domain name. odd-bodkin.com/shop

I am using zencart version 1.3.7 and it's been moderately modified. I will be upgrading after I get things moved and working, but I'm currently stuck. I have transferred the ftp files twice now (both downloaded and uploaded) to try to eliminate the possibility of a fragmented file. I moved the database by hand in small chunks and got no errors. The front end displays just fine. Everything looks like it's in place.

Until you try to log in to the admin or as a customer. On the front end, logging in as a customer results in a blank page and no indication that it has logged you in. On the admin side, the page is garbled and I see mostly code fragments, but no errors. You can see for yourself here: http://odd-bodkin.com/shop/adminODDBODKIN2009.

I also installed a fresh copy of zencart using the application install process on my plesk panel and used the config files from that to help me get all the paths correct in my 1.3.7 copy. That is working perfectly here: http://odd-bodkin.com/zencart

Install info:

Webserver = Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g mod_perl/2.0.3 Perl/v5.8.8
HTTP Host = odd-bodkin.com
Path_Translated = /var/www/vhosts/odd-bodkin.com/httpdocs/shop/null_zc_install/index.php(SCRIPT_FILENAME)
Server Free Disk Space = 54.99 GB
PHP O/S = Linux
PHP API Mode = apache2handler
PHP Max Execution Time per page = 30
Register Globals = OFF
MySQL Support = ON
MySQL Version = 5.0.51a-3ubuntu5.5 Click here for more info
PHP Version = 5.2.4-2ubuntu5.10
PHP Safe Mode = OFF
PHP Sessions Support = ON
PHP Session.AutoStart = OFF
PHP session.use_trans_sid = OFF
Current SQL Cache Folder = /var/www/vhosts/odd-bodkin.com/httpdocs/shop/cache -->Writeable
Suggested SQL Cache Folder = /var/www/vhosts/odd-bodkin.com/httpdocs/shop/cache
PHP magic_quotes_runtime setting = OFF
PHP GD Support = ON
GD Version = GD 2.0 or higher
PHP ZLIB Compression Support = ON
PHP OpenSSL Support = ON
PHP cURL Support = ON
PHP Upload Support = ON upload_max_filesize=2M; post_max_size=8M
PHP Upload TMP dir =

PHP Info is here: http://odd-bodkin.com/shop/null_zc_install/includes/phpinfo.php

Other install info is here: http://odd-bodkin.com/shop/null_zc_install/index.php?main_page=inspect&language=english

Please help! I'm just totally lost right now and I'm sure it's something I'm just not seeing.

9 Apr 2011, 7:31 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Problems when moving a working site

a) Troubleshooting causes of blank pages: https://www.zen-cart.com/tutorials/index.php?article=82
b) Your new server is likely incompatible with ZC 1.3.7 ... namely because it's using PHP 5.2+ but v1.3.7 was designed for PHP4. Best to upgrade to v1.3.9 on the old server, make sure it's working right there, and then move it all to the new server.

9 Apr 2011, 7:41 PM
#3
devlyn avatar

devlyn

New Zenner

Join Date:
Jan 2006
Location:
Texas
Posts:
64
Plugin Contributions:
0

Re: Problems when moving a working site

Well shoot. I was hoping that wasn't the case but I really need to upgrade anyways, so here I go. lol

Thanks for the help Dr Byte. :)

9 Apr 2011, 7:56 PM
#4
devlyn avatar

devlyn

New Zenner

Join Date:
Jan 2006
Location:
Texas
Posts:
64
Plugin Contributions:
0

Re: Problems when moving a working site

Oh wait.. it's a VPS. Couldn't I just install PHP4 to give it support for zencart 1.3.7? I'm not sure how to do that, but does anyone have an idea if it should be possible before I waste several hours looking for the how-to?

10 Apr 2011, 1:24 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Problems when moving a working site

If you have the ability to revert to a PHP version before 5.2.0, feel free.
But if you're gonna spend several hours figuring out "how", then why not spend that time on your 1.3.9 upgrade instead of throwing away those 2 hours?

10 Apr 2011, 7:26 PM
#6
devlyn avatar

devlyn

New Zenner

Join Date:
Jan 2006
Location:
Texas
Posts:
64
Plugin Contributions:
0

Re: Problems when moving a working site

DrByte:

If you have the ability to revert to a PHP version before 5.2.0, feel free.
But if you're gonna spend several hours figuring out "how", then why not spend that time on your 1.3.9 upgrade instead of throwing away those 2 hours?

Exactly what I decided to do. Have the 1.3.9 cart up and crawling. Still figuring out some bugs and what not but am enjoying some of the great new features of 1.3.9 immensely. Thanks for all your hard work. :)