CMS MADE SIMPLE FORGE

JQueryTools

 

[#10408] Fatal error when updating from Module Manager

avatar
Created By: Tommi Saksa (urheat)
Date Submitted: Sun Feb 08 11:10:23 -0500 2015

Assigned To:
Version: 1.3.4
CMSMS Version: 1.11.12
Severity: Minor
Resolution: Fixed
State: Closed
Summary:
Fatal error when updating from Module Manager
Detailed Description:
Tried with two sites. When updating JQueryTools, I get 

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate
65484 bytes) in /website/lib/classes/module_support/modlang.inc.php on line 2768

This is quite minor, 'cause everything works fine if I update using XML-file
from forge.


History

Comments
avatar
Date: 2015-02-18 10:41
Posted By: John Beatrice (mww)

I also get a slightly different allowed memory size exhausted fatal error when
updating 1.3.2 to 1.3.4 using Module Manager. I have not tried uploading the
XML.

[18-Feb-2015 10:16:20 America/New_York] PHP Fatal error:  Allowed memory size of
134217728 bytes exhausted (tried to allocate 1792 bytes) in
/public_html/staging/modules/JQueryTools/JQueryTools.module.php on line 121

CMSMS 1.11.12
PHP 5.4.33
memory_limit, post_max_size, and upload_max_filesize are at 128 MB

Looking at a diff, this may be where the upgrade is failing if it can't find the
class
try {
                  $loader = new \CGExtensions\jsloader\libdefn($name);
                  $loader->module = $this->GetName();
if( isset($info['js']) ) $loader->jsfile =
$_fullpath($dir,$info['js']);
if( isset($info['css']) ) $loader->cssfile =
$_fullpath($dir,$info['css']);
if( isset($info['depends']) ) $loader->depends =
$info['depends'];
                  \CGExtensions\jsloader\jsloader::register($loader);
              }



      
avatar
Date: 2015-03-18 12:33
Posted By: Tristan (tristan)

Same problem over here:

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate
130968 bytes) in websitenamel/dev/lib/classes/class.CmsLangOperations.php on
line 207
      
Updates

Updated: 2015-05-05 21:59
resolution_id: => 7
state: Open => Closed