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
 



   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 1.1509s (PHP: 2% SQL: 98%)
SQL queries: 50 - Debug Off - GZIP Enabled