« Previous Next »

Thread: Get and post not working after dreamweaver changes

Last post 10-24-2008 9:44 AM by rla6907. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 10-07-2008, 1:37 AM

    • KMC1499
    • Top 500 Contributor
    • Joined on 06-18-2008, 5:22 PM
    • Posts 12

    Get and post not working after dreamweaver changes

     

     

     Im in need of some help, im trying to learn more about php and iis. I have a simple site on a win 2k3 server. everything was going fine until dreamweaver asked about being the site manager and boom most of my php stuff isnt working anymore. I checked the see if what verbs i was allowing and its set to allow all on the site main and site levels. My php config page still comes up so php is working.

     

    Any help would be greatly apprectiated, thanks.
  • 10-09-2008, 9:36 AM In reply to

    Re: Get and post not working after dreamweaver changes

    KMC1499:
    most of my php stuff isnt working anymore.

    You would have to tell us what isn't working.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 10-09-2008, 2:20 PM In reply to

    • KMC1499
    • Top 500 Contributor
    • Joined on 06-18-2008, 5:22 PM
    • Posts 12

    Re: Get and post not working after dreamweaver changes

    Well this page worked before dreamweaver did its thing but now all i get is a 500 error when i try and access it

     <?php
    function square($num)
    {
    $num *= $num;
    return $num;
    }
    $someNum = 6;
    echo(Variable before going into the function =  . $someNum);
    $results = square($someNum);
    echo(<br>Variable after going into the
    function =  . $someNum . <br>Results of
    function =  .$results);
    ?>

     

    here is what my log file says.

    #Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status

     2008-10-09 18:13:31 W3SVC1 172.16.0.4 GET /numbers.php - 80 - 172.16.0.23 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.648;+.NET+CLR+3.5.21022;+InfoPath.2) 500 0 0

  • 10-13-2008, 11:19 AM In reply to

    • KMC1499
    • Top 500 Contributor
    • Joined on 06-18-2008, 5:22 PM
    • Posts 12

    Re: Get and post not working after dreamweaver changes

     I turned on my display errors and it says

    Parse error: syntax error, unexpected T_STRING in D:\phptest\numbers.php on line 8

    it says thing similar to this on other php files i have that were working before.

  • 10-24-2008, 9:44 AM In reply to

    • rla6907
    • Not Ranked
    • Joined on 10-23-2008, 6:45 PM
    • Oregon
    • Posts 5

    Re: Get and post not working after dreamweaver changes

     I believe that it may be a problem in the way Dreamweaver translated your PHP code. When you put the pages into Dreamweaver is it possible that they were read as something other than PHP? 

    The error itself is a result of the translator within Dreamweaver not recognizing the code as valid during "runtime". This results in an internal error within Dreamweaver; not necessarily a "real" coding problem but a perceived problem. 

    This could also simply be that the "punctuation" is not as expected in translation. I know that sounds unlikely but I have seen " (quote marks) not be seen as quote marks because it was not the same font as anticipated and was seen as ' (apostrophe) marks.

Page 1 of 1 (5 items)