Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


comprofiler.php - mysql_affected_rows in line 1244
Date: 2006/05/12 20:47 By: tony Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 22
graphgraph
My Joomla gots me an error when confirmating a registration at url index.php?option=com_comprofiler&task=confirm&confirmcode=<...>

Warning: mysql_affected_rows() [function.mysql-affected-rows]: A link to the server could not be established in /www/familynews.ru/www/components/com_comprofiler/comprofiler.php on line 1244

Line 1244
Code:

         if(mysql_affected_rows() == 0) {



I think that this line must be like this:
Code:

         if($database->getAffectedRows() == 0) {

Click here to see the profile of this user The topic has been locked.

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC4)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC4, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers and now also to all registered joomlapolitans.

CB Login