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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

[User Error] Uncaught Exception: Object->__call(): the method 'backlinktracking' does not exist on 'ImageGalleryImage'


Go to End
Reply


32 Posts   5657 Views

Avatar
R0yk3

Community Member, 20 Posts

19 September 2009 at 7:22am

i have seen this error at the forum, but there was no solution for it. So asking again.

fresh install of SilverStripe 2.2.3 on debian
Installed SWFUploader
Installed DOM
Installed image gallery.

Created an album.
upload pictures via files and images or FTP
Import from an existing folder
i get the error

Upload it from my computer it al works??

This is the error meaasage i recieve:

[User Error] Uncaught Exception: Object->__call(): the method 'backlinktracking' does not exist on 'ImageGalleryImage'
POST /SilverStripe/admin/EditForm/field/GalleryItems/ImportForm?ctf[GalleryItems][start]=0&ctf[GalleryItems][per_page]=10&ctf[GalleryItems][showall]=0&ctf[GalleryItems][sort]=SortOrder&ctf[GalleryItems][sort_dir]=DESC&ctf[GalleryItems][search]=&ctf[GalleryItems][filter]=AlbumID_6&ctf[GalleryItems][view]=grid&ctf[GalleryItems][imagesize]=100

Line 551 in /var/www/clients/client1/web1/web/SilverStripe/sapphire/core/Object.php
Source

542             case isset($config['function']) :
543                return $config['function']($this, $arguments);
544             
545             default :
546                throw new Exception (
547                   "Object->__call(): extra method $method is invalid on $this->class:" . var_export($config, true)
548                );
549          }
550       } else {
551          throw new Exception("Object->__call(): the method '$method' does not exist on '$this->class'");
552       }
553    }
554    
555    // -----------------------------------------------------------------------------------------------------------------
556    
557    /**

Trace

* Object->__call(BackLinkTracking,Array)
* Image->BackLinkTracking()
Line 255 of File.php
* File->onBeforeWrite()
Line 779 of DataObject.php
* DataObject->write()
Line 79 of ImageGalleryManager.php
* ImageGalleryManager->saveImportForm(Array,Form,HTTPRequest)
Line 241 of Form.php
* Form->httpSubmission(HTTPRequest)
Line 129 of RequestHandler.php
* RequestHandler->handleRequest(HTTPRequest)
Line 143 of RequestHandler.php
* RequestHandler->handleRequest(HTTPRequest)
Line 143 of RequestHandler.php
* RequestHandler->handleRequest(HTTPRequest)
Line 143 of RequestHandler.php
* RequestHandler->handleRequest(HTTPRequest)
Line 122 of Controller.php
* Controller->handleRequest(HTTPRequest)
Line 277 of Director.php
* Director::handleRequest(HTTPRequest,Session)
Line 121 of Director.php
* Director::direct(/admin/EditForm/field/GalleryItems/ImportForm)
Line 118 of main.php

??

kind regards
Roy

Avatar
UncleCheese

Forum Moderator, 4096 Posts

19 September 2009 at 7:54am

Old bug. Run an update.

Avatar
R0yk3

Community Member, 20 Posts

19 September 2009 at 8:01am

Update??

i downloaded this eavening Silverstripe and the modules at the silverstripe website. is there anotherplace where i can get more recent files?

Avatar
UncleCheese

Forum Moderator, 4096 Posts

19 September 2009 at 8:07am

It's best to use the SVN channel cause then you can just run updates and always have the latest version. But I think the Silverstripe download page builds its ZIP files off the SVN every 24 hours, so I'd imagine if you download it again you'll be in good shape. Just a pain to replace all the files when really all you need is what's new.

Avatar
R0yk3

Community Member, 20 Posts

22 September 2009 at 8:15pm

Hello Uncle Cheese,

i have now everything setup and running under SVN.
Now the gallery does not work at all at the front end, back end works with the exeption of import from existing folder. This does not work either at the images and files tab. I guess that has nothing to do with the image gallery.

But if you look at [url]http://sieliakus.nl/SilverStripe/ [/url]
and choose gallery page there is a error. :(

the other thing is the import from images from the folder, does not work. :(

looks like i went one step back with the svn version.

Avatar
UncleCheese

Forum Moderator, 4096 Posts

23 September 2009 at 1:04am

This was fixed a really long time ago. Are you sure you're on the latest version?

Avatar
R0yk3

Community Member, 20 Posts

23 September 2009 at 1:14am

Do i use the latest version??
i use SVN, and about 17 hours ago i used it.
These links i used
svn co http://carlinowebdesign.svn.beanstalkapp.com/modules/trunk/swfupload
svn co http://carlinowebdesign.svn.beanstalkapp.com/modules/trunk/dataobject_manager
svn co http://carlinowebdesign.svn.beanstalkapp.com/modules/trunk/image_gallery

Between every install i ran /dev/build/

Just to be sure, above error does not occur anymore, simple becouse i do not get that far.. :(

Avatar
UncleCheese

Forum Moderator, 4096 Posts

23 September 2009 at 1:30am

That's bizarre. If you look here:

http://carlinowebdesign.svn.beanstalkapp.com/modules/trunk/image_gallery/code/ImageGalleryImage.php

You'll see that in the latest SVN, the method BackLinkTracking() is, in fact, defined. I cannot even guess what could be causing that error if you're on that version of code.

Go to Top