Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

The website is all broken.. please help


seekz

Recommended Posts

Posted

All we wanted to do was make the paypal checkout page show the correct totals & item description, but instead we managed to somehow break the entire website and we cannot get into the admin bit of our site.

 

http://www.lprtoolmakers.com/

 

Click a link and look @ the message, I don't get it, I really don't get any of this .php crap I just wish there were simple options to edit simple things such as the paypal description.

 

SOS, please !

Posted

Edit your /html/includes/ and /html/admin/includes/ configure.php files.

 

 
configure.php

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

 define('DIR_FS_CATALOG', '/home/content/l/p/r/lprtools/html/');
-----
admin configure.php

 define('HTTP_SERVER', 'http://www.lprtoolmakers.com'); 
 define('HTTP_CATALOG_SERVER', 'http://www.lprtoolmakers.com');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false');
 define('DIR_FS_DOCUMENT_ROOT', '/home/content/l/p/r/lprtools/html/');
 define('DIR_WS_ADMIN', '/admin/');
 define('DIR_WS_CATALOG', '/');
 define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
 define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

 

After editing BOTH configure.php files, set permission to 444 via your webhost control panel.

 

Also, look for a configure.php file in /html/includes/ local and /html/admin/includes/ local folders. If you find them, rename them.

Posted

Edit your /html/includes/ and /html/admin/includes/ configure.php files.

 

 
configure.php

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

 define('DIR_FS_CATALOG', '/home/content/l/p/r/lprtools/html/');
-----
admin configure.php

 define('HTTP_SERVER', 'http://www.lprtoolmakers.com'); 
 define('HTTP_CATALOG_SERVER', 'http://www.lprtoolmakers.com');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false');
 define('DIR_FS_DOCUMENT_ROOT', '/home/content/l/p/r/lprtools/html/');
 define('DIR_WS_ADMIN', '/admin/');
 define('DIR_WS_CATALOG', '/');
 define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
 define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

 

After editing BOTH configure.php files, set permission to 444 via your webhost control panel.

 

Also, look for a configure.php file in /html/includes/ local and /html/admin/includes/ local folders. If you find them, rename them.

 

Thanks mate but the problem is we cannot access the files in our admin, it comes up with "Sorry, we can't find "http://www.lprtoolmakers.com/DIR_WS_ADMINfile_manager.php?selected_box=tools". Please check the spelling of the web address."

Posted

You'll need to use cPanel or FTP to fix the site.

 

You really shouldn't be using the File Mangler File Manager anyway.

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 >

Posted

You'll need to use cPanel or FTP to fix the site.

 

You really shouldn't be using the File Mangler File Manager anyway.

 

Yes but i can't even load cPanel up i get an error message when i click on an option in my cPanel????? It gives me an FTP option should i click on this??

Posted

The "cPanel" I'm referring to has nothing to do with osC.

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 >

Posted

The "cPanel" I'm referring to has nothing to do with osC.

 

Well what "cPanel" are you referring too mate?

Posted

cPanel is one of the linux hosting control panel software.

 

He means the hosting control panel.

Everyone is changing the world.

Everyone is a world.

For everyone needs my help, PM or email if I amn't online.

Archived

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

×
×
  • Create New...