Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help needed with installation


jvdmaas

Recommended Posts

Hi,

 

I downloaded the patched version from the contribution site so that Oscommerce will also work with Register_Globals= OFF.

 

But i keep getting the same error :

 

Fatal error: Failed opening required 'includes/functions/general.php' (include_path='/home/httpd/vhosts/awbcomputing.nl/httpdocs/new/') in /home/httpd/vhosts/awbcomputing.nl/httpdocs/catalog/install/includes/application.php on line 22

 

I don't even have a directory called "new" so this is very strange to me.

 

This is my config file (chmod = 777)

 

define('HTTP_SERVER', 'http://localhost');

define('HTTPS_SERVER', '');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', 'http://www.awbcomputing.nl/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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

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

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

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '*********');

define('DB_SERVER_PASSWORD', '******');

define('DB_DATABASE', '********');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

 

 

If anybody is willing to help me out i would be very gratefull.

Link to comment
Share on other sites

Hi,

 

I downloaded the patched version from the contribution site so that Oscommerce will also work with Register_Globals= OFF.

 

But i keep getting the same error :

 

Fatal error: Failed opening required 'includes/functions/general.php' (include_path='/home/httpd/vhosts/awbcomputing.nl/httpdocs/new/') in /home/httpd/vhosts/awbcomputing.nl/httpdocs/catalog/install/includes/application.php on line 22

 

I don't even have a directory called "new" so this is very strange to me.

 

This is my config file (chmod = 777)

 

  define('HTTP_SERVER', 'http://localhost');

  define('HTTPS_SERVER', '');

  define('ENABLE_SSL', false);

  define('HTTP_COOKIE_DOMAIN', '');

  define('HTTPS_COOKIE_DOMAIN', '');

  define('HTTP_COOKIE_PATH', '');

  define('HTTPS_COOKIE_PATH', '');

  define('DIR_WS_HTTP_CATALOG', 'http://www.awbcomputing.nl/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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

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

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

 

// define our database connection

  define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

  define('DB_SERVER_USERNAME', '*********');

  define('DB_SERVER_PASSWORD', '******');

  define('DB_DATABASE', '********');

  define('USE_PCONNECT', 'false'); // use persistent connections?

  define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

If anybody is willing to help me out i would be very gratefull.

 

 

 

Your configure.php file should look like this..

 

 

define('HTTP_SERVER', 'http://www.awbcomputing.nl');

define('HTTPS_SERVER', '');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'www.awbcomputing.nl');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/home/httpd/vhosts/awbcomputing.nl/httpdocs/new/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

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

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

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '*********');

define('DB_SERVER_PASSWORD', '******');

define('DB_DATABASE', '********');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

Ok i used your configuration

 

 

I get this :

 

Fatal error: Failed opening required 'templates/main_page/header.php' (include_path='/home/httpd/vhosts/awbcomputing.nl/httpdocs/new/') in /home/httpd/vhosts/awbcomputing.nl/httpdocs/new/install/templates/main_page.php on line 31

 

 

 

It's looks like the folders are not in their right place, but i copy the "templates folder to the "new" folder in which i now uploaded the store.

 

I get the Install page and i press "new installation" and i get this:

 

New Installation

 

Please customize the new installation with the following options:

 

Import Catalog Database:

Fatal error: Call to undefined function: osc_draw_checkbox_field() in /home/httpd/vhosts/awbcomputing.nl/httpdocs/new/templates/pages/install.php on line 24

Link to comment
Share on other sites

Ok i used your configuration

I get this :

 

Fatal error: Failed opening required 'templates/main_page/header.php' (include_path='/home/httpd/vhosts/awbcomputing.nl/httpdocs/new/') in /home/httpd/vhosts/awbcomputing.nl/httpdocs/new/install/templates/main_page.php on line 31

It's looks like the folders are not in their right place, but i copy the "templates folder to the "new" folder in which i now uploaded the store.

 

I get the Install page and i press "new installation" and i get this:

 

New Installation

 

Please customize the new installation with the following options:

 

Import Catalog Database:

Fatal error: Call to undefined function: osc_draw_checkbox_field() in /home/httpd/vhosts/awbcomputing.nl/httpdocs/new/templates/pages/install.php on line 24

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...