Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

os commerce site keeps going down


grimdesigns

Recommended Posts

Posted

Not sure what the issue is. I've been going through forum topic after topic and search after search but it seems after I make an update to the site. It goes down unexpectedly. It comes back up after 15 minutes and goes back down. I thought maybe the site was hacked but I don't see any damage, no file changes, no crazy database entries, etc.

 

The site url is: http:// www.attacheclip.com

Posted

Garfield,

 

The link you provided does not load but I suspect the problem will be your hosting provider and not the fault of osCommerce.

 

 

 

Chris

Posted

Garfield,

 

The link you provided does not load but I suspect the problem will be your hosting provider and not the fault of osCommerce.

 

 

 

Chris

 

Thanks for your response Chris.

 

The link works now because I stopped making updates (just adding new product images) to the backend. Whenever I make an update, the site goes down for 15 minutes or so.

I also added a test.html page ( http://www.attacheclip.com/test.html ) which never goes down since it's not tied to oscommerce. I have been using this link when the site goes down to see if it's the hosting account or not and it has always loaded.

 

Garfield

Posted

Garfield,

 

Again, I am going to suggest it is a hosting problem, perhaps a configuration problem but since the database never loads my thoughts are hosting.

 

 

 

 

Chris

Posted

Garfield,

 

Again, I am going to suggest it is a hosting problem, perhaps a configuration problem but since the database never loads my thoughts are hosting.

 

 

 

 

Chris

 

Thanks again Chris,

 

I did think of the hosting issue but since I have several other sites on my host and they all work fine not to mention that the attacheclip.com site only goes down temporarily after I make an admin update, I thought it might be something else. Still, I will look into the host.

 

thanks

Posted

<?php

define('HTTP_SERVER', 'http://www.attacheclip.com');

define('HTTPS_SERVER', '');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', '');

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', '/home/content/a/t/t/attacheclip/html/');

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

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

 

define('DB_SERVER', '');

define('DB_SERVER_USERNAME', '');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', '');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

Posted
<?php
 define('HTTP_SERVER', 'http://www.attacheclip.com');
 define('HTTPS_SERVER', 'http://www.attacheclip.com');
 define('ENABLE_SSL', false);
 define('HTTP_COOKIE_DOMAIN', 'www.attacheclip.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.attacheclip.com');
 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/content/a/t/t/attacheclip/html/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 define('DB_SERVER', '');
 define('DB_SERVER_USERNAME', '');
 define('DB_SERVER_PASSWORD', '');
 define('DB_DATABASE', '');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

<?php
 define('HTTP_SERVER', 'http://www.attacheclip.com');
 define('HTTPS_SERVER', 'http://www.attacheclip.com');
 define('ENABLE_SSL', false);
 define('HTTP_COOKIE_DOMAIN', 'www.attacheclip.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.attacheclip.com');
 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/content/a/t/t/attacheclip/html/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 define('DB_SERVER', '');
 define('DB_SERVER_USERNAME', '');
 define('DB_SERVER_PASSWORD', '');
 define('DB_DATABASE', '');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

 

Okay I updated the config but it stopped the site from working. 20 minutes later, its back up again. This was updated via ftp. This is definitely some weird server updating issue.

Posted

Try putting this in an .htaccess file in your catalog root.

 

php_flag log_errors On

php_flag display_errors On

 

Then access the catalog and see if any errors are shown.

 

Ask your host for any php error log files.

 

 

After calling GoDaddy, they informed me that error logs were not setup so nothing will show up from previous errors but they turned it on now. Going back to DunWebs first replay, yes it was a hosting issue. Something to do with Fast CGI not working correctly but all is well now. Thanks everyone who chimed in.

Posted

Visit the link below:

 

How to Secure Your Site

 

Pay close attention to "SECURING THE ADMIN" - Yours is vulnerable.

 

It's easier to do a few security fixes now than to clean up a hacked store later.

 

And if you don't secure the admin your shop will be hacked.

 

It's just a question of when...

:o

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 >

Archived

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

×
×
  • Create New...