[eluser]patak[/eluser]
Hi,
I found your extension and I am trying to build my own application.
The application is in directory www root and I have error while render template.
This is application tree
Code:
wwwroot
- /app/
-- /system/
--- /application/
---- /config/
---- /controllers/
----- viewlib.php
---- /and other standard folders and files of standard CI + your p12 templates files/
-- /templates/
--- /css/
--- /js/
--- /viewlib/
---- viewlib.php
--- content.php
--- document.php
--- header.php
--- footer.php
All files from your p12 package are unchanged except of views.php in config folder in which I change
Code:
$config['template_dir'] = "/templates/";
to
Code:
$config['template_dir'] = "/app/templates/";
When go to
http://localhost/app/index.php/viewlib I get this errors
Code:
A PHP Error was encountered
Severity: Warning
Message: include(C:/Users/patakj/Documents/vyvoj/xampp/htdocs/templates/document.php) [function.include]: failed to open stream: No such file or directory
Filename: libraries/View.php
Line Number: 121
A PHP Error was encountered
Severity: Warning
Message: include() [function.include]: Failed opening 'C:/Users/patakj/Documents/vyvoj/xampp/htdocs/templates/document.php' for inclusion (include_path='.;C:\Users\patakj\Documents\vyvoj\xampp\php\pear\')
Filename: libraries/View.php
Line Number: 121
When I change
Code:
$config['template_dir'] = "/app/templates/";
back to
Code:
$config['template_dir'] = "/templates/";
I get this error
Code:
Error: Template Directory Not Found!
Could any one suggest what can be wrong, please
Application without p12 extension is working fine.