Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

First time, need help


Guest

Recommended Posts

Posted

Hi all

 

I have just setup OScommerce:

on http://einbokek.com/shop/osc/catalog/admin/ I get the message when I go to admin

 

(I did not set a password yet , will do it as soon as it works.)

Warning: main(includes/application_top.php): failed to open stream: Permission denied in /usr/www/users/hollandy/einbokek.com/shop/osc/catalog/admin/index.php on line 13

 

Fatal error: main(): Failed opening required 'includes/application_top.php' (include_path='.:/usr/local/lib/php') in /usr/www/users/hollandy/einbokek.com/shop/osc/catalog/admin/index.php on line 13

 

I think I did all the CHMOD I was supose to do.

 

The shop is without errors now on: http://einbokek.com/shop/osc/catalog/

But if I can't enter the admin that does not help me much, right?

 

Please help

 

Amit

Posted
The shop is without errors now on: http://einbokek.com/shop/osc/catalog/

 

Amit

 

It's showing errors here :(

 

Warning: main(includes/configure.php): failed to open stream: No such file or directory in /usr/www/users/hollandy/einbokek.com/shop/osc/catalog/includes/application_top.php on line 29

 

Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='.:/usr/local/lib/php') in /usr/www/users/hollandy/einbokek.com/shop/osc/catalog/includes/application_top.php on line 29

one-click installation..

Dave's info

Posted

Hi.

Thanks for your reply, indeed also the shop had some errors, that was because i went crazy with all the chmods, after I have posted this forum entry. Now it is back to how it was in the begenning the shop is without errors http://einbokek.com/shop/osc/catalog only at the admin I get these errros:

So I never had the chance to see how the admin looks like after installation.

 

Warning: main(includes/functions/database.php): failed to open stream: No such file or directory in /usr/www/users/hollandy/einbokek.com/shop/osc/catalog/admin/includes/application_top.php on line 58

 

Fatal error: main(): Failed opening required 'includes/functions/database.php' (include_path='.:/usr/local/lib/php') in /usr/www/users/hollandy/einbokek.com/shop/osc/catalog/admin/includes/application_top.php on line 58

 

The error is on line, 13, then 29 and now line 58

http://einbokek.com/shop/osc/catalog/admin/

 

Is there anybody out ther who can help me ?

Amit

Posted

it could be that your configure files are not correct:

 

catalog\admin\includes\configure.php

catalog\includes\configure.php

 

post the code here without the database gubbings (after // define our database connection) and we'll take a look.

one-click installation..

Dave's info

Posted

Dave,

I hope I got you right ...

 

admin/include/configure.php

 

// define our database connection

define('DB_SERVER', '');

define('DB_SERVER_USERNAME', 'mysql');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'osCommerce');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', '');

 

includes/configure.php

/ define our database connection

define('DB_SERVER', 'db89b.pair.com'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'hollandy_8');

define('DB_SERVER_PASSWORD', 'Zxcvbnm1');

define('DB_DATABASE', 'hollandy_osCommerce1');

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

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

 

I have a webmaster hosting plan at pair.com, about 30 sites

 

 

By the way line 58 on admin/index.php; $languages = tep_get_languages();

Could it be that I did not select a language file ? and that therefor my admin page won't load ?

 

cheers mate

Archived

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

×
×
  • Create New...