<![CDATA[ Fatal error: Class 'Smarty_Internal_Compile_foreach' not found in Modx Install process - My Forums]]> https://forums.modx.com/thread/?thread=102995 <![CDATA[Fatal error: Class 'Smarty_Internal_Compile_foreach' not found in Modx Install process]]> https://forums.modx.com/thread/102995/fatal-error-class-smarty-internal-compile-foreach-not-found-in-modx-install-process#dis-post-554533 Fatal error: Class 'Smarty_Internal_Compile_foreach' not found in /kunden/175516_65428/webseiten/dev/modx-2.5.8-pl/core/model/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 750

I get this each time I type in the Admin fields (Admin username, email, password) in the pre-install process. After that I get this error line and nothing happens.
Everything before worked. Connection to the db worked....

Didn't find anything in the net about this error line. I am trying to install modx 2.5.8 in a sub directory on my site to do a new design.

I hope that someone has a clue about this annoying error in the install process.]]>
amcikkerim Oct 16, 2017, 01:34 AM https://forums.modx.com/thread/102995/fatal-error-class-smarty-internal-compile-foreach-not-found-in-modx-install-process#dis-post-554533
<![CDATA[Re: Fatal error: Class 'Smarty_Internal_Compile_foreach' not found in Modx Install process]]> https://forums.modx.com/thread/102995/fatal-error-class-smarty-internal-compile-foreach-not-found-in-modx-install-process#dis-post-554563
Be sure you delete all files in the core/cache directory before running setup, and again whenever you make a change to the config files.

If you copied the .htaccess file to the subdirectory, it may need to be modified or temporarily renamed.

Since you are moving the site, your browser cache or cookies could also be an issue.

Once you get the Manager working, make sure the base href tag in all templates looks like this (with the exclamation point):

<base href="[[!++site_url]]" />


]]>
BobRay Oct 16, 2017, 10:59 PM https://forums.modx.com/thread/102995/fatal-error-class-smarty-internal-compile-foreach-not-found-in-modx-install-process#dis-post-554563