Download & Extend

My site went down with this weird error after enabling the Bio Module

Project:Bio
Version:5.x-1.2
Component:Code
Category:support request
Priority:critical
Assigned:tyler-durden
Status:closed (duplicate)

Issue Summary

"Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1934357 bytes) in /includes/bootstrap.inc on line 635"

I installed a few other smaller modules like "Link" and I think one more, but there were no problems with them. This error happened as soon as I enabled Bio. The next screen after enabling showed this, and now this is all I get through my whole website. It's not live, i've been dabbling with Drupal since I am an unhappy Joomla user currently. I was about 1 month into my 3 month project, so i'm quite nervous.

I removed the function listed above, but there were new errors in another area calling that function. When that call to function was removed, new errors appeared on a completely new file regarding this function, so I stopped. It sound slike there is some corrupted data in the database, Here is the line of code for 635.

function check_plain($text) {
return drupal_validate_utf8($text) ? htmlspecialchars($text, ENT_QUOTES) : '';
}

Please help !! I don't have any real backups to revert to, but i'm hoping there is a way to remove the BIO module completely, including it's database entries (where I think the problem is).

Any suggestions? Thanks!

Comments

#1

Category:bug report» support request

#2

Status:active» closed (fixed)

2 ways to solve this :
- Increase your memory_limit in your php.ini file
or remove some modules

This is not a problem specific to bio but rather to the number of modules that are on your site.

#3

Status:closed (fixed)» active

I have the same problem. It works fine for the default Biography content type, but when I use my own profile content type which has 10 field groups and 83 fields, I get this:

Warning: Got a packet bigger than 'max_allowed_packet' bytes query: INSERT INTO tcn_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', 'Got a packet bigger than 'max_allowed_packet' bytes\nquery: UPDATE tcn_cache_views SET data = 'a:4:{s:6:\\"tables\\";a:365:{s:8:\\"comments\\";a:6:{s:4:\\"name\\";s:8:\\"comments\\";s:8:\\"provider\\";s:8:\\"internal\\";s:4:\\"join\\";a:2:{s:4:\\"left\\";a:2:{s:5:\\"table\\";s:4:\\"node\\";s:5:\\"field\\";s:3:\\"nid\\";}s:5:\\"right\\";a:1:{s:5:\\"field\\";s:3:\\"nid\\";}}s:6:\ in /.../includes/database.mysql.inc on line 172

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 7119443 bytes) in /home/sihatgro/public_html/you4ia/test/includes/bootstrap.inc on line 634

Warning: Cannot modify header information - headers already sent by (output started at /.../database.mysql.inc:172) in Unknown on line 0

I did have nodeprofile & related modules installed but de-activated (not uninstalled) to see if Bio would work for me better. Unless the Bio module is an extreme memory-hog or the interaction between CCK with large numbers of fields and bio hogs memory, it doesn't seem to make sense.

Also why is the "tried to allocate" number smaller than the "allowed memory size"?
I do have a lot of other modules installed but never got a memory error before.

I am running Drupal 5.9

Any further help or suggestions would be appreciated.

#4

Status:active» closed (duplicate)

"max_allowed_packet" a different error from "Allowed memory size of 33554432". Specifically, it's a MySQL configuration setting. You can either update (or have your server admin update) the max_allowed_packet value, or you can remove some unused fields from your content types.

nobody click here