Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

blank page and PHP error


vichon

Recommended Posts

I moved my site from /catalog/ to the root. When I go to https://alextechstore.com/admin - I get prompted and then everything works fine. However, when I go to just https://alextechstore.com to view the catalog, I get a blank page. I also get the following when I look at the apache error log:

 

[Wed Oct 25 21:56:43 2006] [error] [client x.x.x.x] PHP Parse error: syntax error, unexpected ';' in /pathtosomewhere/alextechstore.com/httpdocs/includes/configure.php on line 20

 

Here is my /includes/configure.php

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

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

define('HTTP_SERVER', 'https://alextechstore.com');

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

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'alextechstore.com');

define('HTTPS_COOKIE_DOMAIN', 'alextechstore.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/';

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/pathtosomewhere/alextechstore.com/httpdocs/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

If nothing is wrong here, what else could it be?

 

Thanks!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...