Re: Problem with 1.4.0 and Win32 platform
| From: | Monte Ohrt | Date: | Mon, 07 May 2001 21:16:31 +0000 |
| Subject: | Re: Problem with 1.4.0 and Win32 platform | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-694@lists.php.net to get a copy of this message | ||
Try removing FLOCK calls, that is still a problem in win98.
remove this IF condition in the Smarty.class.php, just do it no matter
what:
if (flock($fd, LOCK_EX) && ftruncate($fd, 0))
syber wrote:
>
> Win32 (win98)
> Apache 1.3.19
> PHP 4.0.5
> Caching turned off
> Default configuration.
> I used yours examples and the same configuration for both release.
>
> [1.3.2]
> All work...
>
> [1.4.0]
> - Pear :
> Unlike 1.3.2 release, if I don't include pear.php (in the same directory
> or using php.ini), I've not error on display.
> That's strange because Config_File.class.php don't change (only @php.net ;-)
>
> - Problem :
> Nothing display, but I've no error so hard to debug..
> Only standard header on source index.tpl in ./templates_c
> <META http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1">
> Exclusive file locking problem ?
>
> Hope you can help me.
>
> Sylvain.B.
>
> PS : sorry for my bad english.
>
> " In a world without walls and borders who need windows and gates "
>
>
> ______________________________________________________________________________
> ifrance.com, l'email gratuit le plus complet de l'Internet !
> vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
> http://www.ifrance.com/_reloc/email.emailif
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/