Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal Errors ?!?


Recommended Posts

Not yet,

If you are not facing any problem.

 

 

AWWWWW

 

after I uploaded the file to /catalog/admin/includes

 

now this

 

Warning: main(includes/functions/database.php): failed to open stream: No such file or directory in /home/content/a/m/e/americawarehou/html/admin/includes/application_top.php on line 60

 

Fatal error: main(): Failed opening required 'includes/functions/database.php' (include_path='.:/usr/local/lib/php') in /home/content/a/m/e/americawarehou/html/admin/includes/application_top.php on line 60

 

when i copy it to local and have a look at line 60 it said

 

58

59 // include the database functions

60 require(DIR_WS_FUNCTIONS . 'database.php');

61

{-- RJ --}

Link to comment
Share on other sites

  • Replies 126
  • Created
  • Last Reply
AWWWWW

 

after I uploaded the file to /catalog/admin/includes

 

now this

 

Warning: main(includes/functions/database.php): failed to open stream: No such file or directory in /home/content/a/m/e/americawarehou/html/admin/includes/application_top.php on line 60

 

Fatal error: main(): Failed opening required 'includes/functions/database.php' (include_path='.:/usr/local/lib/php') in /home/content/a/m/e/americawarehou/html/admin/includes/application_top.php on line 60

 

when i copy it to local and have a look at line 60 it said

 

58

59 // include the database functions

60 require(DIR_WS_FUNCTIONS . 'database.php');

61

 

 

error msg tells that they not establish a connection with database. in configure.php file you need to put

DB_SERVER_USERNAME

DB_SERVER_PASSWORD

DB_DATABASE

 

according to your settings.

When I was born, I was cryed and everyone around me was smiling.

Live our life so at the end,

I am the one who is smiling and everyone around me is crying.

Link to comment
Share on other sites

error msg tells that they not establish a connection with database. in configure.php file you need to put

DB_SERVER_USERNAME

DB_SERVER_PASSWORD

DB_DATABASE

 

according to your settings.

 

 

 

okay what line in configure.php ( /catalogs/admin/includes 's ? )

 

here that what I have in configure.php

 

// define our database connection

 

define('DB_SERVER', 'p50mysql149.secureserver.net'); // eg, localhost - should not be empty for productive servers

 

define('DB_SERVER_USERNAME', 'ame0811706033903');

 

define('DB_SERVER_PASSWORD', '*erase for my safety*');

 

define('DB_DATABASE', 'ame0811706033903');

 

define('USE_PCONNECT', 'false'); // use persistent connections?

 

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

 

?>

{-- RJ --}

Link to comment
Share on other sites

okay what line in configure.php ( /catalogs/admin/includes 's ? )

 

here that what I have in configure.php

 

// define our database connection

 

define('DB_SERVER', 'p50mysql149.secureserver.net'); // eg, localhost - should not be empty for productive servers

 

define('DB_SERVER_USERNAME', 'ame0811706033903');

 

define('DB_SERVER_PASSWORD', '*erase for my safety*');

 

define('DB_DATABASE', 'ame0811706033903');

 

define('USE_PCONNECT', 'false'); // use persistent connections?

 

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

 

?>

 

 

define('DB_SERVER', '10.10.10.10'); // you may use you IP

 

define('DB_SERVER_USERNAME', 'ame0811706033903'); // if it is your username

 

define('DB_SERVER_PASSWORD', '*erase for my safety*');

 

define('DB_DATABASE', 'ame0811706033903'); // if it is your DB name

When I was born, I was cryed and everyone around me was smiling.

Live our life so at the end,

I am the one who is smiling and everyone around me is crying.

Link to comment
Share on other sites

define('DB_SERVER', '10.10.10.10'); // you may use you IP

 

define('DB_SERVER_USERNAME', 'ame0811706033903'); // if it is your username

 

define('DB_SERVER_PASSWORD', '*erase for my safety*');

 

define('DB_DATABASE', 'ame0811706033903'); // if it is your DB name

 

Yes all information i put in is correct..

 

p50mysql149.secureserver.net is belong to godaddy.com

{-- RJ --}

Link to comment
Share on other sites

What fold does it have Database.php in ?

 

In "includes/function/" folder.

When I was born, I was cryed and everyone around me was smiling.

Live our life so at the end,

I am the one who is smiling and everyone around me is crying.

Link to comment
Share on other sites

When I try to type in

 

america-warehouse.com/catalog/admin

 

it switch to

 

http://america-warehouse.com/admin/login.p...0415451317d0ed9

 

then show this

 

Warning: main(includes/functions/database.php): failed to open stream: No such file or directory in /home/content/a/m/e/americawarehou/html/admin/includes/application_top.php on line 60

 

Fatal error: main(): Failed opening required 'includes/functions/database.php' (include_path='.:/usr/local/lib/php') in /home/content/a/m/e/americawarehou/html/admin/includes/application_top.php on line 60

 

 

WERID huh ? :)

{-- RJ --}

Link to comment
Share on other sites

When I try to type in

 

america-warehouse.com/catalog/admin

 

it switch to

 

http://america-warehouse.com/admin/login.p...0415451317d0ed9

 

then show this

 

Warning: main(includes/functions/database.php): failed to open stream: No such file or directory in /home/content/a/m/e/americawarehou/html/admin/includes/application_top.php on line 60

 

Fatal error: main(): Failed opening required 'includes/functions/database.php' (include_path='.:/usr/local/lib/php') in /home/content/a/m/e/americawarehou/html/admin/includes/application_top.php on line 60

WERID huh ? :)

 

 

