Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6

Thread: Can't find WAMP

  1. #1
    Regular Coder
    Join Date
    May 2007
    Location
    Manteca, CA
    Posts
    219
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Can't find WAMP

    My provider just switched to PHP 5.29 (I was developing with 5.26), and now my site is broken (Parse error: syntax error, unexpected T_VAR in /home2...). I attemped to upgrade but am now unable to access sourceforge.net, the only place I can find that has the latest WAMP (with PHP 5.29).

    Can anyone tell me where else I can find the latest WAMP? My provider was able to access sourceforge.net just fine. Am I the only one in the world that cannont get to this site?

  • #2
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    2,958
    Thanks
    2
    Thanked 304 Times in 296 Posts
    I could access the site no problem.

    There are very few differences between php 5.2.6 and 5.2.9. It is more likely that your code is dependent on some php.ini configuration setting (I'll guess short open tags) that got changed with the upgrade (your host should have published any changes that were made to php.ini.)

    If you post the code and the full error message, someone could probably solve it in a few minutes.
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.

  • #3
    Regular Coder
    Join Date
    May 2007
    Location
    Manteca, CA
    Posts
    219
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Yeah, I've been through php.ini hell before and it didn't seem to be the problem. The good news is I found the latest WAMP at another site, http://www.softpedia.com/progDownloa...oad-26405.html.

  • #4
    Regular Coder
    Join Date
    May 2007
    Location
    Manteca, CA
    Posts
    219
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Well, the latest is up and running on my local server. All works fine. Of course on my host's server I still get "Parse error: syntax error, unexpected T_VAR in /home2/...".

    short_open_tag was set to ON on my host. I set it to OFF (matching my local php.ini) but no change.

    Any other ideas?

  • #5
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    2,958
    Thanks
    2
    Thanked 304 Times in 296 Posts
    You could do this -
    Quote Originally Posted by CFMaBiSmAd View Post
    If you post the code and the full error message, someone could probably solve it in a few minutes.
    because without seeing the code (and at least 5-10 lines before the error) that corresponds to the error, there is no way anyone else can help you.
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.

  • #6
    Regular Coder
    Join Date
    May 2007
    Location
    Manteca, CA
    Posts
    219
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Localizing the code that was causing the problem proved to be impossible. It turns out my problems are with CR's, LF's, and whitespace. A few of my recently edited files look different locally than they do on my host.

    I just discovered the "Convert Line Delimeters To" menu option in Aptana. I think I'm figuring this out... I think.
    Last edited by snoodle; 04-08-2009 at 05:56 PM.


  •  

    Posting Permissions

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