osCmax v2.5 User Manual
Results 1 to 2 of 2

Be A Pal, Help a Noob...

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 ...

      
  1. #1
    Lurker
    Join Date
    May 2005
    Posts
    1
    Rep Power
    0


    Default Be A Pal, Help a Noob...

    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. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default check your error logs...

    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. osc to oscmax noob question
    By dustybin in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 10-12-2006, 07:18 PM
  2. directory permissions - noob help required
    By jayr in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 11-25-2002, 04:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •