Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

missing /


Guest

Recommended Posts

Posted

Hi.

when i am trying to install the payment modual

i see:

 

/home/linu1771/public_html/softwareincludes/modules/payment/

 

there should be a / between the words software and includes.

 

where do i fix this?

Thank you for your help!

Posted

in your configure.php file in the catalog/includes

Posted

where?

 

 

define('HTTPS_COOKIE_DOMAIN', '');

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

define('HTTPS_COOKIE_PATH', '');

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

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', '');

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

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

 

 

?????

Posted

John misspoke. It would be admin/includes/configure.php not catalog (although you may have the same issue there). You need to find

  define('DIR_WS_CATALOG', '/catalog/');
 define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

Your catalog should probably be set to '/software/', but it's hard to tell without the HTTP_SERVER and other lines. In any case DIR_WS_CATALOG should start and end with a / (can even be the same / if your store is in the web site root).

 

Hth,

Matt

Always back up before making changes.

Posted

you are also missing the path for this define in the catalog/includes/configure.php code that you have posted

define('DIR_FS_CATALOG', '');

notice the '' with nothing between the quotes

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

ok.

thank you for the help.

made the changes.

now every page view says:

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/linu1771/public_html/linux_software/includes/configure.php:58) in /home/linu1771/public_html/linux_software/includes/functions/sessions.php on line 67

 

 

i undid the change and it still says the error.

 

keep in mind the session error was not there before.

i did not even touch any session command.only the sugested change was made.

Posted

this is answered in the knowledge base, you most likely have some white space in one of the files, the includes/configure.php . ..

Posted

could not find any white space

could not find article on white space or sessions relevant to this in Knowledge base.

Posted

John,

I stand corrected. There was an empty line at the end. Thank you very much for your help.

Archived

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

×
×
  • Create New...