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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

@Uncle Cheese ImageGalery


Go to End


4 Posts   2377 Views

Avatar
zehjot

Community Member, 6 Posts

7 August 2009 at 3:42am

Hi Uncle Cheese,

I'm playing around with the image galery module. I've tried to import Images from an existing folder and on pressing the "import"-button I get the following error pasted below. Any Idea?

[User Error] Uncaught Exception: Object->__call(): the method 'backlinktracking' does not exist on 'ImageGalleryImage'
POST /ss2/admin/EditForm/field/GalleryItems/ImportForm?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_2&ctf[GalleryItems][view]=grid&ctf[GalleryItems][imagesize]=100

Line 551 in C:\xampp\htdocs\ss2\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

Avatar
zehjot

Community Member, 6 Posts

7 August 2009 at 3:45am

Edited: 07/08/2009 3:45am

I should add that I'm running SS 2.3.3 and the recent download of all the modules:

modules-dataobject_manager-r220.tar.gz

modules-swfupload-r216.tar.gz

modules-image_gallery-r210.tar.gz

Avatar
UncleCheese

Forum Moderator, 4102 Posts

7 August 2009 at 4:56am

I'm not getting this error. Do you have any other modules installed? Any decorators?

BTW, please post DOM and ImageGallery questions to the DOM forum. I check that more frequently.

Avatar
zehjot

Community Member, 6 Posts

7 August 2009 at 7:24pm

Edited: 07/08/2009 11:01pm

Hi, I can repeat the error. Always the same. My SS installation is fresh and no other modules installed so far. I'm just fiddling around with the theme to make the thing look the way I want it to.

Apart from that, the module works fine. Thanks for all the effort you put in it. Highly appreciated.

I've found a report on a problem that looks pretty much the same as this one. You have to scroll down a bit. Its the post of dio5 from 19th Jan 13:25:

http://groups.google.com/group/silverstripe-dev/browse_thread/thread/31e7c94977394df3