i had until an hour ago a drupal site running smooth (4.6.3 with a bunch of modules installed and customized theme).
then i created a block with some php in it (i paste it below), after modifying the /include/common.inc file (adding this snippet: http://drupal.org/node/32272 ).
now i cannot access my site *at all*, a blank page is displayed everywhere.
i understand it might be related to a memory issue, but i couldn't find the way to correctly change it
as stated in http://drupal.org/node/31819:
"Increase PHP's memory limit, either by adding:
* memory_limit = 12M to your php.ini file (recommended, if you have access)
* ini_set('memory_limit', '12M'); in your sites/default/settings.php file
* php_value memory_limit 12M in your .htaccess file in the Drupal root "
well,
- i dont have access to php.ini on my host server
- there's no "memory_limit" value neither in sites/default/settings.php nor in the .htaccess file
i paste below part of my sites/default/settings.php file, just in case.
any help much appreciated!
---
this is the php i put in the block:
$listlength=5;
$termtolistnodesfrom="2";
$nodetype="";
$showuser="yes";
$excerptlength=0;
$title="Most Recent Announcements";
print listandhighlightnodes($listlength, $termtolistnodesfrom, $showuser, $excerptlength, $title);
---
this is part of my sites/default/settings.php file: