Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

i really need some help here


hel8itch

Recommended Posts

ok problem after problem.first i wanted to make all ordering etc secure..which i think i may have done.i did anyway but due to these more recent problems i may have to sort that one again.

then i wanted to move my shop so it was in my main directory and the link would be

www.myshop.com instead of www.myshop.com/order

which i have now done but now....the links addon i installed the other day wont work.

everything works fine i just had to reinstall it to fix a few probs with it not showing up in the admin panel but whenever i try to add a link i get

The requested URL /links_submit.php was not found on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

i have tried everything i can think of pleeeeeeeeeeeeeeeeease can someone help me

 

and yes i have checked and links_submit is there

Link to comment
Share on other sites

yipeee theres someone awake...

 

yes i did and iv gone over and over and over them and cant find what is causing the prob..i also found alot of my products had somehow vanished since i moved the folders but iv just fixed that throu phpmyadmin but this link prob has got me stumped totaly

Link to comment
Share on other sites

includes/configure.php

 

 

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

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://4star-phones.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://4star-phones.co.uk'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', '4star-phones.co.uk');

define('HTTPS_COOKIE_DOMAIN', '4star-phones.co.uk');

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', '/home/xstartp/public_html/');

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

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

Link to comment
Share on other sites

admin/includes/configure.php

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

// define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

define('HTTP_SERVER', 'http://4star-phones.co.uk'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', 'http://4star-phones.co.uk');

define('HTTPS_CATALOG_SERVER', 'https://4star-phones.co.uk');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/xstartp/public_html/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', '/home/xstartp/public_html/admin/'); // absolute path required

define('DIR_WS_CATALOG', '///');

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

Link to comment
Share on other sites

According to your website (not the file you posted) you don't have a full ssl certificate - but one issued to sv2.mhlists.net - a shared ssl cert.

 

So you need to make some changes, and before you can complete them you will have to get the shared ssl pathway for your website from your hosting company. Until then, I would change this line:

 

define('ENABLE_SSL', true);

 

to this

 

define('ENABLE_SSL', false);

 

I would also change the http cookie path by removing the forward slash (no need for it as it's on your domain already)

 

I would remove the forward slash in the https cookie path as well, and remove your domain name from the https cookie domain, just leave the two apostrophies with nothing between them.

 

Lastly, change this line like so (until you find out your shared ssl pathway)

 

define('HTTPS_SERVER', '');

 

Vger

Link to comment
Share on other sites

well iv just changed all but "Lastly, change this line like so (until you find out your shared ssl pathway)

 

define('HTTPS_SERVER', '');"

 

in just the includes/configure.php file and now the link submitting works..?hmm odd..

so what do i need to make the ssl work.i may have the info already somewhere but i dont even know what im looking lol.

thanks for helping fix my link problem too

Link to comment
Share on other sites

What you need is the ssl shared pathway for your domain/account with your hosting company - and these vary in the way they are constructed according to your hosting companies setup. One sort of setup uses the domain tagged onto the ssl domain, and another method uses an account designator attached to the ssl domain e.g.

 

https://servername.hostingcompany.com/yourdomain.com

https://servername.hostingcompany.com/account name and number

 

When you have the info post back here and you'll get help to set it up.

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...