10688 Posts in 2795 Topics by 1518 members
Jump to:If this is your first visit, you will need to register before you can post. However, you can browse all messages below.
| Page: 1 , 2 , 3 , 4 | go to end | Reply | |
| Author | Topic: bug with the gallery | 5084 views |

16 April 2008 at 1:40am
I've installed the gallery module but I have this problem :
---
Notice: Undefined index: start in E:\www\xemecercle\silverstripe\gallery\code\GalleryPage.php on line 381
Notice: Undefined variable: group in E:\www\xemecercle\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Trying to get property of non-object in E:\www\xemecercle\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Undefined variable: group in E:\www\xemecercle\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Trying to get property of non-object in E:\www\xemecercle\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Undefined variable: params in E:\www\xemecercle\silverstripe\gallery\code\GalleryPage.php on line 332
Notice: Undefined variable: group in E:\www\xemecercle\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Trying to get property of non-object in E:\www\xemecercle\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Undefined variable: group in E:\www\xemecercle\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Trying to get property of non-object in E:\www\xemecercle\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Undefined variable: params in E:\www\xemecercle\silverstripe\gallery\code\GalleryPage.php on line 332
Notice: Undefined variable: group in E:\www\xemecercle\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Trying to get property of non-object in E:\www\xemecercle\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Undefined variable: group in E:\www\xemecercle\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Trying to get property of non-object in E:\www\xemecercle\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Undefined variable: params in E:\www\xemecercle\silverstripe\gallery\code\GalleryPage.php on line 332
---
which basically prevent the gallery from displaying correctly. The weird thing is that I've installed silverstripe on a fairly similar computer with the same software (only big difference is that it's windows server 2003 instead of windows vista) and everything is running just fine : no errors, ...
Any idea?

21 April 2008 at 12:36pm
Hi, I have found where does this problem come from and it has been fixed on the next version that we are preparing of the gallery module

21 April 2008 at 6:24pm
That sounds like a good news to me :-) thanks! Do you know when it will be released ?

14 May 2008 at 11:36pm
hi, i have d same problem 2.
but i'm running my installation on windows xp.
when will d fixed gallery be out

15 May 2008 at 12:05am
with the rc5 and the module from the daily builds, no more errors... try an update!

2 June 2008 at 9:54am
hi,
I am still getting the same error,
Notice: Undefined variable: group in E:\Wamp\www\Globe2Share\gallery\code\GalleryPage.php on line 330
Notice: Trying to get property of non-object in E:\Wamp\www\Globe2Share\gallery\code\GalleryPage.php on line 330
with the last version of silverstripe-v2.2.2 and the last release gallery 0.2.2. Do you have any idea how to fix this bug ?
Thanks

29 June 2008 at 12:03pm
I have been trying to install the gallery module v 0.2.2 with silverstripe v2.2.2 and im also getting the same errors.
Notice: Undefined variable: params in C:\wamp\www\silverstripe-v2.2.2\gallery\code\GalleryPage.php on line 332
Notice: Undefined variable: group in C:\wamp\www\silverstripe-v2.2.2\gallery\code\GalleryPage.php on line 330
Notice: Trying to get property of non-object in C:\wamp\www\silverstripe-v2.2.2\gallery\code\GalleryPage.php on line 330
So is this getting fixed in the next version? Any idea when this is going to be released?
Thanks,
Kelly

29 June 2008 at 1:16pm
These are just notices, pretty straight forward to fix actually for example the notice line 332 - your first one - open up Gallery/code/GalleryPage.php and change line 332 from
to something like
So that it checks it exists before using it (with the isset() command).
So is this getting fixed in the next version
I have made a ticket for this work - http://open.silverstripe.com/ticket/2602
| 5084 views | |||
| go to top | Reply Next > |