Need some help quickly please, I can't access any other modules at all.

STEPS:
1) I uploaded the MP3 Player
2) I uploaded the StandAlone MP3 player from the link the text file gave
3) I went in to my modules section and checked the MP3 Player and hit save, it then said I needed another module turned on mp3 file fields I think and I let it do that....then I got the below message.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 663356 bytes) in /home2/socalcre/public_html/ethicalforeclosure/includes/database.mysql-common.inc on line 41

Now I can't access any of my modules, everything else seems to be working, fine. Please get back to me ASAP.

Comments

SoCalCreations’s picture

Title: Issue durin install of MP3 Player » Issue during install of MP3 Player
SoCalCreations’s picture

Assigned: Unassigned » SoCalCreations
Status: Active » Needs review

README.txt file should include Information on the php.ini file, the settings that worked best for me were

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 90 ; Maximum execution time of each script, in seconds (60)
max_input_time = 120 ; Maximum amount of time each script may spend parsing request data
memory_limit = 64M ; Maximum amount of memory a script may consume (32MB)

Notice I had to up the execution time and the memory limit, these are almost essential or you will get the errors I initially reported.

pribeh’s picture

Is there a reason this module requires so much ram? Can it be done more efficiently? Sorry, don't mean to sound unappreciative just asking. My sys admin doesn't want to change my php settings.

Dive’s picture

I got the same memory exhausted error. I tried changing the memory limit and other setting suggested by SoCalCreations but nothing would work. I had to remove the folder from the Modules directory to enable access back into the Modules config.

It actually happened twice. The first time, I uploaded the folder and was immediately unable to access the Modules node. I removed the folder, then increased the memory_limit and was able to get into Modules again, but as soon as I uploaded and enabled the Mp3 player module, I got the same error. Only when removing the folder from the Modules directory am I able to access the Modules node.

Dive’s picture

I got it to work, and I think the first time it didn't work was that I didn't follow the instructions explicitly. The first attempt, I placed the audio-player.js and player.swf files into the mp3player/mp3player folder before uploading. This time I uploaded the mp3player folder without those files, was able to get into modules, then I uploaded the audio-player.js and player.swf files to the mp3player folder on the server. I was able to get into modules and enable this feature.

Don't forget, the .js and .swf files go into the modules/mp3player/mp3player directory.

jdelaune’s picture

Priority: Critical » Normal
Status: Needs review » Closed (fixed)

This all depends on how many modules you have installed. If you have a lot then you are more likely to run into this issue no matter what module it is.