Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot login or checkout


springroll

Recommended Posts

Posted

When I tried to login or checkout, I have the follow error but I don't know where to debug.

 

Warning: Unknown(): open_basedir restriction in effect. File(/home/spadinas/public_html/account.php) is not within the allowed path(s): (/home/securew/:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0

 

Warning: Unknown(/home/spadinas/public_html/account.php): failed to open stream: Operation not permitted in Unknown on line 0

 

Warning: Unknown(): open_basedir restriction in effect. File(/home/spadinas/public_html/account.php) is not within the allowed path(s): (/home/securew/:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0

 

Warning: Unknown(/home/spadinas/public_html/account.php): failed to open stream: Operation not permitted in Unknown on line 0

 

Warning: (null)(): Failed opening '/home/spadinas/public_html/account.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0

 

Does it look familiar to anyone? Which file is wrong? I am using shared SSL, if I disable shared SSL, then the error disappear. I am enabling it now (therefore seeing the error) and this is my code in includes/configure.php

 

 

  define('HTTP_SERVER', 'http://spadinashop.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://secure.webz11.com/~spadinas'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'spadinashop.com');
 define('HTTPS_COOKIE_DOMAIN', 'secure.webz11.com/~spadinas');
 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', '/home/spadinas/public_html');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

Any advise, please? Thanks.

Posted

Is the installation running with the Register Globals patch?

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted
Is the installation running with the Register Globals patch?

Pardon me, but how can I check whether "the installation running with the Register Globals patch"? Do I check with the hosting company (webzpro) or is it somewhere in the oscommerce files?

 

And if it does run with Register Global patch, then is there any fix for it? Thanks.

Archived

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

×
×
  • Create New...