View previous topic :: View next topic |
Author |
Message |
svintges Smarty n00b
Joined: 25 Jun 2003 Posts: 1
|
Posted: Wed Jun 25, 2003 3:22 pm Post subject: HTML Page stays blank |
|
|
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 [/code] |
|
Back to top |
|
GraveDigger Smarty Rookie
Joined: 27 Jun 2003 Posts: 5
|
Posted: Fri Jun 27, 2003 8:41 am Post subject: I have exactly the same problem.... |
|
|
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
.Ralph |
|
Back to top |
|
sweatje Smarty Regular
Joined: 17 Apr 2003 Posts: 70 Location: Bettendorf, Iowa, USA
|
Posted: Fri Jun 27, 2003 1:41 pm Post subject: |
|
|
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 |
|
GraveDigger Smarty Rookie
Joined: 27 Jun 2003 Posts: 5
|
Posted: Mon Jun 30, 2003 9:29 am Post subject: |
|
|
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 |
|
Reformed Smarty Rookie
Joined: 16 Jul 2003 Posts: 24
|
Posted: Sat Jul 19, 2003 1:47 am Post subject: |
|
|
Was there ever any resolution to this problem. I'm experiencing it too and have a clue what's causing it. |
|
Back to top |
|
GraveDigger Smarty Rookie
Joined: 27 Jun 2003 Posts: 5
|
Posted: Mon Jul 21, 2003 7:39 am Post subject: |
|
|
>> 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 |
|
reformed1 Smarty Rookie
Joined: 13 Jun 2003 Posts: 19 Location: Sunny Phoenix, AZ
|
Posted: Mon Jul 21, 2003 8:33 am Post subject: |
|
|
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 . 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 |
|
|