Knowledgebase
Why after installing CDSEO am I getting: Notice: Undefined variable: current_area ?
Posted by Nick Poindexter on 04 March 2010 04:34 PM
Notice: Undefined variable: current_area in /var/www/vhosts/classd.ltd.uk/httpdocs/prepare.php on line X

This error indicates that you may not be up-to-date with your x-cart security patches, and you will want to login to your x-cart support desk and look for patches that have not yet been applied.

In the meantime you can fix this as follows:

Open prepare.php

FIND:

if ($current_area == "C") {

REPLACE with:

if (!defined("AREA_TYPE") || AREA_TYPE == "C") {

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: