Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Major wall hit with college proj

Options
  • 20-04-2012 12:22am
    #1
    Closed Accounts Posts: 621 ✭✭✭


    Hey Guys
    Im after hitting a huge brick wall with a college proj.

    I have created a web-site with dreamweaver. Its saved as .php.

    I opened it todyay and once the browser opens new pages keep opening.

    Only way to stop it is to kill the page. I have tried opening it in explorer and it just crasher explorer. This has only happened as recently as today, with the proj going on since jan.

    Error attached below
    site error.png

    All suggestions welcome
    Rgds
    RA


Comments

  • Closed Accounts Posts: 34,809 ✭✭✭✭smash


    Stuck in a loop? Can you post the code?


  • Closed Accounts Posts: 621 ✭✭✭rude awakening


    Has to be one of the files in here

    Problem Folder.zip

    index - intended to be the log in page
    Login - temp log in page
    Logout - temp log out page
    Customer- to become customers log in page


  • Registered Users Posts: 10,641 ✭✭✭✭28064212


    First problems to fix:
    • logout.php: Line 7 - missing closing quotation marks in echo
    • login.php: Line 14 - missing opening quotation marks before SELECT in mysql_query
    Look at the code in an editor with syntax highlighting :)

    Boardsie Enhancement Suite - a browser extension to make using Boards on desktop a better experience (includes full-width display, keyboard shortcuts, dark mode, and more). Now available through your browser's extension store.

    Firefox: https://addons.mozilla.org/addon/boardsie-enhancement-suite/

    Chrome/Edge/Opera: https://chromewebstore.google.com/detail/boardsie-enhancement-suit/bbgnmnfagihoohjkofdnofcfmkpdmmce



  • Registered Users Posts: 912 ✭✭✭chakotha


    There are also lots of parse errors in the if else statement at the bottom of login.php.

    But I don't know why heaps of pages should be opening from index.php.

    I can open it ok so it shouldn't be a code issue.

    You could try clearing browser cache and try again.


  • Closed Accounts Posts: 621 ✭✭✭rude awakening


    chakotha wrote: »
    You could try clearing browser cache and try again.

    Just tried, And Failed :(


  • Advertisement
  • Closed Accounts Posts: 621 ✭✭✭rude awakening


    Turned out to be a browser issue folks.
    Firefox - Opening multiple pages
    IE - Crashed explorer
    Chrome - IT WORKED BigGrinBulb.gif

    i can only assume that the last firefox update has issues and causes a ripple effect on IE.
    uninstalled Firefox and reinstalled and working fine now CoolBulb.gif


  • Registered Users Posts: 16,413 ✭✭✭✭Trojan


    Turned out to be a browser issue folks.

    Sounds like it could be a "bug in the compiler" problem. A phrase often heard from beginner programmers. It's usually not a bug in the compiler, but more likely in their code. Test your app very thoroughly.

    Aside: I recommend you don't use spaces in filenames for files that will go on the web (like your "forgot password.php"), because you can get different behaviour on different webservers that can be a bitch to debug.


Advertisement