Upgraded Zend Framework; raised PHP requirement

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Upgraded Zend Framework; raised PHP requirement

Demian Katz

Hello,

 

It’s been a long time coming, but VuFind’s master branch has finally been updated to use newer Zend Framework components and to depend on PHP version 5.6 or higher:

 

https://github.com/vufind-org/vufind/commit/397103b59c25b2a7469203fe61bf81c65694d57b

 

Over the coming days, I will be working on updating some of VuFind’s other dependencies to bring everything up to date. Please make sure your development environment supports a new enough version of PHP before pulling the latest master, and please let me know if you run into any problems as a result of the various dependency upgrades.

 

Thanks for your support – I am excited to once again be able to devote some time to modernization of VuFind.

 

- Demian


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Vufind-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-tech
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Upgraded Zend Framework; raised PHP requirement

Günter Hipler

Hi Demian,

very nice! I just tried to merge the latest master with our current development branch. Merging process was fine.

I had to do two adaptations.
https://github.com/swissbib/vufind/commit/0e2aebcb1b8d53fa61eba50afc5f84478c2605e7

The reason here: because we use the classload - autoloader mechanism (don't know if VuFind core support it in the meantime) and the ZendFramework directory structure changed I had to switch off the mechanism for the framework libraries.

Another error which is caused by the VuFind module and related to the translations mechanism. Perhaps I can take a look into it tomorrow.


 Message: Could not find or open file vendor/zendframework/zendframework/resources/languages/en/Zend_Validate.php for reading
Backtrace:

#0 /usr/local/vufind/httpd/vendor/zendframework/zend-i18n/src/Translator/Translator.php(700): Zend\I18n\Translator\Loader\PhpArray->load('en', 'vendor/zendfram...')
#1 /usr/local/vufind/httpd/vendor/zendframework/zend-i18n/src/Translator/Translator.php(574): Zend\I18n\Translator\Translator->loadMessagesFromFiles('default', 'en')
#2 /usr/local/vufind/httpd/vendor/zendframework/zend-i18n/src/Translator/Translator.php(442): Zend\I18n\Translator\Translator->loadMessages('default', 'en')
#3 /usr/local/vufind/httpd/vendor/zendframework/zend-i18n/src/Translator/Translator.php(356): Zend\I18n\Translator\Translator->getTranslatedMessage('Search Home', 'en', 'default')
#4 /usr/local/vufind/httpd/vendor/zendframework/zend-mvc/src/I18n/Translator.php(73): Zend\I18n\Translator\Translator->translate('Search Home', 'default', 'en')
#5 /usr/local/vufind/httpd/module/VuFind/src/VuFind/I18n/Translator/TranslatorAwareTrait.php(139): Zend\Mvc\I18n\Translator->translate('Search Home', 'default')
#6 /usr/local/vufind/httpd/module/VuFind/src/VuFind/I18n/Translator/TranslatorAwareTrait.php(120): VuFind\View\Helper\Root\Translate->translateString('Search Home', Array, NULL, 'default')
#7 /usr/local/vufind/httpd/module/VuFind/src/VuFind/View/Helper/Root/Translate.php(56): VuFind\View\Helper\Root\Translate->translate('Search Home', Array, NULL)
#8 [internal function]: VuFind\View\Helper\Root\Translate->__invoke('Search Home')
#9 /usr/local/vufind/httpd/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php(394): call_user_func_array(Object(VuFind\View\Helper\Root\Translate), Array)
#10 /usr/local/vufind/httpd/themes/sbvfrd/templates/search/home.phtml(3): Zend\View\Renderer\PhpRenderer->__call('translate', Array)
#11 /usr/local/vufind/httpd/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php(502): include('/usr/local/vufi...')
#12 /usr/local/vufind/httpd/vendor/zendframework/zend-view/src/View.php(207): Zend\View\Renderer\PhpRenderer->render()
#13 /usr/local/vufind/httpd/vendor/zendframework/zend-view/src/View.php(236): Zend\View\View->render(Object(Zend\View\Model\ViewModel))
#14 /usr/local/vufind/httpd/vendor/zendframework/zend-view/src/View.php(200): Zend\View\View->renderChildren(Object(Zend\View\Model\ViewModel))
#15 /usr/local/vufind/httpd/vendor/zendframework/zend-mvc/src/View/Http/DefaultRenderingStrategy.php(103): Zend\View\View->render(Object(Zend\View\Model\ViewModel))
#16 [internal function]: Zend\Mvc\View\Http\DefaultRenderingStrategy->render(Object(Zend\Mvc\MvcEvent))
#17 /usr/local/vufind/httpd/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#18 /usr/local/vufind/httpd/vendor/zendframework/zend-eventmanager/src/EventManager.php(214): Zend\EventManager\EventManager->triggerListeners('render', Object(Zend\Mvc\MvcEvent), Array)
#19 /usr/local/vufind/httpd/vendor/zendframework/zend-mvc/src/Application.php(353): Zend\EventManager\EventManager->trigger('render', Object(Zend\Mvc\MvcEvent))
#20 /usr/local/vufind/httpd/vendor/zendframework/zend-mvc/src/Application.php(328): Zend\Mvc\Application->completeRequest(Object(Zend\Mvc\MvcEvent))
#21 /usr/local/vufind/httpd/public/index.php(81): Zend\Mvc\Application->run()
#22 {main} 


Günter



On 24.01.2017 15:04, Demian Katz wrote:

Hello,

 

It’s been a long time coming, but VuFind’s master branch has finally been updated to use newer Zend Framework components and to depend on PHP version 5.6 or higher:

 

https://github.com/vufind-org/vufind/commit/397103b59c25b2a7469203fe61bf81c65694d57b

 

Over the coming days, I will be working on updating some of VuFind’s other dependencies to bring everything up to date. Please make sure your development environment supports a new enough version of PHP before pulling the latest master, and please let me know if you run into any problems as a result of the various dependency upgrades.

 

Thanks for your support – I am excited to once again be able to devote some time to modernization of VuFind.

 

- Demian



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot


_______________________________________________
Vufind-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-tech

-- 

UNIVERSITÄT BASEL
Universitätsbibliothek
Günter Hipler
Projekt swissbib
Schönbeinstrasse 18-20
4056 Basel, Schweiz
Tel.: +41 61 207 31 12
Fax: +41 61 267 31 03
E-Mail [hidden email]
URL www.swissbib.org

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Vufind-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-tech
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Upgraded Zend Framework; raised PHP requirement

Günter Hipler

Oh sorry - I already saw it,

https://github.com/swissbib/vufind/blob/core2swissbib_manually/module/Swissbib/src/Swissbib/Bootstrapper.php#L353

has to do something we initialize the translation mechanism in one of our Bootstrappers

Günter


On 24.01.2017 19:24, Günter Hipler wrote:

Hi Demian,

very nice! I just tried to merge the latest master with our current development branch. Merging process was fine.

I had to do two adaptations.
https://github.com/swissbib/vufind/commit/0e2aebcb1b8d53fa61eba50afc5f84478c2605e7

The reason here: because we use the classload - autoloader mechanism (don't know if VuFind core support it in the meantime) and the ZendFramework directory structure changed I had to switch off the mechanism for the framework libraries.

Another error which is caused by the VuFind module and related to the translations mechanism. Perhaps I can take a look into it tomorrow.


 Message: Could not find or open file vendor/zendframework/zendframework/resources/languages/en/Zend_Validate.php for reading
Backtrace:

#0 /usr/local/vufind/httpd/vendor/zendframework/zend-i18n/src/Translator/Translator.php(700): Zend\I18n\Translator\Loader\PhpArray->load('en', 'vendor/zendfram...')
#1 /usr/local/vufind/httpd/vendor/zendframework/zend-i18n/src/Translator/Translator.php(574): Zend\I18n\Translator\Translator->loadMessagesFromFiles('default', 'en')
#2 /usr/local/vufind/httpd/vendor/zendframework/zend-i18n/src/Translator/Translator.php(442): Zend\I18n\Translator\Translator->loadMessages('default', 'en')
#3 /usr/local/vufind/httpd/vendor/zendframework/zend-i18n/src/Translator/Translator.php(356): Zend\I18n\Translator\Translator->getTranslatedMessage('Search Home', 'en', 'default')
#4 /usr/local/vufind/httpd/vendor/zendframework/zend-mvc/src/I18n/Translator.php(73): Zend\I18n\Translator\Translator->translate('Search Home', 'default', 'en')
#5 /usr/local/vufind/httpd/module/VuFind/src/VuFind/I18n/Translator/TranslatorAwareTrait.php(139): Zend\Mvc\I18n\Translator->translate('Search Home', 'default')
#6 /usr/local/vufind/httpd/module/VuFind/src/VuFind/I18n/Translator/TranslatorAwareTrait.php(120): VuFind\View\Helper\Root\Translate->translateString('Search Home', Array, NULL, 'default')
#7 /usr/local/vufind/httpd/module/VuFind/src/VuFind/View/Helper/Root/Translate.php(56): VuFind\View\Helper\Root\Translate->translate('Search Home', Array, NULL)
#8 [internal function]: VuFind\View\Helper\Root\Translate->__invoke('Search Home')
#9 /usr/local/vufind/httpd/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php(394): call_user_func_array(Object(VuFind\View\Helper\Root\Translate), Array)
#10 /usr/local/vufind/httpd/themes/sbvfrd/templates/search/home.phtml(3): Zend\View\Renderer\PhpRenderer->__call('translate', Array)
#11 /usr/local/vufind/httpd/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php(502): include('/usr/local/vufi...')
#12 /usr/local/vufind/httpd/vendor/zendframework/zend-view/src/View.php(207): Zend\View\Renderer\PhpRenderer->render()
#13 /usr/local/vufind/httpd/vendor/zendframework/zend-view/src/View.php(236): Zend\View\View->render(Object(Zend\View\Model\ViewModel))
#14 /usr/local/vufind/httpd/vendor/zendframework/zend-view/src/View.php(200): Zend\View\View->renderChildren(Object(Zend\View\Model\ViewModel))
#15 /usr/local/vufind/httpd/vendor/zendframework/zend-mvc/src/View/Http/DefaultRenderingStrategy.php(103): Zend\View\View->render(Object(Zend\View\Model\ViewModel))
#16 [internal function]: Zend\Mvc\View\Http\DefaultRenderingStrategy->render(Object(Zend\Mvc\MvcEvent))
#17 /usr/local/vufind/httpd/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#18 /usr/local/vufind/httpd/vendor/zendframework/zend-eventmanager/src/EventManager.php(214): Zend\EventManager\EventManager->triggerListeners('render', Object(Zend\Mvc\MvcEvent), Array)
#19 /usr/local/vufind/httpd/vendor/zendframework/zend-mvc/src/Application.php(353): Zend\EventManager\EventManager->trigger('render', Object(Zend\Mvc\MvcEvent))
#20 /usr/local/vufind/httpd/vendor/zendframework/zend-mvc/src/Application.php(328): Zend\Mvc\Application->completeRequest(Object(Zend\Mvc\MvcEvent))
#21 /usr/local/vufind/httpd/public/index.php(81): Zend\Mvc\Application->run()
#22 {main} 


Günter



On 24.01.2017 15:04, Demian Katz wrote:

Hello,

 

It’s been a long time coming, but VuFind’s master branch has finally been updated to use newer Zend Framework components and to depend on PHP version 5.6 or higher:

 

https://github.com/vufind-org/vufind/commit/397103b59c25b2a7469203fe61bf81c65694d57b

 

Over the coming days, I will be working on updating some of VuFind’s other dependencies to bring everything up to date. Please make sure your development environment supports a new enough version of PHP before pulling the latest master, and please let me know if you run into any problems as a result of the various dependency upgrades.

 

Thanks for your support – I am excited to once again be able to devote some time to modernization of VuFind.

 

- Demian



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot


_______________________________________________
Vufind-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-tech

-- 

UNIVERSITÄT BASEL
Universitätsbibliothek
Günter Hipler
Projekt swissbib
Schönbeinstrasse 18-20
4056 Basel, Schweiz
Tel.: +41 61 207 31 12
Fax: +41 61 267 31 03
E-Mail [hidden email]
URL www.swissbib.org


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot


_______________________________________________
Vufind-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-tech

-- 

UNIVERSITÄT BASEL
Universitätsbibliothek
Günter Hipler
Projekt swissbib
Schönbeinstrasse 18-20
4056 Basel, Schweiz
Tel.: +41 61 207 31 12
Fax: +41 61 267 31 03
E-Mail [hidden email]
URL www.swissbib.org

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Vufind-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-tech
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Upgraded Zend Framework; raised PHP requirement

Demian Katz

Great, glad to hear the impact isn’t too severe!

 

- Demian

 

From: Günter Hipler [mailto:[hidden email]]
Sent: Tuesday, January 24, 2017 1:31 PM
To: [hidden email]
Subject: Re: [VuFind-Tech] Upgraded Zend Framework; raised PHP requirement

 

Oh sorry - I already saw it,

https://github.com/swissbib/vufind/blob/core2swissbib_manually/module/Swissbib/src/Swissbib/Bootstrapper.php#L353

has to do something we initialize the translation mechanism in one of our Bootstrappers

Günter

 

On 24.01.2017 19:24, Günter Hipler wrote:

Hi Demian,

very nice! I just tried to merge the latest master with our current development branch. Merging process was fine.

I had to do two adaptations.
https://github.com/swissbib/vufind/commit/0e2aebcb1b8d53fa61eba50afc5f84478c2605e7

The reason here: because we use the classload - autoloader mechanism (don't know if VuFind core support it in the meantime) and the ZendFramework directory structure changed I had to switch off the mechanism for the framework libraries.

Another error which is caused by the VuFind module and related to the translations mechanism. Perhaps I can take a look into it tomorrow.


 Message: Could not find or open file vendor/zendframework/zendframework/resources/languages/en/Zend_Validate.php for reading
Backtrace:

#0 /usr/local/vufind/httpd/vendor/zendframework/zend-i18n/src/Translator/Translator.php(700): Zend\I18n\Translator\Loader\PhpArray->load('en', 'vendor/zendfram...')
#1 /usr/local/vufind/httpd/vendor/zendframework/zend-i18n/src/Translator/Translator.php(574): Zend\I18n\Translator\Translator->loadMessagesFromFiles('default', 'en')
#2 /usr/local/vufind/httpd/vendor/zendframework/zend-i18n/src/Translator/Translator.php(442): Zend\I18n\Translator\Translator->loadMessages('default', 'en')
#3 /usr/local/vufind/httpd/vendor/zendframework/zend-i18n/src/Translator/Translator.php(356): Zend\I18n\Translator\Translator->getTranslatedMessage('Search Home', 'en', 'default')
#4 /usr/local/vufind/httpd/vendor/zendframework/zend-mvc/src/I18n/Translator.php(73): Zend\I18n\Translator\Translator->translate('Search Home', 'default', 'en')
#5 /usr/local/vufind/httpd/module/VuFind/src/VuFind/I18n/Translator/TranslatorAwareTrait.php(139): Zend\Mvc\I18n\Translator->translate('Search Home', 'default')
#6 /usr/local/vufind/httpd/module/VuFind/src/VuFind/I18n/Translator/TranslatorAwareTrait.php(120): VuFind\View\Helper\Root\Translate->translateString('Search Home', Array, NULL, 'default')
#7 /usr/local/vufind/httpd/module/VuFind/src/VuFind/View/Helper/Root/Translate.php(56): VuFind\View\Helper\Root\Translate->translate('Search Home', Array, NULL)
#8 [internal function]: VuFind\View\Helper\Root\Translate->__invoke('Search Home')
#9 /usr/local/vufind/httpd/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php(394): call_user_func_array(Object(VuFind\View\Helper\Root\Translate), Array)
#10 /usr/local/vufind/httpd/themes/sbvfrd/templates/search/home.phtml(3): Zend\View\Renderer\PhpRenderer->__call('translate', Array)
#11 /usr/local/vufind/httpd/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php(502): include('/usr/local/vufi...')
#12 /usr/local/vufind/httpd/vendor/zendframework/zend-view/src/View.php(207): Zend\View\Renderer\PhpRenderer->render()
#13 /usr/local/vufind/httpd/vendor/zendframework/zend-view/src/View.php(236): Zend\View\View->render(Object(Zend\View\Model\ViewModel))
#14 /usr/local/vufind/httpd/vendor/zendframework/zend-view/src/View.php(200): Zend\View\View->renderChildren(Object(Zend\View\Model\ViewModel))
#15 /usr/local/vufind/httpd/vendor/zendframework/zend-mvc/src/View/Http/DefaultRenderingStrategy.php(103): Zend\View\View->render(Object(Zend\View\Model\ViewModel))
#16 [internal function]: Zend\Mvc\View\Http\DefaultRenderingStrategy->render(Object(Zend\Mvc\MvcEvent))
#17 /usr/local/vufind/httpd/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#18 /usr/local/vufind/httpd/vendor/zendframework/zend-eventmanager/src/EventManager.php(214): Zend\EventManager\EventManager->triggerListeners('render', Object(Zend\Mvc\MvcEvent), Array)
#19 /usr/local/vufind/httpd/vendor/zendframework/zend-mvc/src/Application.php(353): Zend\EventManager\EventManager->trigger('render', Object(Zend\Mvc\MvcEvent))
#20 /usr/local/vufind/httpd/vendor/zendframework/zend-mvc/src/Application.php(328): Zend\Mvc\Application->completeRequest(Object(Zend\Mvc\MvcEvent))
#21 /usr/local/vufind/httpd/public/index.php(81): Zend\Mvc\Application->run()
#22 {main} 


Günter


On 24.01.2017 15:04, Demian Katz wrote:

Hello,

 

It’s been a long time coming, but VuFind’s master branch has finally been updated to use newer Zend Framework components and to depend on PHP version 5.6 or higher:

 

https://github.com/vufind-org/vufind/commit/397103b59c25b2a7469203fe61bf81c65694d57b

 

Over the coming days, I will be working on updating some of VuFind’s other dependencies to bring everything up to date. Please make sure your development environment supports a new enough version of PHP before pulling the latest master, and please let me know if you run into any problems as a result of the various dependency upgrades.

 

Thanks for your support – I am excited to once again be able to devote some time to modernization of VuFind.

 

- Demian




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot




_______________________________________________
Vufind-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-tech



-- 
 
UNIVERSITÄT BASEL
Universitätsbibliothek
Günter Hipler
Projekt swissbib
Schönbeinstrasse 18-20
4056 Basel, Schweiz
Tel.: +41 61 207 31 12
Fax: +41 61 267 31 03
E-Mail [hidden email]
URL www.swissbib.org




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot




_______________________________________________
Vufind-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-tech



-- 
 
UNIVERSITÄT BASEL
Universitätsbibliothek
Günter Hipler
Projekt swissbib
Schönbeinstrasse 18-20
4056 Basel, Schweiz
Tel.: +41 61 207 31 12
Fax: +41 61 267 31 03
E-Mail [hidden email]
URL www.swissbib.org

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Vufind-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-tech
Loading...