I run "migrating keywords into tags" maintenance module everytime I update images to the gallery. Whenever i run this function, it never finishes in the first time i tried. I need to try a few times to complete this operation.
No error message, it always stops at somewhere 90% of the progress bar.
Could anyone give me a clue as to how to solve this?
Ta
Gallery URL = http://gallery.canberrapictorial.com.au/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.6 cgi
Webserver = Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_jk/1.2.25
Database = mysqlt 5.0.67-community-log, lock.system=flock
Toolkits = ArchiveUpload, SquareThumb, ImageMagick, Exif, Getid3, jpegtran, LinkItemToolkit, Thumbnail, Gd
Acceleration = full/21600, full/21600
Operating system = Linux sphinx.techservers.com.au 2.6.9-023stab033.6-enterprise #1 SMP Tue Nov 7 16:16:56 MSK 2006 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Rows in GalleryAccessMap table = 37
Rows in GalleryAccessSubscriberMap table = 2623
Rows in GalleryUser table = 2
Rows in GalleryItem table = 2622
Rows in GalleryAlbumItem table = 44
Rows in GalleryCacheMap table = 2031
Posts: 27300
If it just stops then I suspect you are hitting a resource limit on your host.
If you enable debug mode when you try the operation it might have a clue or the apache error log migh give a clue.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
Thanks Dave,
I have switched on the debug mode and received below message:
Fatal error: Cannot use object of type GalleryStatus as array in /home/canberra/public_html/galleries/modules/core/AdminMaintenance.inc on line 128
I have not changed this file at all though.
Line 128 is doing this list ($ret1, $success, $details) = $task->run();
PS, I have attached the screenshot of the error message. There you can see that it probably hasn't hit the memory limit?
Any input will help.
Eric
Posts: 27300
Does it always stop at the same item (2529)?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
Hi Dave,
Yes, for the total item of images (2578) it always stops at 2529. If the total is different, it will constantly stop at another figure.
Before this time, I was able to restart the process and it might go all the way, but not today.
Cheers,
Eric
Posts: 27300
Then I suspect that possibly that item 2529 is corrupt. Delete that item and try again then re add that item. Other than that....no ideas.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
Thanks very much Dave, I removed item 2529 and it's gallery and started again. It worked. However I received below errors from the debug mode if you are interested
At the item 2578, the error is
However, removing the gallery and starting over worked. interestingly.
Thanks Dave
Eric
Posts: 27300
Seems that your DB server is having connectivity issues.
I would make frequent backups in case your DB gets hosed/corrupted even worse.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team