3 June 2008 at 11:06am
(Last edited: 3 June 2008 11:07am),
Hi, I have just installed wampserver and Silverstripe 2.2.2 on my desktop pc for testing (Vista SP1). Silverstripe installed successfully, so I added the FlickerService module and followed the install instructions which also seemed to work successfully and I was able to create a new Flickr Gallery page in the CMS. I have set my flickr API key in _config.php and published a gallery page, but when I browse to the published page I am getting this error:
FATAL ERROR: Missing argument 1 for RestfulService::connect(), called in C:\wamp\www\silverstripe-v2.2.2\flickrservice\code\FlickrService.php on line 73 and defined
At line 68 in C:\wamp\www\silverstripe-v2.2.2\sapphire\api\RestfulService.php
I haven't been able to find anything in these forums about this error, any help would be much appreciated! Otherwise, very impressed with Silverstrip so far!
This was an API change with 2.2.2. Connect now needs a parameter. So open up that line where the error comes from - FlickrService line 73 it looks like and look for a ->connect() and change it so it sends something ->connect(''); or something