Tuesday 24 January 2012 4:46:57 pm - 2 replies
Hi eZ Publish Community !
I have created a module view that adds some fonctionalities in a tab on my back-office. My module works fine on my validation platform.
The problem was when i wanted to use it on my production platform. The screen said :
<strong>Fatal error</strong>: eZ Publish did not finish its request
The logs said :
PHP Fatal error: Class 'eZDebug' not found
But my module doesn't use eZDebug.
After few tests, this problem arrive when I want to instance one of my object. But this object is in the autoload map and this object does nott use eZ Debug.
Have you any idea ?
Can I have access to the autoload in a module view ?
For information, my production platform works fine other than that, it has some others modules that add tabs in my back-office.
Thanks for your help.
See you,
Thomas.
Thursday 26 January 2012 12:50:17 pm
Can I have access to the autoload in a module view ?
If you mean being able to instantiate an object based on a class which is in the eZ Publish generated autoload files, then the answer is yes.
Strange behavior by the way. My first idea was to tell you regenerate your autoloads, but it looks like that you've already tried this...
Sorry for not helping you more than that ![]()
Thursday 26 January 2012 6:28:58 pm
Hi Arnaud !
Thanks for your answer ![]()
I just found the source of my problem !
My host added an PHP accelerator.
I did not found it sooner, because it was not APC, but X-Cache.
If you have this kind of problem, you can see your system informations in your eZ Publish administration, via the URI "/setup/info".
In this page, you can see if there are or not an accelerator PHP.
Thanks for your help,
Thomas.
You must be logged in to post messages in this topic!