Mochabomb

Web Design and Technical notes

Mochabomb header image 4

Entries Tagged as 'Drupal'

PHP memory limit results in blank pages

November 5th, 2007 1:47 pm · No Comments

From a Drupal install, got a blank page when logging in….

[Mon Nov 05 13:20:36 2007] [error] [client 71.139.36.123] PHP Fatal error:
Allowed memory size of 16777216 bytes exhausted (tried to allocate 92160 bytes) in
/home/someuser/public_html/modules/event/event_timezones.inc on line 331, referer: http://example.com/
Up the memory in php.ini a few MB, restart httpd and all was working..

These icons link to social [...]

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

[Read more →]

Tags: Apache · Drupal · Linux · PHP

Run shell_exec in Wordpress and Drupal

March 5th, 2007 2:49 am · No Comments

I found this out on accident - use nested includes to use shell_exec in Wordpress and Drupal posts without any issues - I am using the Exec-PHP plugin.
* Tested with Wordpress 2.1.2
* Wordpress: Only works in Blog posts - not in a “page” - the PHP will not work.
* Wordpress: Must use file path, not [...]

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

[Read more →]

Tags: Drupal · PHP · Wordpress