Page 1 of 1

(SOLVED) Smarty error and blank screen 1.9 and some lower versions

Posted: Sat Nov 20, 2010 7:21 pm
by digihlp
This fix resolves smarty errors on the install and blank page at admin or site. The problem is that zend.ze1_compatibility is deprecated you must turn it off in your Php.Ini file in /etc
I ran into this problem after updating my mysql,PHP,apache on my production server
From PHP ERROR.log

Sat Nov 20 14:05:33 2010] [error] [client XX.XXX.XXX.XXX]

PHP Warning:  require_once(/home/digihlp/public_html/lib/misc.functions.php) [function.require-once]: failed to open stream: No such file or directory in /home/digihlp/public_html/install/index.php on line 34
[Sat Nov 20 14:05:33 2010] [error] [client XX.XXX.XXX.XXX] PHP Fatal error:  require_once() [function.require]: Failed opening required '/home/digihlp/public_html/lib/misc.functions.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/digihlp/public_html/install/index.php on line 34
[Sat Nov 20 14:07:33 2010] [error] [client XX.XXX.XXX.XXX] PHP Fatal error:  Trying to clone an uncloneable object of class RegexIterator in /home/digihlp/public_html/cm8/lib/classes/class.CmsRegularTaskHandler.php on line 62, referer: http://www.digihlp.com/cm8/install/index.php
[Sat Nov 20 14:07:42 2010] [error] [client XX.XXX.XXX.XXX] PHP Fatal error:  Trying to clone an uncloneable object of class RegexIterator in /home/digihlp/public_html/cm8/lib/classes/class.CmsRegularTaskHandler.php on line 62, referer: http://www.digihlp.com/cm8/install/index.php

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                         THIS IS THE ERROR
PHP Fatal error:  Trying to clone an uncloneable object of class RegexIterator in /home/digihlp/public_html/cm8/lib/classes/class.CmsRegularTaskHandler.php on line 62,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                         THIS IS THE FIX
Fatal error: Trying to clone an uncloneable object of class -
If this error occurs you must turn off the zend.ze1_compatibility_mode setting in your PHP configuration."
Add the following line to the beginning of your CMSMS config.php file:

<?php
ini_set('zend.ze1_compatibility_mode', 0);

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                  THIS IS IN THE PHP.INI IN /ETC

; Language Options ;
;;;;;;;;;;;;;;;;;;;;

; Enable the PHP scripting language engine under Apache.
engine = On              

; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
zend.ze1_compatibility_mode = On

XXXXXXXXXXXXXXXXXX THE FIX XXXXXXXXXXXX

zend.ze1_compatibility_mode = Off   CHANGED THIS FROM ON
TO   OFF

RESTART APACHE