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

HTML Page stays blank

 
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
svintges
Smarty n00b


Joined: 25 Jun 2003
Posts: 1

PostPosted: Wed Jun 25, 2003 3:22 pm    Post subject: HTML Page stays blank Reply with quote

Hi,

i've written a smarty based website. On my LAN it works fine (a linux webserver). When I install it on my server (windows) the page stays blank, i.e. it does send HTML but it is not what I made in my templates, it seems like a standard page.

Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>


Does anyone know what to do, I do not Crying or Very sad [/code]
Back to top
View user's profile Send private message
GraveDigger
Smarty Rookie


Joined: 27 Jun 2003
Posts: 5

PostPosted: Fri Jun 27, 2003 8:41 am    Post subject: I have exactly the same problem.... Reply with quote

Hi,
I'm struggeling with exactely the same effect for over a week now...

also, my provider already tried it as well yesterday with a complete fresh installation and the documentation available here... the result was exactely the same (at least it's not just me =)

anyway - here you will find some infos about the installation (phpinfo):
http://die.panzerkompanie.ch/cgi-bin/simple.php

if i build in some error's (like initialize some variables twice) I get an error-message (like supposed) but if everything is correct and should work - just a blank page....

there are no entries in the error.log of the php-engine...

any help ? please Confused

.Ralph
Back to top
View user's profile Send private message
sweatje
Smarty Regular


Joined: 17 Apr 2003
Posts: 70
Location: Bettendorf, Iowa, USA

PostPosted: Fri Jun 27, 2003 1:41 pm    Post subject: Reply with quote

This is the kind of problem I experience (non-Smarty related) when I have custom error handling enabled, and a PHP fatal error creeps into my code.

Perhaps try [php:1:410157fb9a]error_reporting(E_ALL);[/php:1:410157fb9a] as the first line of your script, and disable and set_error_handler() logic??
_________________
Jason
jsweat_php AT yahoo DOT com
Back to top
View user's profile Send private message
GraveDigger
Smarty Rookie


Joined: 27 Jun 2003
Posts: 5

PostPosted: Mon Jun 30, 2003 9:29 am    Post subject: Reply with quote

oha, know I see at least some errors....

Code:
Warning: Smarty error: problem writing temporary file 'templates_c\%%117\%%1172603085/3f0001fe1df35' in d:\www\www970\_smarty\Smarty.class.php on line 1042


at least I can do some further investigation....

which stops here
Code:
Fatal error: Failed opening required 'd:\www\www970\cgi-bin\libs\Smarty.class.php' (include_path='.;c:\php4\pear') in d:\www\www970\cgi-bin\setup.php on line 6


line five and six is:
Code:
define('SMARTY_DIR','d:\\www\\www970\\cgi-bin\\libs\\');
require(SMARTY_DIR.'Smarty.class.php');



thnks sweatje

.Ralph
Back to top
View user's profile Send private message
Reformed
Smarty Rookie


Joined: 16 Jul 2003
Posts: 24

PostPosted: Sat Jul 19, 2003 1:47 am    Post subject: Reply with quote

Was there ever any resolution to this problem. I'm experiencing it too and have a clue what's causing it.
Back to top
View user's profile Send private message Send e-mail
GraveDigger
Smarty Rookie


Joined: 27 Jun 2003
Posts: 5

PostPosted: Mon Jul 21, 2003 7:39 am    Post subject: Reply with quote

>> error_reporting(E_ALL);

well, as said, the command above startet to show stuff (mainly errors =)

but after some more reviews on the code - which was still verry buggy (my configurationfiles and stuff) everything started to work =)

.Ralph
Back to top
View user's profile Send private message
reformed1
Smarty Rookie


Joined: 13 Jun 2003
Posts: 19
Location: Sunny Phoenix, AZ

PostPosted: Mon Jul 21, 2003 8:33 am    Post subject: Reply with quote

My error still remains a mystery and always will because I'm back on my OS X machine. I should have known better than trying to Windows to develop Very Happy . I did change error reporting and the problem remained. Thanks to everyone for the suggestions.
_________________
We are no longer the knights who say......nee!
Back to top
View user's profile Send private message Visit poster's website
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