Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PLEASE HELP!


LaurenElise

Recommended Posts

I dont know what happened but I went to visit my webpage to check something and suddenly all the images and colours have gone! Im a real novice at this stuff, but I didnt touch anything since last night. I edited some text on one of my extra pages and everything was working. Today I log all thats showing is a text version of my website

 

Click here to see for yourself

 

 

I've contacted my hosting company and waiting to hear back, but I really need some help! And Id really like to know what could cause such an error if I havent touched anything. All the files appear to be there, I also checked the modification dates incase something had been edited somehow but I am just stumped.

 

Any clues to what caused it or how I can fix it would be great!

Link to comment
Share on other sites

Can you check your catalog/includes/configure.php and make sure that your http server is set properly. It should be something like

 

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

 

and not

 

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

Link to comment
Share on other sites

Can you check your catalog/includes/configure.php and make sure that your http server is set properly. It should be something like

 

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

 

and not

 

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

 

I checked the config file and this is what I have

 

<?php
 define('HTTP_SERVER', 'http://www.seedbeading.com.au');
 define('HTTPS_SERVER', 'https://seedbeading.com.au');
 define('ENABLE_SSL', false);
 define('HTTP_COOKIE_DOMAIN', 'seedbeading.com.au');
 define('HTTPS_COOKIE_DOMAIN', 'https://seedbeading.com.au');
 define('HTTP_COOKIE_PATH', 'seedbeading.com.au/');
 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/seedbead/public_html/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 define('DB_SERVER', 'localhost');
 define('DB_SERVER_USERNAME', 'username');
 define('DB_SERVER_PASSWORD', 'password');
 define('DB_DATABASE', 'database name');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

 

I havent edited any of the files, so its so weird that this would happen. The only thing I've edited lately is html and text in the admin for my extra pages. I have no idea how it would have suddenly stopped displaying the images. Normally I can do a bit of trouble shooting because I know Ive edited or added something but this has me stumped!

Link to comment
Share on other sites

What hosting provider are you on? Some providers change the default request type, see 1and1 for example.

 

 

There no config file in the includes/local folder , just a readme file. Im hosted with Internetwork solutions http://www.i-net.com.au/

 

At the moment I havent had a SSL certificate installed yet because I recently moved domains so I have to get a new certificate. They charged a bit to do this for me last time so Ive had to hold off on getting another certificate - but it is high on the priority list even though no banking/credit card details are required for payments (I use paypal and direct deposit) people are more likely to trust the site with one tho.

 

So Im guessing the issues arent related to SSL certificates, but Im willing to try anything at this point!

Link to comment
Share on other sites

Probably there has been made a mistake installing the certificate, until they solve it you could alter the ssl settings in your configure.php file to the no ssl settings.

 

define('HTTP_SERVER', 'http://www.seedbeading.com.au');
define('HTTPS_SERVER', 'http://www.seedbeading.com.au');
define('ENABLE_SSL', false);
define('HTTP_COOKIE_DOMAIN', 'seedbeading.com.au');
define('HTTPS_COOKIE_DOMAIN', 'seedbeading.com.au');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');

Link to comment
Share on other sites

If you haven't checked or tried this:

 

define('HTTPS_SERVER', 'http://www.seedbeading.com.au');

I would if I were you, like you were advised to in a previous reply.

 

Looking at the HTML source:

 

 <base href="https://seedbeading.com.au/">

That's your problem if you don't have SSL.

 

Looks like it's picking up the wrong address for whatever reason.

 

I've seen it happen a few times.

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

If you haven't checked or tried this:

 

define('HTTPS_SERVER', 'http://www.seedbeading.com.au');

I would if I were you, like you were advised to in a previous reply.

 

Looking at the HTML source:

 

 <base href="https://seedbeading.com.au/">

That's your problem if you don't have SSL.

 

Looks like it's picking up the wrong address for whatever reason.

 

I've seen it happen a few times.

 

Ah ok, Ill give that a try and see how I go. Thanks guys

Link to comment
Share on other sites

If that doesn't make a difference, please post what you have for these lines in your configure file:

 

  define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', ); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', '');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '');
 define('HTTPS_COOKIE_PATH', '');

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

If that doesn't make a difference, please post what you have for these lines in your configure file:

 

  define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', ); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', '');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '');
 define('HTTPS_COOKIE_PATH', '');

 

 

Yay! All fixed! Thanks again guys, I was freaking out there for a while!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...