Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Blank page after moving to new server

Blank page after moving to new server

Views: 3,847

Results 1 to 13 of 13
1 Jul 2011, 4:44 AM
#1
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Blank page after moving to new server

Hi I am using Zencart 1.3.9h , I followed all of the instructions in moving to new server but main page is blank although I can access admin. What could be this issue?

1 Jul 2011, 4:59 AM
#3
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Re: Blank page after moving to new server

Thanks, I uploaded a few times using Filezilla... not sure whats causing the issue...

1 Jul 2011, 6:17 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Blank page after moving to new server

So, what's in the logs?

1 Jul 2011, 1:39 PM
#5
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Re: Blank page after moving to new server

myDEBUG-1309527440-305733.log has the following

[01-Jul-2011 09:37:20] PHP Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/35/d35903/htdocs/laworld/includes/classes/ssu/core.php on line 10

1 Jul 2011, 2:26 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Blank page after moving to new server

Clearly you have a problem with your addons. There's no "ssu" folder in original Zen Cart files.

5 Jul 2011, 8:14 PM
#7
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Re: Blank page after moving to new server

issue is with the PHP Memory trying to allocate on the server. For Shared Hosting Packages, PHP Memory is set to 30MB. If you check the logs file, you will get the following error below.

PHP Fatal error: Out of memory (allocated 15990784) (tried to allocate 19922944 bytes) in /homepages/35/d3590327/htdocs/m
eds/includes/classes/seo.url.php(1131) : eval()'d code on line 21846

also debug shows

PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /homepages/35/d3590327/htdocs/meds/fix_cache_key.php:43) in /homepages/35/d3590327/htdocs/meds/includes/functions/sessions.php on line 114

is this a server issue or the mod?

appreciate your help

6 Jul 2011, 3:43 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: Blank page after moving to new server

The memory issue you mentioned is in relation to an attempt to use seo.url.php ... which seems to be part of the ssu mod, which I already mentioned previously appears to be your problem.

The other message, related to fix_cache_key.php is normal and harmless. While undesirable and confusing when it shows in your logs, it's safe to ignore that particular error message when using that particular file. And, since you only ever use that thing once on your site after moving it, it's harmless.

7 Jul 2011, 9:25 PM
#9
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Re: Blank page after moving to new server

I also have another issue Fatal error: Out of memory (allocated 26476544) (tried to allocate 32 bytes) in /homepages/XX/d352137/htdocs/meds/includes/classes/db/mysql/query_factory.php on line 476

When I try to edit a product.. What can be causing this, is this server related?

thanks

7 Jul 2011, 9:33 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: Blank page after moving to new server

Yes, PHP "out of memory" errors are a problem with your server configuration. Talk to your host.

25 Dec 2012, 5:15 PM
#11
bypill avatar

bypill

New Zenner

Join Date:
May 2012
Posts:
4
Plugin Contributions:
0

Re: Blank page after moving to new server

Hi,

I moved zend cart from subfolder to root and got the blank page. Here is log record:
[25-Dec-2012 17:04:38 UTC] PHP Warning: file_exists(): open_basedir restriction in effect. File(C:/Inetpub/vhosts/bypill.com/httpdocsincludes/classes/class.base.php) is not within the allowed path(s): (C:/Inetpub/vhosts/bypill.com;C:\Windows\Temp) in C:\Inetpub\vhosts\bypill.com\httpdocs\includes\autoload_func.php on line 60
[25-Dec-2012 17:04:38 UTC] PHP Warning: file_exists(): open_basedir restriction in effect. File(C:/Inetpub/vhosts/bypill.com/httpdocsincludes/classes/class.notifier.php) is not within the allowed path(s): (C:/Inetpub/vhosts/bypill.com;C:\Windows\Temp) in C:\Inetpub\vhosts\bypill.com\httpdocs\includes\autoload_func.php on line 60
[25-Dec-2012 17:04:38 UTC] PHP Fatal error: Class 'notifier' not found in C:\Inetpub\vhosts\bypill.com\httpdocs\includes\autoload_func.php on line 79

How to fix it?

Thank you.

Happy holidays.

25 Dec 2012, 6:36 PM
#12
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Blank page after moving to new server

Which version of ZC?
What is the directory path in your includes/configure.php &youradmin/includes/configure.php files?

25 Dec 2012, 7:57 PM
#13
drbyte avatar

drbyte

Sensei

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

Re: Blank page after moving to new server

You removed the trailing slash from the end of the definition for DIR_FS_CATALOG and/or you took too much out of DIR_WS_CATALOG and left it as '' instead of '/'.