Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Getting some errors after manual installation


yos40

Recommended Posts

Posted

Hello,

 

I need some help,

 

There is a problem with the regular installation procedure so i had to install oscommerce manually.

 

I filled the details in configure.php in the includes and the admin/includes files.

 

I now get some wired structure of the admin

admin.jpg

 

I was wondering what you guys think happened?

 

Here is my admin configure file (database and server info is removed)

 

<?php
/*
 $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2002 osCommerce

 Released under the GNU General Public License
*/

// define our webserver variables
// FS = Filesystem (physical)
// WS = Webserver (virtual)
 define('HTTP_SERVER', '***************'); // eg, http://localhost or - https://localhost should not be NULL for productive servers
 define('HTTP_CATALOG_SERVER', '***************');
 define('HTTPS_CATALOG_SERVER', '***************');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
 define('DIR_WS_ADMIN', '/admin/');
 define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
 define('DIR_WS_CATALOG', '/');
 define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);
 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', 'localhost');
 define('DB_SERVER_USERNAME', '***************');
 define('DB_SERVER_PASSWORD', '***************');
 define('DB_DATABASE', '***************');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', '');
?>

 

Thanks for all your help!

 

Best

Yossi

Posted

HI

This ia an older vesion of oscommerce, if you are just at the first stage why not download the latest version and install that instead?

You can get it from the blue solutions Tab above.

Regards

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

Thanks guys, but this is a complete oscommerce with design and features already embedded in the code.

 

Still need some help, if anybody can figure this thing out

Posted

Your DIR_FS pathways need to be the full pathway to the root of your website. They would be populated automatically if you had run the install procedure but now you'll have to enter them yourself.

 

For an example only:

 

define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/');

 

Your Document Root depends on your web server, so we can't tell you what it is. Ask your hosting company if you do not know, or follow this advice:

absolute path (put in file in level you wish to find path for)

-------------------------------------------------------------

 

To find out the full pathway to the root of your domain do this:

 

1. Create a new text document on your desktop and name it cwd.php. Ignore the warning about changing the file type.

 

2. Put this code into it:

<?php
$p = getcwd();
echo $p;
?>

 

3. Upload it to the root of your domain via FTP.

 

4. Go to http://www.yourdomain.com/cwd.php via your browser and printed on the screen will be the full pathway to the root of your domain.

 

5. Write down that pathway and then delete the cwd.php file from your hosting.

 

Vger

Posted
Your DIR_FS pathways need to be the full pathway to the root of your website. They would be populated automatically if you had run the install procedure but now you'll have to enter them yourself.

 

For an example only:

 

define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/');

 

Your Document Root depends on your web server, so we can't tell you what it is. Ask your hosting company if you do not know, or follow this advice:

 

 

Vger

 

Thanks for the info Vger,

I found the absolute path but it still gives me problems,

 

I did not install the with the installation because i'm bumping into trouble with the step two of the installation.

I'm going through the screen that gives the option to "Install the database and add the sample data" & "Save configuration values"

But it always stays on the same screen, the address bar is changing to "install/install.php?step=2" but the screen just stayes with the "Install the database and add the sample data" & "Save configuration values"

 

Here are some pictures

 

Step 1

1.jpg

 

Step 2 and press continue

 

2.jpg

 

Step 3 stays on the same screen but

 

3.jpg

Archived

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

×
×
  • Create New...