Loading...
 
Skip to main content

trunk broken in next*.tiki.org sites due to Zend issue (zf1 to zf2?)

Status
Closed
Subject
trunk broken in next*.tiki.org sites due to Zend issue (zf1 to zf2?)
Version
15.x Regression
Category
  • Release Blocker
  • Error
  • Regression
  • Community projects
  • Dogfood on a *.tiki.org site
Feature
All / Undefined
Resolution status
Fixed or Solved
Submitted by
Xavier de Pedro
Volunteered to solve
Jonny Bradley
Lastmod by
Xavier de Pedro
Rating
(0)
Description

trunk broken in next*.tiki.org sites due to Zend issue (zf1 to zf2?)

Error type:

Copy to clipboard
Fatal error: Class 'Zend\Config\Ini' not found in /var/local/doc.tiki.org/www/db/tiki-db.php on line 97


Using latest trunk: r57094

To reproduce, try to visit
https://nextdev.tiki.orgQuestion
or
https://nextdoc.tiki.orgQuestion

etc

Solution

It turned out to be due to several reasons, mainly that the default php on that server was using 5.4, and the setup.sh script had been modified to allow that, but then the zf2 upgrade caused composer to require 5.5+ so it was failing, and the error was going nowhere.

Fixed by slightly improving setup.sh in r57126Question and then modifying line 110 to use php56 and not just "php". Seems ok now...


Thanks Jonny! (you're-da-man 😉 )
There is another issue breaking any login attempt for me, but this is another story, and I'll submit another bug report about it. Stay tuned! 😊

Please See:
https://dev.tiki.org/item5789Question

Importance
10 high
Easy to solve?
4
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5785
Created
Friday 01 January, 2016 23:55:20 UTC
by Xavier de Pedro
LastModif
Monday 11 January, 2016 08:37:05 UTC


Show PHP error messages