21489 Posts in 5783 Topics by 2622 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 954 Views |
-
Inconsistent database issue

5 October 2010 at 4:01am
When I go to files and images tab, I get this error:
[Warning] Inconsistent database issue: SELECT ID FROM `File` WHERE Name = '' AND ParentID = 0 should have returned dataThis happened after I was reorganizing the files folder in the files/images tab.
Any idea on what I can do to fix this?Thanks!
-
Re: Inconsistent database issue

6 October 2010 at 5:02am
Ok, I went into Mysql Query browser and deleted everything in the file table.
Opened Firefox and ran a db/build
Then logged into the web site and selected the Files/Images Tab and everything it rebuilt the table list.
All is working now, except my File list pages. They don't show anything in there. -
Re: Inconsistent database issue

8 October 2010 at 3:08pm
Hi,
Which version of SilverStripe are you using? db/build has been deprecated, you should use dev/build now (I thing since 2.3).
regards Files, what are you trying to do?
cheers
Carlos -
Re: Inconsistent database issue

9 October 2010 at 3:10am Last edited: 9 October 2010 3:11am
there is also
/dev/tasks/FilesystemSyncTask
and
/dev/tasks/FlushGeneratedImagesTask
| 954 Views | ||
|
Page:
1
|
Go to Top |



