Comments (13)
Hi mate, I'm currently still running everything on PHP 7.2 and likely won't change to 7.4 for another half a year. However when I tested swapping over to 7.4 inside my docker container a little while ago I don't remember having any issues.
I notice in your stack trace that the issue seems to be happening in your OrchAuth plugin though so that's likely where you need to look.
I'd recommend you set up xdebug and step through so you can try to figure out what's working differently for you when compared to the previous version you were using.
Hi mate,
Its working fine now actually had some application level misconfiguration. Fixed those and now its runing. So closing this issue.
KEEP UP THE GOOD WORK
from zf1-future.
Hi, do you have error reporting turned on?
On global level: error_reporting(E_ALL);
Or in application.ini -
; show errors and exceptions during development
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1
from zf1-future.
Hi,
All this settings are enabled.
from zf1-future.
Hi,
waiting for your reply.
from zf1-future.
Hi, thanks for the reminder. Well I think it should work also on PHP 7.4 but I don't have any machine to test it on. I am currently running ZF future on PHP 7.0.30 and PHP 7.1.2 and it works fine.
Can you post here phpinfo() and output of index page of your application? Also php_errors log would be nice, if it's available. There can be problem with configuration or something else on the server but it should give some output or errors when you start the application.
from zf1-future.
phpinfo details.
In index file i am just loading my bootstrap file with all application configuration.
And i am not getting any kind off error its just showing a white page.
from zf1-future.
ZF1-Future running fine on my PHP7.4 server.
Run your app and check the apache log file for errors.
from zf1-future.
ZF1-Future running fine on my PHP7.4 server.
Run your app and check the apache log file for errors.
Hi is there anyway through which i can check if the framework is loading up or not. Because i am not getting any kind of error.
from zf1-future.
ZF1-Future running fine on my PHP7.4 server.
Run your app and check the apache log file for errors.Hi is there anyway through which i can check if the framework is loading up or not. Because i am not getting any kind of error.
Can you check with Developer Tools? There can be some errors in html code or you should get at least some HTTP headers like this:
from zf1-future.
ZF1-Future running fine on my PHP7.4 server.
Run your app and check the apache log file for errors.Hi is there anyway through which i can check if the framework is loading up or not. Because i am not getting any kind of error.
Can you check with Developer Tools? There can be some errors in html code or you should get at least some HTTP headers like this:
In developer console it giving an error
THIS REQUEST HAS NO RESPONSE DATA AVAILABLE
from zf1-future.
Check your apache error log - as suggested by @gavinsbtm
from zf1-future.
Hi,
This is what i got
[04-Feb-2020 08:44:55 UTC] PHP 1. {main}() D:\wamp64\www\orchard\public\zf_index.php:0
[04-Feb-2020 08:44:55 UTC] PHP 2. Zend_Application->run() D:\wamp64\www\orchard\public\zf_index.php:11
[04-Feb-2020 08:44:55 UTC] PHP 3. Bootstrap->run() D:\wamp64\www\orchard\vendor\shardj\zf1-future\library\Zend\Application.php:384
[04-Feb-2020 08:44:55 UTC] PHP 4. Zend_Controller_Front->dispatch() D:\wamp64\www\orchard\vendor\shardj\zf1-future\library\Zend\Application\Bootstrap\Bootstrap.php:105
[04-Feb-2020 08:44:55 UTC] PHP 5. Zend_Controller_Plugin_Broker->preDispatch() D:\wamp64\www\orchard\vendor\shardj\zf1-future\library\Zend\Controller\Front.php:941
[04-Feb-2020 08:44:55 UTC] PHP 6. Web_Controller_Plugin_OrchAuth->preDispatch() D:\wamp64\www\orchard\vendor\shardj\zf1-future\library\Zend\Controller\Plugin\Broker.php:309
[04-Feb-2020 08:44:55 UTC] PHP 7. Service_UIManage->createUIRestrictions() D:\wamp64\www\orchard\library\Web\Controller\Plugin\OrchAuth.php:162
[04-Feb-2020 08:44:55 UTC] PHP 8. Model_UiRestrictions::getAllUiRestrictionByAccountType() D:\wamp64\www\orchard\src\Service\UIManage.php:31
[04-Feb-2020 08:44:55 UTC] PHP 9. Doctrine_Query::create() D:\wamp64\www\orchard\application\models\UiRestrictions.php:21
[04-Feb-2020 08:44:55 UTC] PHP 10. Doctrine_Query->__construct() D:\wamp64\www\orchard\vendor\siturra\doctrine1-php7\lib\Doctrine\Query.php:192
[04-Feb-2020 08:44:55 UTC] PHP 11. spl_autoload_call() D:\wamp64\www\orchard\vendor\siturra\doctrine1-php7\lib\Doctrine\Query\Abstract.php:292
[04-Feb-2020 08:44:55 UTC] PHP 12. Composer\Autoload\ClassLoader->loadClass() D:\wamp64\www\orchard\vendor\siturra\doctrine1-php7\lib\Doctrine\Query\Abstract.php:292
[04-Feb-2020 08:44:55 UTC] PHP 13. Composer\Autoload\includeFile() D:\wamp64\www\orchard\vendor\composer\ClassLoader.php:322
from zf1-future.
Hi mate, I'm currently still running everything on PHP 7.2 and likely won't change to 7.4 for another half a year. However when I tested swapping over to 7.4 inside my docker container a little while ago I don't remember having any issues.
I notice in your stack trace that the issue seems to be happening in your OrchAuth plugin though so that's likely where you need to look.
I'd recommend you set up xdebug and step through so you can try to figure out what's working differently for you when compared to the previous version you were using.
from zf1-future.
Related Issues (20)
- Newrelic + PHP 8.1 + ZF = E_WARNING HOT 1
- Setting the Request's `_dispatched` flag to `false` in a `preDispatch` hook leads to an infinite loop HOT 1
- Bootstrap error: Unable to resolve plugin "useragent"; no corresponding plugin with that name
- Undefined array key 1 in library/Zend/Db/Adapter/Abstract.php on line 817 HOT 1
- Fatal error: Uncaught Error: Class "Zend\Config\Factory" not found in /vendor/zendframework/zend-modulemanager/src/Listener/ConfigListener.php on line 376
- Documentation Error/Notices if locale is de_DE HOT 1
- Test/PHPUnit/ is not compatible with PHP8 method signatures...
- Zend_View_Helper_HeadLink notice using compact()
- Error on Zend_Auth_Adapter_DbTable with AmbiguityIdentity = true
- Member function process() on null HOT 3
- PHP8.3 unserialize(), double values in Zend_Cache meta files HOT 1
- Order of distinct and top is wrong HOT 1
- Zend_Validate::$zfBreakChainOnFailure is deprecated in /var/www/html/vendor/shardj/zf1-future/library/Zend/Form/Element.php on line 1229
- Implementation of Zend_Cache_Backend_TwoLevels::_getFastLifetime is incorrect.
- Select is always multiple HOT 2
- PHP version_compare Argument #3 ($operator) must be a valid comparison
- Zend_View: accessing view variables with value `null` throws error when `strictVars` is active
- add TLSv1_3
- deprecated passing null to strripos and rtrim with php 8.3 HOT 3
- Zend Session error when session.sid_bits_per_character change
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zf1-future.