Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Page not loading - blank

Page not loading - blank

Views: 1,928

Results 1 to 16 of 16
30 Jan 2013, 10:37 PM
#1
cybernox avatar

cybernox

New Zenner

Join Date:
Jan 2013
Location:
India
Posts:
9
Plugin Contributions:
0

Page not loading - blank

Hello everyone,
I have a weird problem of template not loading completely.

Server info: 

Server OS: Linux 3.2.37        Database: MySQL 5.5.23-55
Server Date: 01/30/2013 16:32:20       Database Date: 01/30/2013 16:32:20
Server Up Time: 16:32:20 up 5 days, 15:25, 0 users, load average: 0.03, 0.01, 0.00     HTTP Server: Apache
PHP Version: 5.2.17 (Zend: 2.2.0)   PHP Memory Limit: 256M     PHP Safe Mode: Off
PHP File Uploads: On    Max Size: 64M     POST Max Size: 64M
Database Data Size: 196 kB     Database Index Size: 352 kB

My shop: http://tinyurl.com/alc4txv I'm posting a redirecting link to stop google from adding it to search results.

Here is the source of the loaded page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
<head>
<title>Zen Cart!, The Art of E-commerce</title>
<meta name="ROBOTS" content="All" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="ecommerce, open source, shop, online shopping " />
<meta name="description" content="Zen Cart! :  - ecommerce, open source, shop, online shopping" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="author" content="" />

<base href="http://##########_.com/shop/" />
<script type="text/javascript">var baseURL = "http://glamna.com/shop/"</script>
<link rel="stylesheet" type="text/css" href="includes/templates/slucky/css/global.css" />
<link rel="stylesheet" type="text/css" href="includes/templates/slucky/css/style_imagehover.css" />
<link rel="stylesheet" type="text/css" href="includes/templates/slucky/css/style_sheets.css" />
<link rel="stylesheet" type="text/css" href="includes/templates/slucky/css/style_theme-1.css" />
<link rel="stylesheet" type="text/css" media="print" href="includes/templates/slucky/css/print_stylesheet.css" />
<script type="text/javascript" src="includes/templates/slucky/jscript/jscript_SpryMenuBar.js"></script>
<script type="text/javascript" src="includes/templates/slucky/jscript/jscript_frmCheck.js"></script>
<script type="text/javascript" src="includes/templates/slucky/jscript/jscript_function.js"></script>
<script type="text/javascript" src="includes/templates/slucky/jscript/jscript_jquery-min.js"></script>
<script type="text/javascript" src="includes/templates/slucky/jscript/jscript_prototype.js"></script>
<script type="text/javascript" src="includes/templates/slucky/jscript/jscript_swfobject.js"></script>

After that swfobject.js line nothing else loads. Please help me out.

Its a fresh installation.

Thanks again.

30 Jan 2013, 10:47 PM
#3
cybernox avatar

cybernox

New Zenner

Join Date:
Jan 2013
Location:
India
Posts:
9
Plugin Contributions:
0

Re: Page not loading - blank

I'm going to through that thread right now. :) Thanks for prompt reply.

31 Jan 2013, 8:56 PM
#4
cybernox avatar

cybernox

New Zenner

Join Date:
Jan 2013
Location:
India
Posts:
9
Plugin Contributions:
0

Re: Page not loading - blank

First it was rss-feed error. sorted it. Now its SEO error. here is the log file:

[31-Jan-2013 14:52:09] PHP Fatal error: Cannot redeclare class SEO_URL in /home/####/public_html/######.com/shop/includes/classes/seo.url.php on line 28

Please help me out. I have reinstalled the mod and its correctly installed on the admin panel. I can access it in Admin panel.

31 Jan 2013, 9:14 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Page not loading - blank

Turn off the seo url mod until you have other things sorted

31 Jan 2013, 9:16 PM
#6
cybernox avatar

cybernox

New Zenner

Join Date:
Jan 2013
Location:
India
Posts:
9
Plugin Contributions:
0

Re: Page not loading - blank

how to turn it off ? I'm completely new to this.

31 Jan 2013, 9:23 PM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Page not loading - blank

how to turn it off ?
Most can be turned off in the admin

31 Jan 2013, 9:40 PM
#8
cybernox avatar

cybernox

New Zenner

Join Date:
Jan 2013
Location:
India
Posts:
9
Plugin Contributions:
0

Re: Page not loading - blank

I'm using Ultimate SEO 2.212>

How do I turn it off ?

31 Jan 2013, 10:11 PM
#9
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Page not loading - blank

cybernox:

... here is the log file:

