Forums / Upgrading to 1.5.x / white page for website

white page for website

Views: 1,055

Results 1 to 5 of 5
10 Mar 2014, 6:46 PM
#1
handsun avatar

handsun

New Zenner

Join Date:
Mar 2014
Location:
Florida
Posts:
8
Plugin Contributions:
0

white page for website

I upgraded from 1.38a to 1.51 with the official upgrade process, Admin works but the site is blank, php version is 5.3, I have two errors in cache
[10-Mar-2014 17:52:44 UTC] PHP Warning: require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxx/public_html/a/index.php on line 43
[10-Mar-2014 17:52:44 UTC] PHP Warning: require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxx/public_html/a/index.php on line 43
[10-Mar-2014 17:52:44 UTC] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'DIR_WS_TEMPLATEStemplate_default/common/html_header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/a/index.php on line 43

It looks like there should be a space or slash or something between the two templates here, but I don't think I created that error in configure.php DIR_WS_TEMPLATEStemplate

site is here:http://teamparalegal.com/a/

10 Mar 2014, 6:57 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

Re: white page for website

Please post the first couple of lines of your /includes/configure.php file, from the define for HTTP_SERVER through the define for DIR_WS_HTTPS_CATALOG.

10 Mar 2014, 7:19 PM
#3
handsun avatar

handsun

New Zenner

Join Date:
Mar 2014
Location:
Florida
Posts:
8
Plugin Contributions:
0

Re: white page for website

define('HTTP_SERVER', 'http://teamparalegal.com');

define('HTTPS_SERVER', 'https://teamparalegal.com');

define('HTTP_CATALOG_SERVER', 'http://teamparalegal.com');

define('HTTPS_CATALOG_SERVER', 'https://teamparalegal.com');

// secure webserver for admin? Valid choices are 'true' or 'false' (including quotes).

define('ENABLE_SSL_ADMIN', 'false');

// secure webserver for storefront? Valid choices are 'true' or 'false' (including quotes).

define('ENABLE_SSL_CATALOG', 'false');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!

// * DIR_WS_* = Webserver directories (virtual/URL)

// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)

$t1 = parse_url(HTTP_SERVER);$p1 = $t1['path'];$t2 = parse_url(HTTPS_SERVER);$p2 = $t2['path'];

define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '-', $p1) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');

define('DIR_WS_CATALOG', '/a/');

define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '-', $p2) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');

define('DIR_WS_HTTPS_CATALOG', '/a/');

10 Mar 2014, 7:52 PM
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

Re: white page for website

That's the information from /YOUR_ADMIN/includes/configure.php; how about the store-side version from /includes/configure.php?

10 Mar 2014, 10:10 PM
#5
handsun avatar

handsun

New Zenner

Join Date:
Mar 2014
Location:
Florida
Posts:
8
Plugin Contributions:
0

Re: white page for website

Thank you for your insight, I had mistakenly uploaded that file under includes/. ! :( I have the site live now, but I am unable to change templates now, not even to the Green one. The original installation had a custom template, and I cannot change it. I have uploaded a premium template ##########, which I was able to easily install on a fresh 1.51 installation in another folder, but in this site, the old template will not budge. http://teamparalegal.com/a/ Its not really an issue with ########## as I mentioned, I cannot even change over to Green.