7911 Posts in 1354 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Indirect modification of overloaded property
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
| Go to End | ||
| Author | Topic: | 1922 Views |
-
Re: Indirect modification of overloaded property

7 November 2010 at 2:26pm
As I don't have any image gallery content - as I removed due to these issues - I deleted remaining image-gallery folder, and went to add a new Image Gallery page... bam up comes that error. Can't access the image gallery page or do anything with it. When I checked is any folders had been created, it had created:
image-gallery
image-gallery/NewImageGalleryPage/DefaultAlbum
new-imagegallerypageAll these set to 755 with User as (?) and Group as (?)
YET if I go to Files & Images I CAN select these folders and drill-down on them!
However these folders display in italics yet my Uploads folder is not. What does a folder name in italics signify?
-
Re: Indirect modification of overloaded property

7 November 2010 at 2:58pm Last edited: 7 November 2010 3:01pm
Found this post:
http://silverstripe.org/dataobjectmanager-module-forum/show/7010?start=184
So in DataObjectManager.php at line 664 changed:
foreach($this->parent->permissions as $perm) {
to:
$permissions = $this->parent->permissions;
foreach($permissions as $perm) {And problem resolved!
Seems like this is something that needs fixing as post above reports this issue back in May.
-
Re: Indirect modification of overloaded property

27 May 2011 at 2:01am
im having a mare with the latest version of image_gallery and ss 2.4.5
it all works fine locally, but as soon as i upload i have problems.clicking "create image gallery page" does nothing. (emails an error to me saying: Error: Uncaught Exception: Cannot move /var/www/vhosts/cafemusicstudios.com/httpdocs/assets/image-gallery/NewImageGalleryPage-8/ to /var/www/vhosts/cafemusicstudios.com/httpdocs/assets/image-gallery/NewImageGalleryPage-10/
At line 422 in /var/www/vhosts/cafemusicstudios.com/httpdocs/sapphire/filesystem/File.php )
if i refresh, the page appears, but if i try and upload an image it throws up a server error. and emails me a very similar error message to the one above.looks like permission issues with image_gallery creating directories?
but my whole assets directory is 777.
AND ive even tried manually creating the directories myself and giving them all 777 but it still fails.any help?!
| 1922 Views | ||
| Go to Top |