[31-Jan-2013 14:52:09] PHP Fatal error: Cannot redeclare class SEO_URL in /home/####/public_html/######.com/shop/includes/classes/seo.url.php on line 28 ...
This typically indicates Zen Cart is trying to load "seo.url.php" twice. This typically only happens in two cases. 1) Leftover files a legacy (pre Zen Cart 1.5) version of "Ultimate SEO URLs" not removed before installing a newer version. 2) A bad merge when installing the plugin or upgrading from Zen Cart 1.3.x.

Make sure there is only one file in each auto_loaders folder loading "seo.url.php".

cybernox:

I'm using Ultimate SEO 2.212>
How do I turn it off?
"admin" -> "configuration" -> "ultimate seo". Set "Enable SEO URLs?" to false.

31 Jan 2013, 10:32 PM
#10
cybernox avatar

cybernox

New Zenner

Join Date:
Jan 2013
Location:
India
Posts:
9
Plugin Contributions:
0

Re: Page not loading - blank

ok .. I'm going through right now.

31 Jan 2013, 11:09 PM
#11
cybernox avatar

cybernox

New Zenner

Join Date:
Jan 2013
Location:
India
Posts:
9
Plugin Contributions:
0

Re: Page not loading - blank

Ultimate SEO 	
Title 	Value 	Action 
Ultimate SEO Version 	2.212 	 
Generate cPath parameters 	auto 	Info 
Rewritten URLs end with 	.html 	Info 
Format of rewritten URLs 	original 	Info 
Categories as directories 	short 	Info 
Enter PCRE filter rules for generated URLs 		Info 
Enter special character conversions 		Info 
Remove these characters from URLs 	punctuation 	Info 
Enable automatic redirects? 	false 	Info 
Enable SEO cache to save queries? 	false 	Info 
Enable product cache? 	true 	Info 
Enable categories cache? 	true 	Info 
Enable manufacturers cache? 	true 	Info 
Enable ez pages cache? 	true 	Info 
	
Ultimate SEO Version
Please make any necessary changes

Ultimate SEO Version
Installed Version

2.212

I dont see: "admin" -> "configuration" -> "ultimate seo". Set "Enable SEO URLs?" to false.

admin/includes/auto_loaders
overrides
config.core.php
config.security_patch_v138_20090619.php
config.seo.php
index.html

/includes/auto_loaders
config.seo.php
config.ultimate_seo.php = Now deleted and the store loading. 

SEO issue has been sorted lhungil.

Next comes :

[31-Jan-2013 17:06:31] PHP Fatal error:  Call to undefined method currencies::display_symbol_left() in /home/#####/public_html/####.com/shop/includes/templates/slucky/templates/tpl_modules_header_right.php on line 22
31 Jan 2013, 11:23 PM
#13
cybernox avatar

cybernox

New Zenner

Join Date:
Jan 2013
Location:
India
Posts:
9
Plugin Contributions:
0

Re: Page not loading - blank

on it DrByte.

never really understood how to use WinMerge

Then again DrByte: I see tpl_modules_header_right.php calling method currencies::display_symbol_left()

  1. Is there anyway to know where or in which file that method should be located ?

  2. Also what if I remove it completely, will be hinder any functionality ?

31 Jan 2013, 11:34 PM
#14
drbyte avatar

drbyte

Sensei

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

Re: Page not loading - blank

There is no tpl_modules_header_right.php in original Zen Cart code, so I can only guess what it's trying to do.
Chances are your error message is happening where that file is trying to output a price or a currency symbol for a currency pulldown or something. If you don't need that, then I wouldn't hesitate to remove it.

"currencies::" in the error message refers to a class named "currencies", which would normally be /includes/classes/currencies.php
And that gets loaded by includes/init_includes/init_currencies.php before currency features are then used in many other places in your site.

1 Feb 2013, 12:11 AM
#15
cybernox avatar

cybernox

New Zenner

Join Date:
Jan 2013
Location:
India
Posts:
9
Plugin Contributions:
0

Re: Page not loading - blank

Currency issue solved as well. Its a forwarded template and the original author isnt available. So I've to look through it to sort it myself.

Btw I just sorted "Reset All Box Sort Order to match DEFAULT Sort Order for Template"

I mean reset them to default do you think that will cause issues too ?

2 Feb 2013, 6:54 PM
#16
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Page not loading - blank

cybernox:

I dont see: "admin" -> "configuration" -> "ultimate seo". Set "Enable SEO URLs?" to false.
I'd guess something might still be not quite right with the installation of "Ultimate SEO URLs". That configuration setting is a core setting used in many places by the module and also by the installer (and saved in the database). If the setting is not present (or set to false) the module will not run (for safety reasons).

cybernox:

SEO issue has been sorted lhungil.
Glad to hear you found the extra file :)