Web Expression 4 + PHP v5.5

Hello,

     I am using Windows Professional 7, IIS Express 8, PHP v5.5 and MySQL. I am trying to get Web Expression 4 to work properly.
I made sure that in the Application and Site settings that it is pointing to my php-cgi.exe file.
My path is : C:\Program Files (x86)\IIS Express\PHP\v5.5\php-cgi.exe)

     I checked the option "use php executable for this site".
This site works perfectly and correctly using Web Matrix 3 and I have no problems with it. All the pages work correctly etc.
And as far as I know my PHP.ini is correct too.
But not under Web Expression 4.
But I wanted to upgrade to have design mode, hence Web Expressions 4 .

    The problem is I keep receiving the error that "This page can not be found" or it just sits on the page when it should be calling the next page (after checking credentials i.e. username/password and the ones I enter are valid)
I have noticed my localhost address changes quite a bit too. Sometimes from one page to another.
I have posted my coding from the offending page and a image of the error message.

   What must I do to fix this problem?

<?php 
    require_once ("Includes/dbconfig.php");
    include("Includes/session.php");

      $baderr= "";
     if (isset($_POST['cancel']))
       {
            header ("Location: goodbye.php");
        }


    if (isset($_POST['submit']))

    {
        $username = $_POST['username'];
        $password = $_POST['password'];
      
    // create database connection
       $databaseConnection = new mysqli(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);
      
       if ($databaseConnection->connect_error)
          {
        die("Database selection failed: " . $databaseConnection->connect_error);
 
          }else{
             $query = "SELECT * FROM suppliers WHERE SupplierUserName = '$username' AND SupplierPassword = '$password'";

             $result = $databaseConnection->query($query);
       
            if ($result->num_rows > 0)
               {
                 // output data
                   while($row = $result->fetch_assoc())
                {
                  //set up global session vars to be used thru out pages
                    $_SESSION["UserType"] ="S";
                    $_SESSION["SupplierId"] = $row["SupplierRecId"];
                    $_SESSION["MsSqlSupplierId"] = $row["MsSupplierPk"];
                    $_SESSION["SupplierName"] = $row["SupplierName"];
                    $_SESSION["SupplierEmail"] = $row["SupplierEmail"];

                  }
                // close db connection and redirect to supplier menu
                    mysqli_close($databaseConnection);
                    header ("Location: suppliermenu.php");
       } else {
         
             // Username/Password not valid - display error message
             $baderr = "Username/password combination is incorrect. Please try again";
       }
     }
    }
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
    
   <head>
     <title>Supplier Logon</title>
     <link href="Styles/StyleSheet.css" rel="stylesheet" type="text/css" /> 
    </head>
     
    <body class="bodybg">
        <table class="meologo" align="center"><tr><td>
           <img src="/images/MEO_logo_lg.jpg" alt="MarketEase">
        </td></tr></table>
<div align="center">
        <form action="supplierlogon.php" method="post">
             <?php if (isset($_POST['submit']))
                       echo "<h7 style='color:#e80c4d;'>$baderr</h7>"; ?>
             <table style:"center">
                  <tr>
       
                      <td><label for="username" class="text-align" >Username:</label> </td>
                      <td><input type="text" name="username" value="" id="username" /></td>
                  </tr> 
                  <tr>
                      <td><label for="password" class="text-align">Password:</label></td>
                      <td><input type="password" name="password" value="" id="password" /></td>
                  </tr>
           </table>
            <br>
                <table align="center">
                    <tr><td><input type="submit" name="submit" value="Submit" src="images/Login.jpg" />
                    <td><input type="submit" name="cancel" value="Cancel" src="images/cancel.jpg"/></td></tr>
                   
                 </table>
               
            </form>
</div>
</div> 
                 <div class="msgitams">
                     <br><br>
                 <table><tr><td></td>Copyright &#169; 2007-2015 ITAMS Ltd. All Rights Reserved.</tr></table>
                 </div>      
           
        
    </body>
</html> 

Open in new window

Capture.JPG
OverthereAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ray PaseurCommented:
This is not really an answer - just an observation from the "50,000 foot level."  Web Expression is so out-of-date and out-of-touch with modern web technologies, that I would stop trying to get it to work and instead look for a functional alternative.  Development status of Web Expression is "discontinued."  It seems to be a PC-era product that has somehow appeared in a time-warped mobile-era world.

If we understood why you wanted to use Web Expression maybe we could suggest something more modern and mainstream.  Many of us might suggest an IDE, like PHPStorm or Eclipse.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
OverthereAuthor Commented:
Yes, what you write is true. Sometimes we become stuck in a mind set. That being said I downloaded Xampp  and installed Eclipse for PHP.  Although I having some set-up issues with Eclipse, I think its a much better IDE. Thank you again! :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development Software

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.