Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Notice: Constant HTTP_SERVER already defined


FrostyFred

Recommended Posts

Notice: Constant HTTP_SERVER already defined in /hsphere/local/home/xxxxxxxx/xxxxxxxx.com/commerce/catalog/admin4AlBe/includes/configure.php on line 13
Notice: Constant HTTP_CATALOG_SERVER already defined in /hsphere/local/home/xxxxxxxx/xxxxxxxx.com/commerce/catalog/admin4AlBe/includes/configure.php on line 14
Notice: Constant HTTPS_CATALOG_SERVER already defined in /hsphere/local/home/xxxxxxxx/xxxxxxxx.com/commerce/catalog/admin4AlBe/includes/configure.php on line 15
Notice: Constant ENABLE_SSL_CATALOG already defined in /hsphere/local/home/xxxxxxxx/xxxxxxxx.com/commerce/catalog/admin4AlBe/includes/configure.php on line 16
Notice: Constant DIR_FS_DOCUMENT_ROOT already defined in /hsphere/local/home/xxxxxxxx/xxxxxxxx.com/commerce/catalog/admin4AlBe/includes/configure.php on line 17

 

If you get the above error change application top

 

// Set the local configuration parameters - mainly for developers
 if (file_exists('includes/local/configure.php')) include('includes/local/configure.php');
// include server parameters
 require('includes/configure.php');

 

to

 

// Set the local configuration parameters - mainly for developers
 if (file_exists('includes/local/configure.php')) {
  include('includes/local/configure.php');
 } else {
// include server parameters
require('includes/configure.php');
 }

 

Now I need to find out why I get

 

Notice: Undefined index: id in /hsphere/local/home/xxx/commerce/catalog/includes/application_top.php on line 373
Notice: Undefined index: qty in /hsphere/local/home/xxx/commerce/catalog/includes/classes/shopping_cart.php on line 142
Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/xxx/commerce/catalog/includes/application_top.php:373) in /hsphere/local/home/commerce/catalog/includes/functions/general.php on line 29

 

When clicking on the buy button in product_info

 

commerce/catalog/product_info.php?cPath=23&products_id=180&action=add_product

 

Have I lost some indexes on my data?

 

TIA

 

FF

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...