Got this massage " Error Loading ModulesMySQL server ....."

Phoca Gallery - image gallery extension
vitmel
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 21 Mar 2009, 02:17

Got this massage " Error Loading ModulesMySQL server ....."

Post by vitmel »

Hi again. I got another problem.
I am trying to build website with big quantity of photos and galleries. And it worked so far. I uploaded bunch of pictures already. But now, every time when i am trying to go to images in phoca gallery it doesn't let me go in. Sometimes its just white screen, sometimes it gives me this massage.

* Error Loading ModulesMySQL server has gone away SQL=SELECT id, title, module, position, content, showtitle, control, params FROM jos_modules AS m LEFT JOIN jos_modules_menu AS mm ON mm.moduleid = m.id WHERE m.published = 1 AND m.access <= 2 AND m.client_id = 1 ORDER BY position, ordering


Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/s/t/e/stephohaw/html/libraries/joomla/database/database/mysql.php on line 344

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/s/t/e/stephohaw/html/libraries/joomla/database/database/mysql.php on line 344

Warning: Invalid argument supplied for foreach() in /home/content/s/t/e/stephohaw/html/administrator/components/com_phocagallery/helpers/phocagallery.php on line 1244



Its related to phocagallery because all other options work fine. So, now I have a bunch of photos in phoca gallery folder, but i don't have access to go there and create thumbnails for them.
Thanks for answers.
vitmel
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 21 Mar 2009, 02:17

Re: Got this massage " Error Loading ModulesMySQL server ....."

Post by vitmel »

Just needed chose "yes" here in Parameters

Thumbnail Creation Settings
Pagination Thumbnail Creation This is very important parameter. If you set it to 'no', thumbnails will be created from all images you add to your gallery. If you set it to 'yes', thumbnails will be created only from images which will be listed in Gallery list. This is helpful if your server doesn't have CPU resources for thumbnail creation of all images at a time or you have a lot of images in your gallery. E.g. you want to add 100 images into your gallery via Multiple Add function. You know, your server doesn't create all images at a time, so you go to Phoca Gallery --> Images (Gallery in v.1.8.x) and at the bottom of your site, you select e.g. 'Display Num 10' (only 10 images will be listed). In 'Default Settings' you set 'Pagination Thumbnail Creation' parameter to 'yes'. Then you go to 'Multiple Add' function and add 100 images into your gallery. All 100 image filenames will be stored in your database but thumbnails will be created only from first 10 images. If you want to create thumbnails from the next 10 images you go to the second site in your Gallery list site and thumbnails of the next 10 images will be created.

But after this, when you create category and upload there images you gotta go in image option and list all pictures from category that you just created so it could create all thumbnails for all images that you just uploaded. If you will not do this you will not be able to see your pictures on your website. Its gonna be blank spaces.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Got this massage " Error Loading ModulesMySQL server ....."

Post by Jan »

Yes, the pictures will be done step by step, so user needs to go to all sites if he wants to save the memory, cpu and sql resources...

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