Hello,

I am new to drupal and I have only been using it 4 weeks now.
Today I was messing around with the SWFTools to embed a media player on my site but unfortunately i couldn’t manage to do so. So I stopped trying.

After, I decided to create a content types "event", using the CCK module.
I used this procedure:
http://blip.tv/file/1256977

So i began by installing all the necessary CCK module extensions the date the email field as well as the file field. I have to mentioned that I have already installed the CCK module a few days ago.

So after I have uploaded the module extensions I have said above, I tried to enable then through the administrator/site building/modules. When I pressed the button SAVE CONFIGURATION i get after a few seconds a blank page.

So therefore I cannot do anything else on the website without being able to configure any modules.
Btw I have deleted a lot of modules from the server manually and that solved the problem, but unfortunately when i try to enable any default drupal modules and then i press the button SAVE CONFIGURATION i STILL get after a few seconds a blank page.

Thnx, xioues

Comments

xioues’s picture

Any suggestions would be greatly appreciated.
Cheers

dman’s picture

Sounds like you should start here

xioues’s picture

I have tried your suggested website, and it seems that it could be one of all these that can solve my problem.
I have tried and Increased PHP's memory limit in sites/default/settings.php into ini_set('memory_limit', '32M'); that seemed to be the problem to me, but unfortunately i still get the white page.

Can someone please explain me how to Enable Error Reporting cause i don't understand how to do it.
Or anyone suggest anything else to try?

Thnx a lot.
xioues

xioues’s picture

I checked at the error logs on my server and i get this
PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 67105 bytes) in /****/*****/public_html/includes/database.inc on line 224
every time i try to enable a module. So i guess the problem i caused by the PHP's memory limit.
However i have changed it by adding the line ini_set('memory_limit', '96M'); into sites/default/settings.php
But still get the same error.
I don't know why....??

dman’s picture

It's stuck at 32M
That means that you have to do it in your servers php.ini.
If you don't have permission to do that, then your host doesn't allow you to do that. Talk to your sysadmin.

32M should be well good enough for most starter sites though!

xioues’s picture

Thnx a lot for your help btw, i really appreciate it.

Btw you suggest that this is not the problem with 32 MB memory?

In addition, since i don't have any access to the php.ini file to increase the memory, i emailed my host to do so if possible.

madaerodog’s picture

try to go to admin/build/modules/uninstall and uninstall what modules you deleted, this will clear your database of orphan tables and hopefully will make what you have left functional

xioues’s picture

The problem is caused by the Date module.
I have uninstalled all the modules manually through the server and installed them backagain and everything seems to be OK.
But unfortunately when i try to install the date module(enable the Date, Date API and Date Pop Up) i keep getting the white page.
So the only way to fix it is to uninstall the date directory from the server.
So as a result i cannot install the date module

Any other suggestions.

Thnx a lot
xioues

xioues’s picture

Problem finally solved!!!

I have switched to the PHP5 (Single php.ini)" from PHP config, and enabled the php.ini.default.
Renamed php.ini.default to php.ini and changed "memory_limit = 32M" to "memory_limit = 64M"

Thnx everybody for your help. I really appreciate it.

xioues