Error after Update to Joomla 2.5

Phoca Download - download manager
neotrend
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 03 Feb 2012, 16:31

Error after Update to Joomla 2.5

Post by neotrend »

Hi

I updated Joomla from 1.7.4 to 2.5.1. Frontend ist working fine, but when I access the files in the backend, the following error shows up, and no items are listed:

Code: Select all

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/xxx/public_html/libraries/joomla/database/database/mysql.php on line 287
I have Phoca Download 2.1.4 installed, no Plugins.

Hope someone can help me.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48610
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error after Update to Joomla 2.5

Post by Jan »

Hi, enable debug mode to get more info about the problem in your database:

https://www.phoca.cz/documents/16-joomla ... ent-errors

https://www.phoca.cz/documents/50-phoca/ ... -joomla-17
If you find Phoca extensions useful, please support the project
neotrend
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 03 Feb 2012, 16:31

Re: Error after Update to Joomla 2.5

Post by neotrend »

Perfect found the error. It was

Code: Select all

Unknown column 'a.userid' in 'on clause' SQL=...
so I run the following SQL statement:

Code: Select all

ALTER TABLE `joom_phocadownload` ADD   `userid` int(11) NOT NULL default '0' AFTER `description` ;
and problem was solved. Thanks.
SonRiab
Phoca Professional
Phoca Professional
Posts: 258
Joined: 02 Jun 2011, 09:29
Contact:

Re: Error after Update to Joomla 2.5

Post by SonRiab »

Yes this is a common problem when updating Phoca Download. There are many threads about it! :)
Post Reply