Quick Install Guide
#21
Posted 04 October 2005 - 10:57 PM
Vger
#22
Posted 05 October 2005 - 03:05 PM
This is the content of the file... if you see anything that might be wrong I'd greatly appreciate it if you could point me to the solution...
define('HTTP_SERVER', 'http://my_IP'); // eg, http://localhost or - https://localhost should not be NULL for productive servers
define('HTTP_CATALOG_SERVER', 'http://my_IP');
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', '/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', 'osCommerce_user');
define('DB_SERVER_PASSWORD', 'osCommerce_pass');
define('DB_DATABASE', 'osCommerce');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');
----------------------------
I've substituted my IP real IP, user and pass. but in the configuration file I wrote the good ones.
I have php5, apache 1.3.33, mysql 4.1, and they are all running on an xp + sp2 machine.
If you know the problem and you have the solution, please let me know. Thanks in advance.
Edited by umc, 05 October 2005 - 03:06 PM.
#23
Posted 05 October 2005 - 03:37 PM
Vger
#24
Posted 06 October 2005 - 04:53 AM
Vger, on Oct 6 2005, 04:37 AM, said:
Vger
I am having the same problem. I changed php.ini which fixed the catalog but the admin page still comes up blank. Help
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Contents of OsCommerce\catalog\includes
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
<?php
/*
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright © 2003 osCommerce
Released under the GNU General Public License
*/
// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://ww304-146-39.aut.ac.nz'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://ww304-146-39.aut.ac.nz'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'ww304-146-39.aut.ac.nz');
define('HTTPS_COOKIE_DOMAIN', 'ww304-146-39.aut.ac.nz');
define('HTTP_COOKIE_PATH', '/private/OsCommerce/catalog/');
define('HTTPS_COOKIE_PATH', '/private/OsCommerce/catalog/');
define('DIR_WS_HTTP_CATALOG', '/private/OsCommerce/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/private/OsCommerce/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', 'I:/htdocs/private/OsCommerce/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', '156.62.146.39'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', 'oscomm');
define('DB_SERVER_PASSWORD', '2ZYsmv7LJXTywW:V');
define('DB_DATABASE', 'oscommerce');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Contents of OsCommerce\catalog\admin\includes
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
<?php
/*
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright © 2003 osCommerce
Released under the GNU General Public License
*/
// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://ww304-146-39.aut.ac.nz'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://ww304-146-39.aut.ac.nz');
define('HTTPS_CATALOG_SERVER', 'https://ww304-146-39.aut.ac.nz');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', 'I:/htdocs/private/OsCommerce/catalog/'); // where the pages are located on the server
define('DIR_WS_ADMIN', '/private/OsCommerce/catalog/admin/'); // absolute path required
define('DIR_FS_ADMIN', 'I:/htdocs/private/OsCommerce/catalog/admin/'); // absolute path required
define('DIR_WS_CATALOG', '/private/OsCommerce/catalog/'); // absolute path required
define('DIR_FS_CATALOG', 'I:/htdocs/private/OsCommerce/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', '156.62.146.39'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', 'oscomm');
define('DB_SERVER_PASSWORD', '2ZYsmv7LJXTywW:V');
define('DB_DATABASE', 'oscommerce');
define('USE_PCONNECT', 'false'); // use persisstent connections?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>
#25
Posted 06 October 2005 - 05:18 AM
in the OsCommerce\catalog\admin\includes\classes\upload.php there was '$this' i changed it to '$th_s' and i fixed the problem.
Thanks anyway.
David
#26
Posted 10 October 2005 - 05:21 PM
Sorry newbie here...
4. Make sure that the permissions on all of the folders are set to 755, and if that does not work then set them to 777. Make sure that the includes/configure.php file and the admin/includes/configure.php file are set to 777 for the duration of the install. Once the install is complete reset to 644, 444, or 400 depending on your server setup.
#27
Posted 10 October 2005 - 05:54 PM
Vger
#29
Posted 10 October 2005 - 09:26 PM
It is far easier not to set the configure files up for ssl when installing and adapt them later on.
Vger
#30
Posted 10 October 2005 - 10:11 PM
I've done the download, done the install, everything is hunky dory right up until I get to the part about you need to - .htaccess you admin directory - I'm totally lost
if I go to www.mydomain.com/admin it somes up all blue and shiny but if I click on anything it goes to a 404 error.
any help would be greatly appreciated ( a step by step would be a charm)
#31
Posted 10 October 2005 - 10:17 PM
Forget about writing .htaccess files yourself. Most likely you'll have a feature in your Web Hosting control panel called something like Password Protection or Directory Protection - and this will write the .htaccess files for you.
Vger
#32
Posted 10 October 2005 - 10:35 PM
my amin/includ/configure.php is set at 644 (also tried 444)
Page not found
The page you requested was not found on this web server. This could be for a variety of reasons, including:
You followed a broken or out-of-date link.
You entered the URL for the page incorrectly.
The page no longer exists.
If you followed a broken link, please inform the owner of the referring page.
If you have any queries about this error, please e-mail webmaster@this.domain.
--------------------------------------------------------------------------------
Back to www.myname.org homepage
#33
Posted 10 October 2005 - 10:41 PM
Vger
#34
Posted 10 October 2005 - 10:50 PM
#35
Posted 11 October 2005 - 12:57 PM
jwonline, on Oct 10 2005, 05:21 PM, said:
Sorry newbie here...
4. Make sure that the permissions on all of the folders are set to 755, and if that does not work then set them to 777. Make sure that the includes/configure.php file and the admin/includes/configure.php file are set to 777 for the duration of the install. Once the install is complete reset to 644, 444, or 400 depending on your server setup.
Okay. I got it.
#36
Posted 11 October 2005 - 01:05 PM
Don't forget also that your mysql user name and password may be different from the user name and password you use to access your web hosting control panel. With many hosting control panels you have to set up a mysql password, because one is not created for you.
Vger
#37
Posted 11 October 2005 - 01:10 PM
jwonline, on Oct 11 2005, 12:57 PM, said:
Yes I did that. My database server is localhost. It was mentioned in my control panel. I also created my own database, as well as user name and password. Does the user name come with an underscore? I didn't create it that way but for some reason after it was created it came with an underscore plus the name of the database I created. And is the password supposed to be combined with the user name? I'm confused!
#38
Posted 11 October 2005 - 01:13 PM
Vger
#39
Posted 11 October 2005 - 01:19 PM
jwonline, on Oct 11 2005, 01:10 PM, said:
I am still getting an error. I am installing it from here http://www.justworshiponline.com/catalog/install.
#40
Posted 11 October 2005 - 01:47 PM
Now how do I do this?
Reset permissions on the two configure.php files.









