Web Analytics Made Easy -
StatCounter Can't find WAMP - CodingForum

Announcement

Collapse
No announcement yet.

Can't find WAMP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new 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
    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.
    Finding out HOW to do something is called research, i.e. keep searching until you find the answer. After you attempt to do something and cannot solve a problem with it yourself, would be when you ask others for help.

    Comment


    • #3
      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.

      Comment


      • #4
        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?

        Comment


        • #5
          You could do this -
          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.
          Finding out HOW to do something is called research, i.e. keep searching until you find the answer. After you attempt to do something and cannot solve a problem with it yourself, would be when you ask others for help.

          Comment


          • #6
            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; Apr 8, 2009, 12:56 PM.

            Comment

            Working...
            X