Archive for the ‘Script related errors and fixes’ Category

Joomla Error: “RG_Emulation is On” warning in my admin area.

Monday, November 5th, 2007

Joomla Error: “RG_Emulation is On” warning in my admin area.

Edit the file, globals.php, found in the root directory of your Joomla

then find this code:

define( ‘RG_EMULATION’, 1 );

And change the line to:
define( ‘RG_EMULATION’, 0 );

Notice the value change from 1 to 0.

OSCommerce error - Fatal error: Cannot re-assign $this in … /upload.php on line..

Monday, November 5th, 2007

OSCommerce Error - Fatal error: Cannot re-assign $this in … /upload.php on line ..

To fix this, edit the ‘upload.php’ file mentioned in the error message. Open the file and find the line that says:

// self destruct
$this = null;

Now edit it to:

// self destruct
// $this = null;
unset($this);

Basically comment out with // the $this = null; line and add the unset($this); line

Your admin panel should work fine.