just wait I am cheking..

When I was born, I was cryed and everyone around me was smiling.

Live our life so at the end,

I am the one who is smiling and everyone around me is crying.

Link to comment
Share on other sites

just wait I am cheking..

 

I think Database.php file is missing u just try on you server. Is this file is present in "admin/includes/functions/" folder or not.

When I was born, I was cryed and everyone around me was smiling.

Live our life so at the end,

I am the one who is smiling and everyone around me is crying.

Link to comment
Share on other sites

Yes it have database.php in catalogs/includes/functions/

 

BUT

 

not in catalog/admin/includes/fuctions/

 

you need to upload that file in

 

catalog/admin/includes/fuctions/

 

folder

When I was born, I was cryed and everyone around me was smiling.

Live our life so at the end,

I am the one who is smiling and everyone around me is crying.

Link to comment
Share on other sites

Did that and still same errors :( :(

 

please send me a mail with configure.php file.

 

check "http://shaze.in" I create this site.

When I was born, I was cryed and everyone around me was smiling.

Live our life so at the end,

I am the one who is smiling and everyone around me is crying.

Link to comment
Share on other sites

Great... Nice Site

 

/catalogs/ configure.php or /admin 's ?

 

admin/includes/configure.php

When I was born, I was cryed and everyone around me was smiling.

Live our life so at the end,

I am the one who is smiling and everyone around me is crying.

Link to comment
Share on other sites

Whacha think my friend ?

check your mail!!

When I was born, I was cryed and everyone around me was smiling.

Live our life so at the end,

I am the one who is smiling and everyone around me is crying.

Link to comment
Share on other sites

check your mail!!

 

Upload that file to the server..

 

and if it still create Problem

then change

 

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT);

 

to /usr/home/ => path

When I was born, I was cryed and everyone around me was smiling.

Live our life so at the end,

I am the one who is smiling and everyone around me is crying.

Link to comment
Share on other sites

yah ofcourse upload it to admin/includes/ folder

When I was born, I was cryed and everyone around me was smiling.

Live our life so at the end,

I am the one who is smiling and everyone around me is crying.

Link to comment
Share on other sites

Yes it have database.php in catalogs/includes/functions/

 

BUT

 

not in catalog/admin/includes/fuctions/

If you have been using the admin filemanager it would be easier to delete everything and start again.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...