<![CDATA[ MODX Gallery fail to open ..//core/components/gallery/controllers/.class.php file - My Forums]]> https://forums.modx.com/thread/?thread=104984 <![CDATA[MODX Gallery fail to open ..//core/components/gallery/controllers/.class.php file]]> https://forums.modx.com/thread/104984/modx-gallery-fail-to-open-core-components-gallery-controllers-class-php-file#dis-post-564495
[2019-03-19 08:13:33] (ERROR in modManagerRequest::prepareResponse @ ../core/model/modx/modmanagerrequest.class.php : 187) modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace gallery to the routing based system.

[2019-03-19 08:14:04] (ERROR in modManagerRequest::prepareResponse @ ../core/model/modx/modmanagerrequest.class.php : 187) modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace gallery to the routing based system.

[2019-03-19 08:14:04] (ERROR @ ../core/model/modx/modmanagercontroller.class.php : 962) PHP warning: require_once(../core/components/gallery/controllers/.class.php): failed to open stream: No such file or directory

I need some help to resolve these errors.

Thanks]]>
sheils Mar 19, 2019, 03:53 PM https://forums.modx.com/thread/104984/modx-gallery-fail-to-open-core-components-gallery-controllers-class-php-file#dis-post-564495
<![CDATA[Re: MODX Gallery fail to open ..//core/components/gallery/controllers/.class.php file]]> https://forums.modx.com/thread/104984/modx-gallery-fail-to-open-core-components-gallery-controllers-class-php-file#dis-post-564536
NB:- Mine is located in /home2/hostingaccount/core/domainname/components/gallery. This is not in public_html don't know if that's the issue.]]>
sheils Mar 21, 2019, 07:57 PM https://forums.modx.com/thread/104984/modx-gallery-fail-to-open-core-components-gallery-controllers-class-php-file#dis-post-564536
<![CDATA[Re: MODX Gallery fail to open ..//core/components/gallery/controllers/.class.php file]]> https://forums.modx.com/thread/104984/modx-gallery-fail-to-open-core-components-gallery-controllers-class-php-file#dis-post-564518
Please look, if the core/components/gallery folder contains the same files as https://github.com/modxcms/Gallery/tree/develop/core/components/gallery and every file could be accessed by php.]]>
Jako Mar 20, 2019, 08:51 PM https://forums.modx.com/thread/104984/modx-gallery-fail-to-open-core-components-gallery-controllers-class-php-file#dis-post-564518
<![CDATA[Re: MODX Gallery fail to open ..//core/components/gallery/controllers/.class.php file]]> https://forums.modx.com/thread/104984/modx-gallery-fail-to-open-core-components-gallery-controllers-class-php-file#dis-post-564513
I check the transport package and the file is not there. Only think in the directory is an album directory and a home.class.php file.

Note, I have change the location and name of the core directory and moved it abovethe document root as follows:-

/home2/hostingaccount/core/domainname/packages/gallery-1.7.1-pl/modCategory/63ddbbe5bc41d255ab3f239a91202c1b/1/gallery/controllers

Not sure if that's the problem. Maybe I should install all the addons before doing the hardening.]]>
sheils Mar 20, 2019, 06:25 PM https://forums.modx.com/thread/104984/modx-gallery-fail-to-open-core-components-gallery-controllers-class-php-file#dis-post-564513
<![CDATA[Re: MODX Gallery fail to open ..//core/components/gallery/controllers/.class.php file]]> https://forums.modx.com/thread/104984/modx-gallery-fail-to-open-core-components-gallery-controllers-class-php-file#dis-post-564501
First take a look, if the according folder is extracted from the transport package in core/packages/gallery-xxx/modCategory/xxx/1/gallery/controllers/index.php. If it is not there, the unzip routine has issues on your host. If it is there, you simply could reinstall the package and look in the install log for issues. Maybe one of the folders is not writable.
]]>
Jako Mar 20, 2019, 07:55 AM https://forums.modx.com/thread/104984/modx-gallery-fail-to-open-core-components-gallery-controllers-class-php-file#dis-post-564501
<![CDATA[Re: MODX Gallery fail to open ..//core/components/gallery/controllers/.class.php file]]> https://forums.modx.com/thread/104984/modx-gallery-fail-to-open-core-components-gallery-controllers-class-php-file#dis-post-564500
I have set the log_deprecated System Setting to "No." and this stopped the previous error but now I get the following errors. I have check the directory and the index file is indeed missing. It is downloadable from somewhere.

[2019-03-20 06:00:35] (ERROR @ /../components/gallery/index.php : 22) PHP warning: include(../components/gallery/controllers/index.php): failed to open stream: No such file or directory

[2019-03-20 06:00:35] (ERROR @../components/gallery/index.php : 22) PHP warning: include(): Failed opening '../components/gallery/controllers/index.php' for inclusion (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear')


Cheers]]>
sheils Mar 20, 2019, 06:09 AM https://forums.modx.com/thread/104984/modx-gallery-fail-to-open-core-components-gallery-controllers-class-php-file#dis-post-564500
<![CDATA[Re: MODX Gallery fail to open ..//core/components/gallery/controllers/.class.php file]]> https://forums.modx.com/thread/104984/modx-gallery-fail-to-open-core-components-gallery-controllers-class-php-file#dis-post-564498 BobRay Mar 19, 2019, 09:25 PM https://forums.modx.com/thread/104984/modx-gallery-fail-to-open-core-components-gallery-controllers-class-php-file#dis-post-564498