SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Jun 2000
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello,


    I've built this module with Fast Template, and it runs fine locally.

    Then when I upload it to a LINUX server, I receive the following error messages:

    Warning: Invalid content of \{\} in class.FastTemplate.php3 on line 199

    Warning: Invalid content of \{\} in class.FastTemplate.php3 on line 213

    ....many times over.

    Does somebody please know why this is?

    Obviously, it's something to do with the transferrence to a linux server. Does the server need extra configuration or something to understand the Fast Template class. I don't see why, as this class only involves the inclussion of 1 file (class.FastTemplate.php3).


    Thank you, if you can assist,

    Cheers,

    Jason

  2. #2
    Grumpy Mole Man Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    FastTemplate has some nasty issues running on PHP 4 - there are workarounds (do a search for FastTemplate on this forum to find my previous post about them) but personally I recommend using the template class included with phpLib if you want to do templates in PHP 4.0 - it works fine and I personally think it's a better system:

    http://phplib.netuse.de/

    Cheers,

    Skunk

  3. #3
    SitePoint Zealot
    Join Date
    Jun 2000
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok cheers guys - irratating problem solved!


    It was a problem with the class (you wouldn't have thought this poss. with the supposed tried and tested reliable libraries would you?)

    Anyhow, here's the solution:

    http://www.phpbuilder.com/forum/read...&thread=106938

    Later on,

    Jason


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •