Re: problems after upgrading to php5

[email protected] (Roberto Mansfield) Tue, 23 Oct 2007 10:19:49 -0400
Newsgroups php.smarty.general
Message-ID <[email protected]>
Jeff Mckeon wrote:
> I have a website that uses smarty that I've inherited.
> 
> I just moved it to a new server with PHP5 (up from PHP4 on the old server).
> I upgraded smarty to the latest thinking there may be an issue running an
> old ver of smarty with PHP5 but no luck.
> 
> Now I'm getting weird behavior from Smarty when it creates the pages.
> [snip]
> Any ideas where things are going wrong or where I should look? 

Are you sure the errors are coming from smarty? One frustrating error I
found in when migrating php4 to php5 involved class files. If you define
the same class variable twice under php5, the script fails without
error. PHP4 forgives this error so you wouldn't see any problem before
migration.

Roberto