PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   General Discussion (http://www.photopost.com/forum/general-discussion/)
-   -   Help! How do I rebuild the Photo database? (http://www.photopost.com/forum/general-discussion/136016-help-how-do-i-rebuild-photo-database.html)

pharry March 29th, 2008 08:05 AM

Help! How do I rebuild the Photo database?
 
I'm getting this error:

We're sorry, but the system experienced an unrecoverable error. Please try again later.

Script: adm-misc

Query: SELECT COUNT(*), SUM(views) AS fsize FROM photos

Result: Table 'photos' is marked as crashed and should be repaired

Database handle: Resource id #6


How do I repair the photos table? Note - the resource ID has varied between #6 and #7 if that makes a difference.

pharry March 29th, 2008 08:16 AM

I ran the "repair table" and the gallery is back up, but I've lost all the images from March 13th to today. Is there any way to get those back?

Chuck S March 29th, 2008 08:30 AM

No you can not get it back unless you have a backup of this table prior to the crash that would have these photos.

pharry March 29th, 2008 08:31 AM

Chuck, once I restore from the backup, how do I fix the problem that I first reported?

Chuck S March 29th, 2008 08:47 AM

If your backup is not corrupt then you dont need to do anything. The issue here is you have corrupt rows in the photos table and repairing it removes the corrupt rows.


All times are GMT -5. The time now is 01:42 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97