Hello,

Whenever I want to make any changes on TAC_lite module, I get the following error:

Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 25936 bytes) in /home/.../drupal/includes/image.inc on line 326

After this message anonimous users are not able to see any node, till I reset the "node_access" table.

This error also happened when tryint to use Taxonomy Access Control module and seems to be related with "image module" (you may want to see this opened issue)

That's line 326 at image module:
return $open_func($file);

And here's a piece of content:

/**
 * GD helper function to create an image resource from a file.
 */
function image_gd_open($file, $extension) {
  $extension = str_replace('jpg', 'jpeg', $extension);
  $open_func = 'imageCreateFrom'. $extension;
  if (!function_exists($open_func)) {
    return FALSE;
  }
  return $open_func($file);
}

Hope someone can help me.

thanks

Comments

c-c-m’s picture

By the way, I forgot to add node_access table (both, structure and content):

--
-- Estructura de tabla para la tabla `node_access`
--

CREATE TABLE IF NOT EXISTS `node_access` (
  `nid` int(10) unsigned NOT NULL default '0',
  `gid` int(10) unsigned NOT NULL default '0',
  `realm` varchar(255) NOT NULL default '',
  `grant_view` tinyint(3) unsigned NOT NULL default '0',
  `grant_update` tinyint(3) unsigned NOT NULL default '0',
  `grant_delete` tinyint(3) unsigned NOT NULL default '0',
  PRIMARY KEY  (`nid`,`gid`,`realm`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Volcar la base de datos para la tabla `node_access`
--

INSERT INTO `node_access` (`nid`, `gid`, `realm`, `grant_view`, `grant_update`, `grant_delete`) VALUES
(0, 0, 'all', 1, 0, 0),
(2853, 0, 'all', 1, 0, 0),
(2854, 0, 'all', 1, 0, 0),
(2855, 0, 'all', 1, 0, 0),
(2856, 0, 'all', 1, 0, 0),
(2857, 0, 'all', 1, 0, 0),
(2858, 0, 'all', 1, 0, 0),
(2859, 0, 'all', 1, 0, 0),
(2860, 0, 'all', 1, 0, 0),
(2861, 0, 'all', 1, 0, 0),
(2862, 0, 'all', 1, 0, 0),
(2863, 0, 'all', 1, 0, 0),
(2864, 0, 'all', 1, 0, 0),
(2847, 0, 'all', 1, 0, 0),
(2865, 0, 'all', 1, 0, 0),
(2845, 0, 'all', 1, 0, 0),
(2726, 0, 'all', 1, 0, 0),
(2848, 0, 'all', 1, 0, 0),
(2866, 0, 'all', 1, 0, 0),
(2867, 0, 'all', 1, 0, 0),
(2868, 0, 'all', 1, 0, 0),
(2869, 0, 'all', 1, 0, 0),
(2870, 0, 'all', 1, 0, 0),
(2871, 0, 'all', 1, 0, 0),
(2872, 0, 'all', 1, 0, 0),
(2316, 0, 'all', 1, 0, 0),
(2873, 0, 'all', 1, 0, 0),
(2335, 0, 'all', 1, 0, 0),
(2210, 0, 'all', 1, 0, 0),
(1464, 0, 'all', 1, 0, 0),
(1199, 0, 'all', 1, 0, 0),
(2874, 0, 'all', 1, 0, 0),
(2875, 0, 'all', 1, 0, 0),
(2876, 0, 'all', 1, 0, 0),
(2877, 0, 'all', 1, 0, 0),
(2878, 0, 'all', 1, 0, 0),
(2879, 0, 'all', 1, 0, 0),
(2880, 0, 'all', 1, 0, 0),
(2881, 0, 'all', 1, 0, 0),
(2882, 0, 'all', 1, 0, 0),
(2883, 0, 'all', 1, 0, 0),
(2884, 0, 'all', 1, 0, 0),
(2885, 0, 'all', 1, 0, 0),
(2886, 0, 'all', 1, 0, 0),
(2887, 0, 'all', 1, 0, 0),
(2888, 0, 'all', 1, 0, 0),
(2889, 0, 'all', 1, 0, 0),
(2890, 0, 'all', 1, 0, 0),
(2499, 0, 'all', 1, 0, 0),
(2891, 0, 'all', 1, 0, 0),
(2892, 0, 'all', 1, 0, 0),
(2893, 0, 'all', 1, 0, 0),
(2894, 0, 'all', 1, 0, 0),
(2895, 0, 'all', 1, 0, 0),
(1427, 0, 'all', 1, 0, 0),
(1340, 0, 'all', 1, 0, 0),
(2896, 0, 'all', 1, 0, 0),
(2897, 0, 'all', 1, 0, 0),
(2507, 0, 'all', 1, 0, 0),
(2898, 0, 'all', 1, 0, 0);
Dave Cohen’s picture

Status: Active » Closed (won't fix)

Why do you think this has anything to do with tac_lite? Shouldn't you be submitting an issue to the image module?