Closed (fixed)
Project:
Lost & found issues
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2007 at 11:07 UTC
Updated:
14 Feb 2007 at 22:01 UTC
Jump to comment: Most recent
I installed the module on my personal drupal site running on Windows XP (Apache 2.2.3, PHP 5.2.0), but all I get, after I enabled the module, is to see all the pages blanked. I don't even see the drupal navigation menu, and if I check the HTML source of the page, it is empty.
~Kiam
Comments
Comment #1
lapurd commentedThat's really strange. I would suspect this is related to your server setup at the moment. It could be your Drupal install has run out of memory. Now this module actually consumes very little memory, but it could be that your php memory setup just is too restrictive.
You could try this; edit the .htaccess in your site's root directory and change or add the following line:
php_value memory_limit 8M
If that's not working try increasing the memory_limit from there.
Now if that does not help, could you check your apache log for any hints about the cause of this error?
Comment #2
avpadernoThe error reported by Apache is the following:
PHP Fatal error: Cannot redeclare http_get() in C:\\Programmi\\Apache Software Foundation\\Apache2.2\\htdocs\\drupal\\modules\\donations\\donations.module on line 872.
I checked, and it comes out that http_get() is already a function defined in the standard PHP 5 extension "http". So the problem is the name conflict that is in donations module.
Comment #3
avpadernoIt should be suggested to prefix all the module functions with the module name, to avoid conflicts with any function defined by PHP or by other modules. That is valid for pubblic, and private functions (the Drupal core follows this line too).
Comment #4
lapurd commentedThanks for pointing that out. It's fixed now. http://cvs.drupal.org/viewcvs/drupal/contributions/modules/donations/don...
Comment #5
(not verified) commented