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

PHP Phorums **** again. please help.

Options
  • 07-10-2001 1:59am
    #1
    Closed Accounts Posts: 26


    okay this is like the millionth time i've set-up my Phorum and it just wont work. it always displays errors. here is what it says now:
    Fatal error: input in flex scanner failed in /web/sites/254/fionn/www.mcmullet.f2s.com/phorum on line 1

    what do i have to do now? what is wrong? i am still very new to PHP and it takes much more time than HTML or Java to learn.


Comments

  • Registered Users Posts: 654 ✭✭✭DS


    It's really not that complicated, just get yourself a book or check out the amazing http://www.php.net/manual


  • Registered Users Posts: 927 ✭✭✭decob


    or even give us the first couple of lines from the file that is throwing up the error...


  • Closed Accounts Posts: 26 yngwie^


    but i dont see any file name mentioned in the error message. http://www.mcmullet.f2s.com/phorum/ is a directory not a file but i get the same error message when i go to http://www.mcmullet.f2s.com/phorum/index.php


  • Closed Accounts Posts: 296 ✭✭moist


    There is a problem with your php code.

    According to http://www.faqts.com/knowledge_base/view.phtml/aid/220/fid/5

    <quote>
    The "input in flex scanner failed" error is generated when a call to:

    require($path)

    is made with $path specifying a directory and not a file. Or the target
    file can not be found.
    </quote>

    That took like 5 seconds of googling....
    Come onn man, learn to fish!!


  • Closed Accounts Posts: 26 yngwie^


    oh okay
    so do folders in a web tree count as directories?


  • Advertisement
  • Closed Accounts Posts: 296 ✭✭moist


    Yes, folder == directory.
    i.e. its not a text/image/php-code/etc file,
    its a directory containing other files/directories.


  • Registered Users Posts: 654 ✭✭✭DS


    Basically, you've gone wrong somewhere in configuring a path for the script to use.


  • Closed Accounts Posts: 26 yngwie^


    oh well. i have a new board that you can all see by clicking the signature. you can also tell me what you think of my site. MYSQL is the main worry i have now. it's so confusing. and so is PHP.


  • Registered Users Posts: 654 ✭✭✭DS


    What are you worrying about MySQL for?
    btw you should've gotten an iB3 beta. It's dead good.


  • Closed Accounts Posts: 26 yngwie^


    can i upgrade without affecting any of my posts of settings?


  • Advertisement
  • Registered Users Posts: 654 ✭✭✭DS


    Yup :)


  • Closed Accounts Posts: 121 ✭✭joev


    Originally posted by yngwie^
    but i dont see any file name mentioned in the error message. http://www.mcmullet.f2s.com/phorum/ is a directory not a file but i get the same error message when i go to http://www.mcmullet.f2s.com/phorum/index.php

    The error message is actually *telling* you what is wrong.

    Your PHP.INI file has an include_path parameter which tells php where it can include files from.

    In this case, the path to the file in the require() is not in the include_path, or, the file does not exist.

    Either, modify your php.ini to include this directory, or modify the include path in your app before you include/require files. (hint: check docs on INCLUDE_PATH)

    The former is obviously better if you're relatively new to php as it saves you having to hack the hell outta phorum.

    joev.


Advertisement