Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

not showing full list of files


Reply

7 Posts   322 Views

Avatar
munchkin233

3 February 2014 at 5:08am Community Member, 4 Posts

Having an issue with one of my site in that the files folder doesn't show the full list of images/files, it show's the first page but when i click to the next page it goes blank, it's the same when using the image upload box. There's no error showing on the files page in the cms but the upload box shows

Uncaught exception Error {stack: (...), message: "cannot call methods on selectable prior to initialization; attempted to call method 'destroy'"} in onunmatch on
<tbody class=​"ss-gridfield-items">​…​</tbody>​

and

Stack Trace:
Error: cannot call methods on selectable prior to initialization; attempted to call method 'destroy'

Has anyone else experienced this? I'm a bit of a beginner with most coding languages at present so laymen's terms would be appreciated ;-)

Thanks for anyone that can help.

Avatar
Bereusei

4 February 2014 at 10:47pm Community Member, 94 Posts

Strange error. But if there is a problem with uploading files, check the permission of the upload folder and subfolders where the images are stored. Permission of all folder should be 777.

Avatar
munchkin233

4 February 2014 at 11:08pm Community Member, 4 Posts

Permissions are all set to 777 and there's no problem uploading the files it just won't go past page 2/3 in the list of files, i've attached screen shots of what is happening, I don't get any other errors in dev mode either.

Attached Files
Avatar
Bereusei

4 February 2014 at 11:29pm Community Member, 94 Posts

What you could try is to upgrade Silverstripe to the latest version.
Just make a backup of your files before upgrading.
If the upgrade break your system, you can easily set it back.

Avatar
munchkin233

4 February 2014 at 11:38pm Community Member, 4 Posts

Thanks for your reply,

I'm already using the latest version

Avatar
thomas.paulson

10 February 2014 at 8:55pm Community Member, 79 Posts

try to sync files using admin -> file

Avatar
munchkin233

11 February 2014 at 2:19am Community Member, 4 Posts

I actually tried that thanks

It turned out my client had uploaded a couple of files that were too big but it didn't show the usual error at first until they uploaded a third large file, once I deleted the files it all started working again.

Thanks for the repsonses