SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2008
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    setting up old project on newer wamp verison

    Hi

    I have an old project hich I need to set up in the latest wamp server release. I am getting some errors and I am not able to solve them.

    First is, on any file it shows parse error, which I have solved on some of the pages but not all. I don't understand what is the reason nehind the parse error?

    Also wherever I have navigation like this:
    <li><a href="xyz" title="xyz" <?=classkey("xyz",$clastitle);?>>xyz</a></li>
    I get errors. It simply does not understand the angle bracket after thr php close tag angle bracket.

    Please if anyone can point me in the right direction.

    Thnks

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,578
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    The default PHP configuration disables short tags, which is what you're using.

    You should write out <?php, but you can re-enable them if you want in your php.ini configuration file, then restart Apache.


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
  •