Web Hosting - Dedicated Servers
Dedicated Server Hosting
Web Hosting eCommerce Hosting Reseller Hosting Reseller Hosting Dedicated Server
Register Your Domain Name Todaywww

PHP SafeMode ON register_global OFF

User Rating: / 1
PoorBest 

AUSWEBs new server security policies require PHP safe-mode ON and register global OFF
Below you can find some guidelines regarding fixing your shopping cart software

osCommerce

osCommerce will run with safe_mode on but you may get errors displaying on the screen, if you do, you need to make the following change

In includes/application_top.php change:

error_reporting(E_ALL & ~E_NOTICE);
to
error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);

Having register globals enabled is a very serious security issue; it allows an attacker to inject variables into the running PHP code. Just in case you don't realise, this is a VERY BAD THING.

The patch for oscommerce to run with register_globals off can be downloaded from http://www.oscommerce.com/community/contributions,2097

Please make sure you carefully read the README file as it contains important information about the 2 ways the patch can be applied.

The 'patch' consists of the following:

1/ A set of instructions (rather than a 'patch' file) that you may use to manually apply the changes to an existing code tree. This is useful if you already have modififications made to the OSC source code and you want to apply this patch on top.

2/ A set or pre-patched files. These files are EXACTLY the same as you would get if you applied the patch instructions to a clean copy of OSC. This is useful if you are performing a clean installation of OSC and therefore have no worries about just copying over existing files with new versions.

>>> You only need to use either the manual instructions or the pre-patched files; NOT both <<<

Cubecart

Cubecart will run with safe_mode on and register_globals off, but you will need to upgrade to the current version 3.0.12 [Security-Patched-1]

Zencart

Zencart will run with safe_mode on but you may get errors displaying on the screen, if you do, you need to make the following change

In includes/application_top.php change:

error_reporting(E_ALL & ~E_NOTICE);
to
error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);


Combined with AUSWEB's eCommerce Hosting and VPS Hosting, ZenCart is the perfect tool for your online eCommerce store.

To start your ZenCart eCommerce store today, click the order button below and follow our signup page!


Related news items:
Newer news items:
Older news items:




If you found this tutorial helpful, you can bookmark it with your favourite tracker.

Reddit!Del.icio.us!Google!Live!Facebook!Slashdot!Netscape!Technorati!Blinklist!Yahoo!Ma.gnolia!Squidoo!
 
< Prev   Next >
 
 
RedHat Linux
cPanel Hosting
plesk windows
Fantastico SiteBuilder
 

AUSWEB Web Hosting PTY LTD © 2008 Network Info Data CenterPrivacy PolicySLA Terms and Conditions