comprofiler.php - mysql_affected_rows in line 1244

17 years 6 months ago #12490 by tony
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/ on line 1244

Line 1244
[code:1] if(mysql_affected_rows() == 0) {[/code:1]

I think that this line must be like this:
[code:1] if($database->getAffectedRows() == 0) {[/code:1]

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.792 seconds

Facebook Twitter LinkedIn