OSCommerce shows permission error in suPHP


suPHP is enabled in all of our cPanel servers. If you are running OSCommerce in your hosting account, please do the following changes to disable the permission warning message.

Down at the bottom of includes/application_top.php you can disable the warning by modifying the line of code highlighted in red color.


define('WARN_INSTALL_EXISTENCE', 'true');
define('WARN_CONFIG_WRITEABLE', 'true');
define('WARN_SESSION_DIRECTORY_NOT_WRITEABLE', 'true');
define('WARN_SESSION_AUTO_START', 'true');
define('WARN_DOWNLOAD_DIRECTORY_NOT_READABLE', 'true');

Read more about "What is suPHP?" here.