PDA

View Full Version : installation errors



dpeterson
07-25-2009, 12:54 AM
I just purchased the arcade script. I have copied it to my server and filled the information in the /upload/include/config.php.sample file. When I went to do the install I got this:


Warning: require_once(../include/config.php) [function.require-once]: failed to open stream: No such file or directory in C:\www\vhosts\_dynamic\dpjcsoftware.com\www\arcade \admin\include\setup\admin_setup.php on line 16

Fatal error: require_once() [function.require]: Failed opening required '../include/config.php' (include_path='.;C:/www/vhosts/localhost/;C:/www/php5/includes/') in C:\www\vhosts\_dynamic\dpjcsoftware.com\www\arcade \admin\include\setup\admin_setup.php on line 16

I tried to run the script itself and got these errors:


Warning: include_once(./include/config.php) [function.include-once]: failed to open stream: No such file or directory in C:\www\vhosts\_dynamic\dpjcsoftware.com\www\arcade \include\setup\setup.php on line 5

Warning: include_once() [function.include]: Failed opening './include/config.php' for inclusion (include_path='.;C:/www/vhosts/localhost/;C:/www/php5/includes/') in C:\www\vhosts\_dynamic\dpjcsoftware.com\www\arcade \include\setup\setup.php on line 5

Notice: Use of undefined constant DB_HOST - assumed 'DB_HOST' in C:\www\vhosts\_dynamic\dpjcsoftware.com\www\arcade \include\setup\setup_db.php on line 2

Notice: Use of undefined constant DB_USER - assumed 'DB_USER' in C:\www\vhosts\_dynamic\dpjcsoftware.com\www\arcade \include\setup\setup_db.php on line 2

Notice: Use of undefined constant DB_PASSWORD - assumed 'DB_PASSWORD' in C:\www\vhosts\_dynamic\dpjcsoftware.com\www\arcade \include\setup\setup_db.php on line 2

Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'DB_HOST' (11001) in C:\www\vhosts\_dynamic\dpjcsoftware.com\www\arcade \include\setup\setup_db.php on line 2
I cannot connect to the database because: Unknown MySQL server host 'DB_HOST' (11001)

Please help me make this work?

My ftp info is:

ftp://www.dpjcsoftware.com

admin
milton

Thank you
David Peterson

Citizen
07-25-2009, 06:26 PM
Hey,

It sounds like the install step where you rename config.php.sample to config.php and fill in your connection details was not done. Did you follow the directions in the install-readme.txt?

dpeterson
07-25-2009, 06:42 PM
Thank you for answering.

Yes, The config.php.sample file is renamed config.php and it doesn't work. Can you check things out for me?

Thank you
David Peterson

Citizen
07-25-2009, 07:15 PM
Thank you for answering.

Yes, The config.php.sample file is renamed config.php and it doesn't work. Can you check things out for me?

Thank you
David Peterson
Hey David,

The file name is currently config.php.php

It will need to be changed to just config.php

If you're on a windows machine and are editing files locally, make sure you have "Hide known file extensions" turned off in your folder preferences.

dpeterson
07-25-2009, 07:22 PM
Thank you, that did it!

David Peterson

Citizen
07-25-2009, 07:41 PM
No problem, let us know if there's anything else we can do for you.