Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

mySQL: Query failed: Incorrect table name

Guest
May 25, 2010 May 25, 2010

Hey all, I have been tinkering around this for ages now literally alday.. I keep getting this error.. Query failed: Incorrect table name.

So i'll just go through the steps..

I'm trying to run a game php file script on my site I downloaded it here. http://www.hotscripts.com/listing/guess-a-number-game/ -- Now it said I had a make a table so the script could run but I could also download a table in SQL format from here. http://sourceforge.net/projects/guess-a-number/ which I did. After editting the files to my details etc, and setting it how I want it to work. I finally uploaded the php files too /home/guessand/public_html/

to try it to work on my site, then I followed up with making a mySQL database then going onto myPhpAdmin option and selecting the SQL file

which I downloaded.. I cant quite see the error myself so I was hoping someone could point it out to me.. This is what it says in the error log

[25-May-2010 18:32:23] PHP Warning:  include(guess_a_number_config_1.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/guessand/public_html/guess-a-number_1.php on line 3
[25-May-2010 18:32:23] PHP Warning:  include(guess_a_number_config_1.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/guessand/public_html/guess-a-number_1.php on line 3
[25-May-2010 18:32:23] PHP Warning:  include() [<a href='function.include'>function.include</a>]: Failed opening 'guess_a_number_config_1.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/guessand/public_html/guess-a-number_1.php on line 3
[25-May-2010 18:33:07] PHP Warning:  include(guess_a_number_config_1.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/guessand/public_html/guess-a-number_1.php on line 3
[25-May-2010 18:33:07] PHP Warning:  include(guess_a_number_config_1.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/guessand/public_html/guess-a-number_1.php on line 3
[25-May-2010 18:33:07] PHP Warning:  include() [<a href='function.include'>function.include</a>]: Failed opening 'guess_a_number_config_1.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/guessand/public_html/guess-a-number_1.php on line 3
[25-May-2010 18:49:25] PHP Warning:  include(guess_a_number_config_1.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/guessand/public_html/guess-a-number_1.php on line 3
[25-May-2010 18:49:25] PHP Warning:  include(guess_a_number_config_1.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/guessand/public_html/guess-a-number_1.php on line 3
[25-May-2010 18:49:25] PHP Warning:  include() [<a href='function.include'>function.include</a>]: Failed opening 'guess_a_number_config_1.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/guessand/public_html/guess-a-number_1.php on line 3

If you need anymore infomation please just ask and i'll provide what I can.
TOPICS
Server side applications
695
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 28, 2010 May 28, 2010
LATEST

The error messages are fairly clear. The file can't be opened, presumably because it doesn't exist or the include() command is pointing to the wrong location.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines