This is a discussion on Be A Pal, Help a Noob... within the osCMax v1.7 Installation forums, part of the osCMax v1.7 Forums category; I have installed oscommerce on my XP box, running apache 2, php5, mysql. Every thing works fine and is configured (...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I have installed oscommerce on my XP box, running apache 2, php5, mysql. Every thing works fine and is configured (server) correct. I am able to view the customer side of the store perfectly, all the links work. All the database files were imported. All that is fine. Im running on a local machine, so my site isnt live. BUT **********The admin page is blank!!!!!!!!!!!!!************ When I surf to it (http://localhost/extreme/catalog/admin/) i get a blank page. I do have catalog in a folder called called extreme . I got a few suggestions in General Support, such as switching to php 4, and changing "define WS from /catalog/admin to /admin/" in configure.php. I tried the define WS thing, to no avail. Do I really need to do something as drastic as downgrading my php, or is there something Im overlooking? Ive been at this for three days and cant seem to figure it out. Ive been all over the web looking for help. Does anyone have any ideas? I have attached my admin/include/configure.php. Could my include/configure be involved? <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 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://127.0.0.1'); // eg, http://127.0.0.1 - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://127.0.0.1'); define('HTTPS_CATALOG_SERVER', 'https://127.0.0.1'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'C:/Server/htdocs/extreme'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', 'C:/Server/htdocs/extreme/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', 'C:/Server/htdocs/extreme/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, 127.0.0.1 - should not be empty for productive servers define('DB_SERVER_USERNAME', 'root'); define('DB_SERVER_PASSWORD', '10750350'); define('DB_DATABASE', 'catalog'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> |
|
#2
| ||||
| ||||
| There is a problem running the admin under php5. Check your php error logs. It is a pretty easy fix: admin/includes/classes/upload.php , on line 31 // self destruct $this = null; THIS should be : // self destruct $this == null;
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| osc to oscmax noob question | dustybin | osCMax v2 Installation issues | 2 | 10-12-2006 07:18 PM |
| directory permissions - noob help required | jayr | osCommerce 2.2 Installation Help | 1 | 11-25-2002 05:17 PM |