<![CDATA[ Is Easy2Gallery 1.41 rc3 compatible with php5.4? - My Forums]]> https://forums.modx.com/thread/?thread=91678 <![CDATA[Re: Is Easy2Gallery 1.41 rc3 compatible with php5.4?]]> https://forums.modx.com/thread/91678/is-easy2gallery-1-41-rc3-compatible-with-php5-4#dis-post-524345 where can i find this config.easy2gallery.php file ? I'm trying to recall my memory, try inside assets/modules/]]> goldsky Apr 14, 2015, 10:15 AM https://forums.modx.com/thread/91678/is-easy2gallery-1-41-rc3-compatible-with-php5-4#dis-post-524345 <![CDATA[Re: Is Easy2Gallery 1.41 rc3 compatible with php5.4?]]> https://forums.modx.com/thread/91678/is-easy2gallery-1-41-rc3-compatible-with-php5-4#dis-post-522316 my hosting company just changed php version to 5.4.
in the manager, under easy 2 module i have this error :

Fatal error: Cannot re-assign auto-global variable _GET in XXXXX/assets/modules/easy2/includes/models/e2g.module.class.php on line 4586

and on the public page of the gallery:
MODX encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error : Illegal string offset 'indexfile'
ErrorType[num] : WARNING[2]
File : XXXXXXX/assets/modules/easy2/includes/models/e2g.snippet.class.php
Line : 911
Source : $this->createIndexHtml($xpath, $lng['indexfile']);
Basic info

i don't know the version installed of easy2gallery.

tried to update, but don't understand the instruction :

"If there is one (upgrade from below of E2G 1.4.0-rc4), COPY your existing config.easy2gallery.php file to assets/modules/easy2/includes/configs/ folder."

where can i find this config.easy2gallery.php file ?

thanks for your help !]]>
troubadour Mar 10, 2015, 10:50 AM https://forums.modx.com/thread/91678/is-easy2gallery-1-41-rc3-compatible-with-php5-4#dis-post-522316
<![CDATA[Re: Is Easy2Gallery 1.41 rc3 compatible with php5.4?]]> https://forums.modx.com/thread/91678/is-easy2gallery-1-41-rc3-compatible-with-php5-4#dis-post-502444 goldsky Jul 07, 2014, 01:30 PM https://forums.modx.com/thread/91678/is-easy2gallery-1-41-rc3-compatible-with-php5-4#dis-post-502444 <![CDATA[Is Easy2Gallery 1.41 rc3 compatible with php5.4?]]> https://forums.modx.com/thread/91678/is-easy2gallery-1-41-rc3-compatible-with-php5-4#dis-post-500954
Looks like line 911 of e2g.snippet.class.php doesn't agree with php 5.4
// create cover file
        $thumbDirs = explode('/', dirname($thumbPath));
        $count = count($thumbDirs);
        $xpath = $gdir;
        $lng = parent::languageSwitch(E2G_SNIPPET_PATH . 'includes/');
        for ($c = 0; $c < $count; $c++) {
            $xpath .= $thumbDirs[$c] . '/';
            $this->createIndexHtml($xpath, $lng['indexfile']);
        }


Is this patchable?

-Noah]]>
noahlearner Jun 19, 2014, 08:43 PM https://forums.modx.com/thread/91678/is-easy2gallery-1-41-rc3-compatible-with-php5-4#dis-post-500954