Results 1 to 4 of 4

Thread: Error on PHP Version 5.2.6

  1. #1
    Join Date
    Dec 2008
    Posts
    1

    Default Error on PHP Version 5.2.6

    Hi,

    I am getting the following error
    syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /home/.viera/jmtruelle/realtor-search.info/public_html/lib/smarty/Smarty.class.php
    after i moved to a higher version of PHP.

    INDEXU version is 5.4.0, i have read the posts and came to know sadly that there are some issues however am unable to find the fix for the one i am facing.

    Please help, its urgent.

    Thanks

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    It's more than just the version that's changed, it's the environment too. Most users that are running 5.4x on php 5 experience very few errors but do see some page specific ones.

    I've never seen that issue before, so I have no idea what would need to be fixed. Your best solution would be to find a host running php4.

  3. #3
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Quote Originally Posted by Bruceper View Post
    . Your best solution would be to find a host running php4.
    An even better solution.... Upgrade to Deluxe!
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  4. #4
    Join Date
    Sep 2005
    Location
    Poland - Warsaw
    Posts
    342

    Default

    I don't have such problem. I have pirlo.pl on PHP5.2.6 and I have not found any issue (except importing rss feed with national characters)

    As I can see you;re using PHP5.2.6 as CGI, right ? Because I don;t and it works.
    Last edited by linksor.com; 12-18-2008 at 06:00 AM.

Similar Threads

  1. Version 6 error / question
    By Mitchell in forum v5.x
    Replies: 15
    Last Post: 04-18-2008, 12:12 AM
  2. Parse error: syntax error, unexpected
    By eltony in forum v5.x
    Replies: 6
    Last Post: 01-27-2008, 08:56 PM
  3. Replies: 3
    Last Post: 11-01-2007, 02:00 PM
  4. Error 500-Internal server error
    By samourai in forum v5.x
    Replies: 2
    Last Post: 10-12-2007, 06:52 AM
  5. difference between the full version and the lite version
    By Frisk151 in forum Pre-Sales Questions
    Replies: 3
    Last Post: 08-04-2003, 09:21 AM

Posting Permissions

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