Home » HTML » HTML_Template_Flexy » Bug #1817
Introduction example does not work
Details
| Submitted | 2004-07-07 23:00 UTC |
|---|---|
| From | aemadrid at gmail dot com |
| Assigned | alan_k |
| Status | Closed |
| Package | HTML_Template_Flexy |
| PHP Version | 4.3.7 |
| OS | Linux RH 2.1AS |
| Roadmaps | (Not assigned) |
Comments
[2004-07-07 23:00 UTC] aemadrid at gmail dot com
Description:
------------
I'm trying to run the Introduction code and I'm getting an error for a non existing class. I have modified the ini file to include actual directories and hade to include. I had to also include PEAR.php because it was complaining about it (Fatal error: Undefined class name 'pear' in /home/hyperxmedia.net/public_html/flexy/index.php on line 6).
I'm using the latest release of Flexy (0.9.2).
Reproduce code:
---------------
[34] $this->elements['input'] = new HTML_Template_Flexy_Element;
Expected result:
----------------
The compiled html code.
Actual result:
--------------
Fatal error: Cannot instantiate non-existent class: html_template_flexy_element in /home/hyperxmedia.net/public_html/flexy/index.php on line 34
[2004-07-08 15:47 UTC] aemadrid at gmail dot com
Thanks for the information. I suspected it. Is there a tutorial anywhere? Looking at the tests there seems to be a bunch of different syntaxes supported. It'd be great to have a tutorial explaining all these features and when are better used. BTW, I had to comment out line #51 (array_shift($a);) to make the tests work.