On a linux server, PHP 5.2.13, Apache/2.2.15 (Fedora) all checks show the green checkmark.
After the initial language choice screen, en_US selected, all subsequent pages are filled with smarty errors like:
Smarty_Compiler.class.php, line 590)" string(124) "Smarty error: [in install2.tpl line 47]: syntax error: unrecognized tag 'lang_install'
On the same server, in different subdirs, I can install versions 1.7 to 1.8.2 without a problem, but 1.9 has all of these errors.
In looking through the PHP Info, I noticed this difference on the 1.9 version in the HTTP Response Headers section:
Set-Cookie cms_language=deleted; expires=Wed, 18-Nov-2009 23:03:19 GMT
which is what happens when an empty string is passed by setcookie.
Any ideas why this would be happening?
Any solutions?
Nullig
Bizarre 1.9 Installation Problem
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Bizarre 1.9 Installation Problem
the lang_install smarty function is very clearly registered in the install.php
Have you done a checksum verification/re-upload the files?
Have you done a checksum verification/re-upload the files?
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Bizarre 1.9 Installation Problem
Checksum verifies correctly.
I've reuploaded the archive and unzipped it, reuploaded the unzipped files via FTP, but still the same errors.
Nullig
I've reuploaded the archive and unzipped it, reuploaded the unzipped files via FTP, but still the same errors.
Nullig
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Bizarre 1.9 Installation Problem
this is strange, something I haven't seen before. I went through the upgrade procedure yesterday about 5 times and didn't have the problem. Others have gone through the install process numerous times.
Maybe it's a problem with the package itself.. but if you put some debug lines in the install.php you should see what it's doing, and be able to see the functions in the install/lang.php
Maybe it's a problem with the package itself.. but if you put some debug lines in the install.php you should see what it's doing, and be able to see the functions in the install/lang.php
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Bizarre 1.9 Installation Problem
I know. I've done about 60 upgrades/installs of 1.9 on a variety of platforms and I've never seen this problem before.
What would you suggest for debug lines?
Nullig
What would you suggest for debug lines?
Nullig
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Bizarre 1.9 Installation Problem
@NullG contact me on IRC I'll see if I can't figure this out.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
(SOLVED) Smarty error and blank screen 1.9 and some lower versions
thanks is given to Nullig for all his patience
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
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
Re: Bizarre 1.9 Installation Problem
And thanks to Calguy for finding a patch that worked.
Nullig
Nullig