MySQL error in Files section

Phoca Download - download manager
baseliner
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 25 Jul 2011, 10:55

MySQL error in Files section

Post by baseliner »

Hi,

I'm using Joomla 1.6.1 stable with Phoca Download 2.0.1. I'm getting the following error when I go to the Files section while logged in as admin:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /<path_to_site>/libraries/joomla/database/database/mysql.php on line 317

And I can't see any file in the Files section anymore.

This started after I enabled user uploads and uploaded a non-authorized file as a non-admin user.

Hope someone can help! Thanks!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: MySQL error in Files section

Post by Jan »

Hi, enable debug mode to get more information about this problem - search other similar posts where you can find more information.

https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan
If you find Phoca extensions useful, please support the project
baseliner
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 25 Jul 2011, 10:55

Re: MySQL error in Files section

Post by baseliner »

Thanks Jan. Looks like it was a problem with the upgrade from 2.0.0 RC2 to 2.0.1. I did an Install instead of an Upgrade and that took care of the issue. I didn't have much data yet so it was fine.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: MySQL error in Files section

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply