|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
compass Smarty n00b
Joined: 08 Sep 2003 Posts: 1
|
Posted: Mon Sep 08, 2003 9:09 am Post subject: help, have nothing on screen after run the demo code! |
|
|
i only have the write permission in my home directory. i have copied libs in "/libs" and demo in "/demo", but i got nothing on screen. Why?
thanks a lot!
ps: index.php file in demo:
require '../libs/Smarty.class.php';
..... |
|
Back to top |
|
CirTap Smarty Pro
Joined: 04 Jun 2003 Posts: 106
|
Posted: Mon Sep 08, 2003 12:31 pm Post subject: |
|
|
Hi,
in index.php add
[php:1:c740417b4e]<?php
error_reporting(E_ALL);
require '../libs/Smarty.class.php';
// more stuff [/php:1:c740417b4e]
to find the problem, and make sure all your Smarty directories are properly configured.
If you can't figure it out by the PHP error message, which is likely to appear with strict error reporting, come back and post the errors PHP or Smarty gave you, as a blank screen can have various reasons.
CirTap |
|
Back to top |
|
|
|
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
|
Powered by phpBB © 2001, 2005 phpBB Group
|