|
We have identified a problem in the SEO contribution that is available for download from the osCommerce site that can potentially lock your site if you disable the module.
If you have the SEO contribution installed on your store and your unable to disable then this simple fix is for you.
In /catalog/includes/application_top.php locate:
application_top.php
// Ultimate SEO URLs BEGIN
include_once(DIR_WS_CLASSES . 'seo.class.php');
if (!is_object($seo_urls)) {
$seo_urls = new SEO_URL($languages_id);
}
// Ultimate SEO URLs END
and replace this with:
application_top.php
// Ultimate SEO URLs BEGIN
if(SEO_ENABLED == "true"){
include_once(DIR_WS_CLASSES . 'seo.class.php');
if (!is_object($seo_urls)) {
$seo_urls = new SEO_URL($languages_id);
}
}
// Ultimate SEO URLs END
You will now be able to disable the SEO module without your site freezing. |