Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cant open my page .....


ohlander

Recommended Posts

HI! i have looked in the most forums and it seems im the only man on this earth with this problem. probably because its so stupid but i cant figure it out. I have configured and installed osC to my server and done some changes in the menus and etc. But when i logg out from admin page and want to browse it on the internet i come to a page at my webhost and it only says this: Replace this default page with your own index.html

 

When i logg in with my ftp client and check , in my www directory i see only my catalog directory and one file and that the index.html , what steppes have i missed here ? plzz im totally newbie at this i know its one stupid question after the other but what can i say never done this before. Have a nice day all =) // Marcus

 

look here this is the site : http://www.moch-world.siteburg.com/

Link to comment
Share on other sites

HI! i have looked in the most forums and it seems im the only man on this earth with this problem. probably because its so stupid but i cant figure it out. I have configured and installed osC to my server and done some changes in the menus and etc. But when i logg out from admin page and want to browse it on the internet i come to a page at my webhost and it only says this: Replace this default page with your own index.html

 

When i logg in with my ftp client and check , in my www directory i see only my catalog directory and one file and that the index.html , what steppes have i missed here ? plzz im totally newbie at this i know its one stupid question after the other but what can i say never done this before. Have a nice day all =) // Marcus

You did not install osCommerce in the root directory. (you don't really have to)

 

Go to http://moch-world.siteburg.com/catalog/

 

At time of writting, you have a database error.

Link to comment
Share on other sites

P.S. Check your databasename, username and password in your catalog/admin/includes/configure.php and catalog/includes/configure.php (the section at the bottom)

Link to comment
Share on other sites

ok checked the two files and they seem ok password wise i copy the content here for you to see really dont know what im looking for besides the passwords, if this seem allright what do you think the problem could be?:

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://moch-world.siteburg.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://moch-world.siteburg.com');

define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/m/moch-world.siteburg.com/WWW/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/home/m/moch-world.siteburg.com/WWW/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/home/m/moch-world.siteburg.com/WWW/catalog/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

// define our database connection

define('DB_SERVER', 'database'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '***** ');

define('DB_SERVER_PASSWORD', '****');

define('DB_DATABASE', '****');

define('USE_PCONNECT', 'true'); // use persisstent connections?

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

 

 

and the other configure file

 

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://moch-world.siteburg.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'moch-world.siteburg.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/m/moch-world.siteburg.com/WWW/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'database'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '**** ');

define('DB_SERVER_PASSWORD', '****');

define('DB_DATABASE', '****');

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

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

Link to comment
Share on other sites

It is generally a bad idea to set persistent connection to true (especially in a shared/budget/free server)

 

Use

define('USE_PCONNECT', 'false');

 

And double check your database details (you'll have to do this yourself).

Link to comment
Share on other sites

Hi,

 

I am having the same kind of problem installing oscommerce using Plesk.

When installing u get the default directory oscommerce that oscommerce it installs under.

The problem is I assume is that it is installing the index.php under this directory instead of the root where index.html is located.

 

Dose anyone have any suggestions for this problem or can direct me to some info?

 

Thanks

Link to comment
Share on other sites

Hi,

 

I am having the same kind of problem installing oscommerce using Plesk.

When installing u get the default directory oscommerce that oscommerce it installs under.

The problem is I assume is that it is installing the index.php under this directory instead of the root where index.html is located.

 

Dose anyone have any suggestions for this problem or can direct me to some info?

 

Thanks

I've been using Plesk in the past. However, I would recommend setting up osCommerce manually. This will give you more control, and more importantly, extra knowledge on how osCommerce works.

Link to comment
Share on other sites

now i did this deleted the index.html file and added the index.php file from the /WWW/catalog/includes/languages/english/ directory. this was me being absolutly freaking out on th osC system. but i have to have a index.php file instead of my index.html file, i just dont know witch one of the index.php files i should take i got this msg when i tried to conney:

 

Fatal error: Call to undefined function: tep_image() in /home/m/moch-world.siteburg.com/WWW/index.php on line 13

Link to comment
Share on other sites

If you have an index.html file, either in the root of your web server, or in the folder in which you placed osCommerce then you will never see osCommerce unless you type in the address as http://yourdomain.com/index.php.

 

The reason for this is that web servers look for homepages in a certain order, and index.html and index.htm come before index.php.

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...