Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error when linked to SSL pages


raceperformance

Recommended Posts

I am trying to setup a new shop with SSL on a shared server. All pages work correctly when I do not use ssl, but once I turn it on, I get the following error on every secure page. I was not able to find help doing a search.

 

Warning: main(): open_basedir restriction in effect. File(./includes/application_top.php) is not within the allowed path(s): (/vservers/colonialwinean) in /vservers/customcobaltcom/htdocs/catalog/create_account.php on line 13

 

Warning: main(includes/application_top.php): failed to open stream: Operation not permitted in /vservers/customcobaltcom/htdocs/catalog/create_account.php on line 13

 

Fatal error: main(): Failed opening required 'includes/application_top.php' (include_path='.:/opt/php/lib/php') in /vservers/customcobaltcom/htdocs/catalog/create_account.php on line 13

 

 

 

 

Here is my configure.php code:

 

 

 

define('HTTP_SERVER', 'http://www.customcobalt.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www138.safesecureweb.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

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

define('HTTPS_COOKIE_DOMAIN', 'https://www138.safesecureweb.com/customcobalt/');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/customcobalt/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', '/vservers/customcobaltcom/htdocs/catalog/');

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

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

Link to comment
Share on other sites

Try:

 

define('HTTP_SERVER', 'http://www.customcobalt.com'); 
define('HTTPS_SERVER', 'https://www138.safesecureweb.com/customcobalt'); 
define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'customcobalt.com');
define('HTTPS_COOKIE_DOMAIN', 'safesecureweb.com/customcobalt');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/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', '/vservers/customcobaltcom/htdocs/catalog/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

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)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...