Icy Phoenix

     
 

Bug In Avatar

Category: Profile
Version Icy Phoenix 2.0 Beta (PHP 5.x - MySQL 5.x)
Description
andrea75
Fri 07 Oct, 2011 09:29
Choosing an avatar from the gallery and pressing ENTER to confirm that, you get the following error:

Fatal error: Call to a member function sql_escape() on a non-object in /includes/usercp_avatar.php on line 84
Reply
Mighty Gorgon
Wed 12 Oct, 2011 20:32
I solved in this way:

OPEN includes/usercp_avatar.php
FIND
Code: [Hide] [Select]
global $config;

REPLACE WITH
Code: [Hide] [Select]
global $config,$db;
Details Assigned To: Mighty Gorgon
Priority: Very Low
Status: Fixed
Fixed: Yes