Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

help, have nothing on screen after run the demo code!

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup
View previous topic :: View next topic  
Author Message
compass
Smarty n00b


Joined: 08 Sep 2003
Posts: 1

PostPosted: Mon Sep 08, 2003 9:09 am    Post subject: help, have nothing on screen after run the demo code! Reply with quote

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
View user's profile Send private message
CirTap
Smarty Pro


Joined: 04 Jun 2003
Posts: 106

PostPosted: Mon Sep 08, 2003 12:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP