|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
Smarty for Beginners Tutorial Question
Cannot finish tutorial because cannot get program to run.
Am running Windows XP home edition and have Apache/PHP 4.2.3/MySQL 4.0.0 installed. When my local server is running I just have to type http://localhost/whicheverfolderIwant/index.php and the application runs, no problem. Have tried many paths in the libs.inc.php and none seem to work. Always getting error messages. Here's the latest; Fatal error: Failed opening required '/home/username/smarty/Smarty.class.php' (include_path='.;C:/phpdev/php/includes;C:/phpdev/php/class') in c:phpdevwwwsmartyruleslibs.inc.php on line 12 Anyway, hope this info helps and that you can help me get started so I can finish tutorial and move on. |
|
#2
|
|||
|
|||
|
RE: Smarty for Beginners Tutorial Question
Problem solved.
Put define ("SMARTY_DIR", "c:/Smarty-2.6.3/Smarty/"); into line 10 of libs.inc.php and it's working. |
![]() |
| Viewing: Codewalkers Forums > Other > Tutorials > Smarty for Beginners Tutorial Question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
![]() |
|