Hey all,
So with a fresh install of Silverstripe on WinXP SP2 with Apache 2.2.4, PHP 5.2.3 and mySQL 5.0+ I get an error call to undefined index with AssetTableField.php on line 25 (or something to that affect) in the Files & Images section. I do the /db/build and no more problem. Not a big deal, but kind of worrying getting an error message on a clean install.
Now, I try to install the gallery. I put gallery in the root folder, do a db build and flush, and create a new gallery page. I then go to Files and Images and upload some stuff into the gallery folder just created. I go to view it on my site, and they show up just fine, but there's a half page of errors above it that look like this:
Notice: Undefined index: start in E:\Apache\htdocs\silverstripe\gallery\code\GalleryPage.php on line 381
Notice: Undefined variable: group in E:\Apache\htdocs\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Trying to get property of non-object in E:\Apache\htdocs\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Undefined variable: group in E:\Apache\htdocs\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Trying to get property of non-object in E:\Apache\htdocs\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Undefined variable: params in E:\Apache\htdocs\silverstripe\gallery\code\GalleryPage.php on line 332
Notice: Undefined variable: group in E:\Apache\htdocs\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Trying to get property of non-object in E:\Apache\htdocs\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Undefined variable: group in E:\Apache\htdocs\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Trying to get property of non-object in E:\Apache\htdocs\silverstripe\gallery\code\GalleryPage.php on line 330
Notice: Undefined variable: params in E:\Apache\htdocs\silverstripe\gallery\code\GalleryPage.php on line 332
Any help? I like silverstripe more than the other CMS programs I've used but have been at it for an hour and can't get it working...
And (last thing) when I press sort sub-pages under content I get this
Error in Ajax evaluator on line 974: invalid flag after regular expression
Notice: Undefined index: ID in E:\Apache\htdocs\silverstripe\cms\code\LeftAndMain.php on line 671
Error in request
Thanks
-Tyler