Phoca Gallery Error (Please Help)

Phoca Gallery - image gallery extension
bushib
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 09 Sep 2008, 21:52

Phoca Gallery Error (Please Help)

Post by bushib »

Hi there,

I just installed Phoca Gallery in Joomla 1.5 after the successful installation when I try to use it from the front end or back end i gives me following errors.

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/aycdirec/public_html/cityfunclub/libraries/joomla/database/database/mysql.php on line 338

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/aycdirec/public_html/cityfunclub/libraries/joomla/database/database/mysql.php on line 338

Warning: Invalid argument supplied for foreach() in /home/aycdirec/public_html/cityfunclub/administrator/components/com_phocagallery/helpers/phocagallery.php on line 1248

Here is MY URL http://www.cityfunclub.com/ and please click the WALLPAPER from the top navigation.

Can anyone please guide me how to fix this problem.

Regards
bushib
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48783
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Error (Please Help)

Post by Jan »

Hi, it seems like your installation procedure didn't create the tables for the Phoca Gallery, so take a look at the install.bak file in the ZIP package and run the queries (which you find in this file) manually in your database, e.g. via phpMyAdmin, see:

please read:

https://www.phoca.cz/documentation/index ... stallation
If you find Phoca extensions useful, please support the project
bushib
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 09 Sep 2008, 21:52

Re: Phoca Gallery Error (Please Help)

Post by bushib »

Hi there,

I have created the tables by running SQL Query.

Now I want to rename the Tables through command.

Can you please tell me how can I do it.

Best Regards
bushib
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48783
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Error (Please Help)

Post by Jan »

Why you want to rename the tables ? Did you follow the manual (link I have added here) ... just add instead of #__ your prefix e.g. jos_ and run sql query...

Jan
If you find Phoca extensions useful, please support the project
User avatar
Beata
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 12 Nov 2007, 13:50
Location: Lithuania

Re: Phoca Gallery Error (Please Help)

Post by Beata »

As you see i have the same problems with 338 and 1248
I opened install.bak file but there isn't examples for these tables:

jos_phocadownload
jos_phocadownload_sections
jos_phocadownload_settings

and i am newbie with MySql tables....

[quote="Jan"]Hi, it seems like your installation procedure didn't create the tables for the Phoca Gallery, so take a look at the install.bak file in the ZIP package and run the queries (which you find in this file) manually in your database, e.g. via phpMyAdmin, see:

please read:

obsolete link removed
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48783
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Error (Please Help)

Post by Jan »

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