Drupal - G2 2.2.2

ruggi

Joined: 2006-09-23
Posts: 45
Posted: Sun, 2007-07-15 23:14

I'm trying to embed G2 in Drupal but i get an memory limit error.
My provider doesnt allow to modify .htaccess nor php.ini. I remember that once, on this same provider i've added a string to a php file (ini_set("memory_limit", "32M"); ) and that worked out. the problem is that i forgot what i had done at that time and i'm not able to fix it again. can someone help?

thankx!!

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-07-15 23:37

there's no guarantee that it works, but you might want to add the line
ini_set("memory_limit", "32M");
to:
gallery2/index.php
gallery2/main.php
gallery2/lib/support/index.php

and when you upgrade to:
gallery2/upgrade/index.php

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage