RESOLVED!! - ERROR_OBSOLETE_DATA error that started as an ERROR_LOCK_TIMEOUT error
|
douglasvb
Joined: 2008-09-15
Posts: 12 |
Posted: Mon, 2008-09-15 22:23
|
|
This issue is RESOLVED. See the last post for information on what I did to fix it. (THANKS JOE7 FOR YOUR HELP!) The problem: When trying to access my gallery2 site, I get the below error message. The steps leading up to the problem: I uploaded about 50 pictures via ftp to my server. I then added them all to an album. Next, I went to transfer about half of them to a new album. That process blew up and threw an error titled "ERROR_LOCK_TIMEOUT." After several attempts, I did manage to transfer the photos to the new album. However, two remained stuck in the original album AND appeared in the new one. I tried to delete the files from the original album. No luck. I got the same lock timeout error. I tried from the new album. No luck. Same thing. Further, when I tried to delete them from the original album, I would be taken to the delete screen for the new album images. Looking on the server using an FTP program, I discovered that those two files had never made their way from the upload folder over to either the original or the new album. I tried moving them from the upload folder to the new album. Doing that allowed me to delete them from the new album. They still appeared in the original album, though. Trying to delete them out of the original album brought me to where I am now. The things I have tried since I received the obsolete_data error: Deleting the data in the g2_lock table. No change. Looking through the support literature and the forums. Didn't find anything that seemed to be directly related to what I'm having troubles with at the moment. IRC channel. No one responded in the last hour. Here on the forums. I'm writing this now! Error Message: * in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 364 (GalleryCoreApi::error) System Information Website URL: http://www.douglasvanbossuyt.com/gallery2/ Gallery information: File integrity info: I deleted the "upgrade" folder so that shows up as an error. I do get this error, however. Warning: Output buffering is enabled in your PHP by the output_buffering parameter(s) in php.ini. Gallery can function with this setting - downloading files is even faster - but Gallery might be unable to serve large files (e.g. large videos) and run into the memory limit. Also, some features like the progress bars might not work correctly if output buffering is enabled unless ini_set() is allowed. I am hosted on Dreamhost who turns that on for all users to speed their servers up. PHPINFO: Available if needed. (Are there any security concerns with posting that information publicly?) |
|

Posts: 12
Some additional information:
Others (as well as me when I use Google Chrome) receive this error when trying to view my front gallery2 page:
Edit Conflict!
Your change cannot be completed because somebody else has made a conflicting change to the same item. Use the back button in your browser to go back to the page you were on, then reload that page and try your change again.
Go back and try again
Alternatively, you can return to the main Gallery page and resume browsing.
Back to the Gallery
That's probably because I'm still logged in on my Firefox browser session. (thanks Joe7 for pointing that out!)
Posts: 12
RESOLVED!!!
Joe7 (THANKS!) helped me out in the IRC channel.
What we did to resolve the issue:
Looking at the error messages, Joe7 suggested that I run a query on my database. I opened up phpmyadmin, logged in, and ran the following query: SELECT * FROM g2_Derivative WHERE g_id=YOURIDNUMBERHERE where YOURIDNUMBERHERE comes from the error information as to which ID is having a problem.
The result showed up as one of my entries having an error. The g2_isBroken was already set to "1" which was throwing the error (although I am informed that it should not). I reset it to "0" and all of my problems went away! Well, actually then a second ID popped up with the same problem. I followed the same procedure and it, too, was vanquished.
Thanks again, Joe7!
Posts: 7
I think that right there is saving my arse from my users. We have 6,000 photos in our gallery, and I moved to lunarpages and got a bunch of errors, and thumbs were not working.
I reset all the "g2_isBroken" to 0 instead of 1 ( had 100's of them set at 1 ) and now using the process above to redo thumbnails I am at 2600, and so far out of the 6000 it is working!
I hope posting this doesn't break anything.