NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Failed to load encoded file *fixed in 1.3.11*


Joined: 25 Aug 2005
Posts: 18
Location: Petten, The Netherlands
Reply with quote
I have installed NuSphere PhpExpress 1.3.5(Apache/2.0.59 (Win32) PHP/5.2.0) and start my project. I get the next error:

Fatal error: Failed to load encoded file (C:\Program Files\Apache Group\Apache2\htdocs\NRG_Framework_NIN\classes\class_nrg_form.php)
failed to resolve parent class (nrg_window) in C:\Program Files\Apache Group\Apache2\htdocs\NRG_Framework_NIN\classes\class_nrg_mainpage.php on line 19

line 19:
include_once(sprintf('%s%s', PATH_CLASSES, 'class_nrg_form.php'));

Class nrg_form:

nrg_object
|
--nrg_window
|
--nrg_form

What's happening here?
View user's profileFind all posts by groothuisSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8328
Reply with quote
You may want to check if parent classes are available for all classes defined in class_nrg_form.php.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 25 Aug 2005
Posts: 18
Location: Petten, The Netherlands
Reply with quote
If I comment the PHPExpress extension in php.ini and restart Apache the project runs without any problems. In PhpED no debugging failures.
View user's profileFind all posts by groothuisSend private message


Joined: 25 Aug 2005
Posts: 18
Location: Petten, The Netherlands
Reply with quote
When I got the error I clear cache via PhpExpress(). Reload the page and the project runs the whole time without any error as long as Apache is running . I think it has something to do with the cache.
View user's profileFind all posts by groothuisSend private message


Joined: 25 Aug 2005
Posts: 18
Location: Petten, The Netherlands
Reply with quote
Version 1.13.11 installed. Problem solved. Thanks for the quick response! Very Happy Very Happy Very Happy
View user's profileFind all posts by groothuisSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8328
Reply with quote
Many thanks to RanGer. He supplied us with an excellent code sample which replicated the problem so we were able to fix it.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Failed to load encoded file *fixed in 1.3.11*
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic