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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

SS2.4 can't install DOM


Go to End


11 Posts   4623 Views

Avatar
Lukef

Community Member, 32 Posts

29 June 2010 at 1:16pm

Edited: 29/06/2010 1:19pm

When I upload the DOM folder and run /dev/build the only change that is listed is;

Field File.ClassName: changed to enum('File','FLV','MP3','Image','Folder','Image_Cached') character set utf8 collate utf8_general_ci default 'File' (from enum('File','Image','Folder','Image_Cached') character set utf8 collate utf8_general_ci default 'File')

If I recall correctly it should have more than that, shouldn't it?

Then when I try to login to the CMS I see this error...

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 232 bytes) in /home/austrack/public_html/sapphire/forms/EmailField.php  on line 56

Normally that tells me I simply need to push the php memory limit up, which I did but it makes no difference. I have other near identical sites running on 64m but I still get the same error even with the php memory limit set to 256meg, so I am assuming that is not the problem...

Can you guys help me out?

Avatar
Lukef

Community Member, 32 Posts

5 July 2010 at 8:41pm

um... anyone have any ideas?

Avatar
Lukef

Community Member, 32 Posts

8 July 2010 at 7:38pm

if i have not provided the right info please let me know, or if i have broken some unwritten rule i do apologize but I am getting tired of this issue hanging over my head... i really want to get it sorted can someone give me a hand...

Avatar
UncleCheese

Forum Moderator, 4102 Posts

9 July 2010 at 1:26am

I run all my SS sites on 256M. 32M sounds awfully low. I would just keep increasing it until you get it to run. There's a memory intensive process in there somewhere that has to be resolved. The most common place we see memory leaks in SS is when many images are being resampled. The GD library is a real hog.

It might be one specific page in the admin that's giving you trouble. Keep in mind it defaults to the last page edited, stored in your session. So you can try forcing different pages by going to /admin/show/ID, where ID is a SiteTreeID to edit.

Avatar
Lukef

Community Member, 32 Posts

9 July 2010 at 9:36am

THANK YOU UNCLE CHEESE!

Well i did briefly try 256M and it did not seem to make a difference, but to give it the benefit of the doubt i will try it again this afternoon, as soon as i get back to my desk.

will post back then.

|G|

Avatar
Lukef

Community Member, 32 Posts

9 July 2010 at 3:13pm

Ok i tried pushing up the memory limit all the way to 1024M, but that changed nothing, then i tried forcing it to select another admin page, this did not help either... is there anything else it could be?

Avatar
Phalkunz

Community Member, 69 Posts

13 July 2010 at 2:15pm

Hi Glitch,

It's working fine for me except DOM style and interaction (javascript) do not work but that is another story. I'm using SilverStripe versions 2.3 and 2.4 and with default memory limit.

Could you please provide more like what versions of SilverStripe and the module you're using? What are other modules you're using? And also what database platform is your site on? This will help me or others to find the problem. Furthermore, if you have a code written to hook up with DOM module, also post it here.

You can also try the module with a clean SilverStripe installation.

Cheers,
Phalkunz

Avatar
Lukef

Community Member, 32 Posts

13 July 2010 at 2:38pm

Edited: 13/07/2010 2:41pm

Ok here are the extra details

1: Had working site on SS2.3 (including image_gallery/DOM/swfupload and User Defined Forms)
2: Moved site to another host
3: Upgraded to SS2.4 still using User Defined Forms but whenever i try to add DOM i get the memory errors. (have tried trunk and stable, same results)

Ps: The DB is mySQL

Many thanks for having a look Phalkunz

|G|

Go to Top