ephestion Posted June 1, 2005 Share Posted June 1, 2005 Apache 2.0.54 PHP 4.311 MySQL 4.119 OsCommerce 2.2m2 WinXP Pro SP2 I had a lot of problems just executing the install.php But found that a PHP compatability issue forced me to apply the Register_Locals Patch in the Contributions Section. After doing this I was able to execute Install. Post Installation the Admin Tools section works OK. However, the catalog section does not. I have no idea what or how to change chmod 777 as prescribed in the knowledge base for the confugure.php files. I am not sure if this is related to my problem either. So now I am stuck. I installed using localhost as server, default MySQL user name being root. However, I did select persitant cookies on the install screen but not SSl. SO now I have a big problem because I cant see my catalog at all ie http://localhost/catalog/index.php Im stuck due to lack of knowledge of what to do next I would give chmod a go but I seriously have no idea what or how to use this function or whaterver it is. I tried to loosen up security temporarily in the http.conf file (APACHE2) to give all permisions using the <Directory> </Directory> structure for APACHE2. But all my efforts have failed to get this running. Please help. PS I made sure to look for a solution almost everywhere but can't find one so please help out. Link to comment Share on other sites More sharing options...
bjm32003 Posted June 1, 2005 Share Posted June 1, 2005 This is probably not an issue with Apache, Apache does contain directives, functions, etc. for permissions on directories and such, but permissions come first from your computer's operating system. This is probably an issue with Windows XP not allowing the PHP executable to write to your config file. The "chmod" command is for Unix/Linux operating system permissions. In Windows XP you should try right clicking on the configure.php file and then select "Sharing and Security" and see what kind of permissions are set on the file. Link to comment Share on other sites More sharing options...
♥Vger Posted June 1, 2005 Share Posted June 1, 2005 Take a look at your catalog/includes/configure.php file. It sometimes happens during install that one configure.php file gets data written to it while the other one doesn't. This is usually down to a file permission problem with one of the files e.g. the install programme cannot write to it during the install procedure. Vger Link to comment Share on other sites More sharing options...
ephestion Posted June 2, 2005 Author Share Posted June 2, 2005 admin/includes/configure.php // Define the webserver and path parameters// * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://localhost'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'C:/Program Files/Apache Group/Apache2/htdocs/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', 'C:/Program Files/Apache Group/Apache2/htdocs/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', 'C:/Program Files/Apache Group/Apache2/htdocs/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', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'root'); define('DB_SERVER_PASSWORD', 'xxxxx'); define('DB_DATABASE', 'commerce'); define('USE_PCONNECT', 'true'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' catalog/includes/configure.php // Define the webserver and path parameters// * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://localhost'); // 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', 'localhost'); 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', 'C:/Program Files/Apache Group/Apache2/htdocs/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', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'root'); define('DB_SERVER_PASSWORD', 'xxxxxx'); define('DB_DATABASE', 'commerce'); define('USE_PCONNECT', 'true'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' localhost/catalog/admin/index.php // works and interfaces with the mysql database localhost/catalog/index.php // Blank white page. I am totally new to APache, PHP, MySQL, and osCommerce Im learning all of them at once :D ..............totally confused individual :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.