Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

column_left.php problem


CSPR

Recommended Posts

Ok, here's my problem:

 

I am trying to install a copy of a modified webshop. Sofar everything went great but I'm having a serious issue now. When I visit product_info.php something goes wrong in the left column. Here's the error:

 

Warning: include(includes/boxes/) [function.include]: failed to open stream: Success in /storage/mijndomein/users/102503/public/sites/www.geenwebwinkel.nl/includes/column_left.php on line 36

Warning: include() [function.include]: Failed opening 'includes/boxes/' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /storage/mijndomein/users/102503/public/sites/www.geenwebwinkel.nl/includes/column_left.php on line 36

 

Can anyone help me?

 

Regards.

Link to comment
Share on other sites

paste You config file.

 

either the catalog path is wrong or some other mistake.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 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', 'http://geenwebwinkel.nl'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, [url="https://localhost"]https://localhost[/url] - should not be empty for productive servers
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'geenwebwinkel.nl');
 define('HTTPS_COOKIE_DOMAIN', '');
 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', '/storage/mijndomein/users/102503/public/sites/www.geenwebwinkel.nl/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'db.geenwebwinkel.nl'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'md102503db49723');
 define('DB_SERVER_PASSWORD', '**********');
 define('DB_DATABASE', 'md102503db49723');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

 

Blacked out the password ;)

Link to comment
Share on other sites

Since both errors are in /includes/column_left.php, post the contents of THAT file.

 

Maybe it will turn up something.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

<?php
/*
 $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2003 osCommerce

 Released under the GNU General Public License
*/


 require(DIR_WS_BOXES . 'buttons.php');

 require(DIR_WS_BOXES . 'shopping_cart.php');

 require(DIR_WS_BOXES . 'categories.php');

 require(DIR_WS_BOXES . 'search.php');

 if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

 if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

 if (isset($HTTP_GET_VARS['products_id'])) {
   if (tep_session_is_registered('customer_id')) {
     $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");
     $check = tep_db_fetch_array($check_query);
     if ($check['count'] > 0) {
       include(DIR_WS_BOXES . 'best_sellers.php');
     } else {
       include(DIR_WS_BOXES . '');
     }
   } else {
     include(DIR_WS_BOXES . '');
   }
 } 

 require(DIR_WS_BOXES . 'information.php');

?>

 

Here you go, the weird thing is, the EXACT same file does work properly on another, identical site. So it seems to be depending on the host / domain side...

Link to comment
Share on other sites

Here's your problems:

 

include(DIR_WS_BOXES . '');
}
} else {
include(DIR_WS_BOXES . '');

Both of those includes.

 

They have no file name!

 

Exactly what are you trying to accomplish there?

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Here's your problems:

 

include(DIR_WS_BOXES . '');
}
} else {
include(DIR_WS_BOXES . '');

Both of those includes.

 

They have no file name!

 

Exactly what are you trying to accomplish there?

:unsure:

 

Hmm, probably I was trying not to show anything ;) Problem solved, thanks!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...