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

Help with oscommerce catalog and admin pages

This is a discussion on Help with oscommerce catalog and admin pages within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I am new to oscommerce and I am having some issues with the software. Please review my issues. I would ...

      
  1. #1
    Lurker
    Join Date
    Oct 2008
    Posts
    1
    Rep Power
    0


    Exclamation Help with oscommerce catalog and admin pages

    I am new to oscommerce and I am having some issues with the software. Please review my issues. I would like to setup my store on the local machine and upload it to the server. I need help

    Windows XP sp3
    IIS
    MySQL 5.0.67
    PHPadmin 5.2.6
    OSCommerce 2.2 rc2a

    I have 3 issues

    • oscommerce page
    When I click on contact on the index (sample page) of oscommerce I get this error:
    The website declined to show this webpage contact_us.php Http 403. When I place the mouse over the link (contact us) I see in the information bar (localhostcataloglocalhostcatalogcontact_us.php)

    • oscommerce admin page is blank
    When I enter the address localhostcontactadminindex.php, it displays either a blank page or an Http error 500

    • can not change permission on oscommerce files as instructed in document
    I am using Windows xp on my local machine and my web server is windows

    Catalogincludesconfigure.php
    <?php
    /*
    $Id: configure.php 1739 2007-12-20 00:52:16Z hpdl $

    osCommerce, Open Source E-Commerce Solutions
    osCommerce, Open Source Online Shop E-Commerce Solutions

    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', 'localhost'); // eg, cPanel - should not be empty for productive servers
    define('HTTPS_SERVER', 'localhost'); // eg, https://localhost - should not be empty for productive servers
    define('ENABLE_SSL', flase); // secure webserver for checkout procedure?
    define('HTTP_COOKIE_DOMAIN', 'localhost');
    define('HTTPS_COOKIE_DOMAIN', 'localhost');
    define('HTTP_COOKIE_PATH', 'localhost');
    define('HTTPS_COOKIE_PATH', 'localhost');
    define('DIR_WS_HTTP_CATALOG', '/catalog/');
    define('DIR_WS_HTTPS_CATALOG', '/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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');


    CatalogadminincludesConfigure.php
    <?php
    /*
    $Id: configure.php 1739 2007-12-20 00:52:16Z hpdl $

    osCommerce, Open Source E-Commerce Solutions
    osCommerce, Open Source Online Shop E-Commerce Solutions

    Copyright (c) 2002 osCommerce

    Released under the GNU General Public License
    */

    // define our webserver variables
    // FS = Filesystem (physical)
    // WS = Webserver (virtual)
    define('HTTP_SERVER', 'localhost/catalog/admin'); // eg, cPanel or - https://localhost should not be NULL for productive servers
    define('HTTP_CATALOG_SERVER', 'localhost/catalog/admin');
    define('HTTPS_CATALOG_SERVER', 'localhost/catalog/admin');
    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/admin');
    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 . '/inculdes/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/');



    Please Help

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default Re: Help with oscommerce catalog and admin pages

    Your OSC INSTALL was not done correctly - Did you MANUALLY edit the file?

    First of all DUMP your IIS install (uninstall IIS, PHP and MySQL). More than likely it is done wrong. Besides phpMyAdmin is possibly not installed and a bunch of other things too not done...

    Many users have asked what happened to Internet Information Services (IIS) or Personal Web Server (PWS) in XP Home Edition. The official response from Microsoft is below.

    "Windows XP Home Edition does not include or support any versions (1.0, 2.0, 4.0) of Microsoft Personal Web Server (PWS). Users that need Web server functionality in a desktop operating system should use Windows XP Professional."
    At one time there was a workaround in the Knowledge Base (Q310090) that has since disappeared.
    Yea the work around is called WAMP

    First use the uninstall for PHP and MySQL....then uninstall IIS....
    Remove IIS 5.1 or IIS 6.0
    To remove IIS 5.1 or IIS 6.0, follow these steps:
    1. Locate the Iis5.log file. Rename it to IIS5_old.log.
    2. Click Start, click Run, type cmd, and then click OK.
    3. At the command prompt, type net stop iisadmin /y.
    4. Stop all services that depend on IIS services. To determine what services depend on IIS services, follow these steps:

    Note This IIS services are the IIS Admin Service, the World Wide Publishing Service, the Simple Mail Transport Server, the FTP Publishing Service, and the NNTP Publishing Service.
    a. Click Start, click Run, type Services.msc, and then click OK.
    b. Right-click the service that you want, and then click Properties.
    c. On the Dependencies tab, note the services listed in the The following system components depend on this service window.
    5. In Task Manager, verify that Inetinfo.exe is not running. Also confirm that no processes that depend on IIS are running.
    6. Click Start, click Run, type Appwiz.cpl, and then click OK.
    7. In Control Panel, double-click Add/Remove Programs.
    8. In the Add/Remove Programs window, click Add/Remove Windows Components.
    9. In the Components box of the Windows Components Wizard, double-click Application Server.
    10. Click to clear the Internet Information Services (IIS) check box, and then click OK.
    11. In the Windows Components Wizard, click Next.
    12. When the Windows Components Wizard completes the installation, click Finish.
    13. Restart the computer.
    14. Click Start, click Run, type Lusrmgr.msc, and then click OK.
    15. In the Local Users and Groups windows, verify that the IWAM_computername and IUSR_computername account have been deleted.

    Note In the account names, computername is the name of the computer.
    16. Verify that the Inetsrv folder has been deleted. By default, the Inetsrv folder is located in the %Windir%System32 folder.

    Note You may be unable to delete the Inetsrv folder or its contents because of Windows File Protection.
    For a MUCH better system for TESTING purposes use a WAMP package. EasyPHP, WampServer, XAMPP etc...
    See: Comparison of WAMPs - Wikipedia, the free encyclopedia

    Pick one and install it say on a USB key or ANYWHERE on a Windows hard drive (portable or internal)

    Once the 15 second (on average) install is done....
    - Start the WAMP (most they operate like an on/off switch)
    - use the ADMIN in the WAMP to access phpMyAdmin - create a database/user name/password
    - copy a FRESH COPY of OSC or better yet osCMax to the www directory.
    - in your browser (like Firefox) go to and follow the instructions: localhost/catalog/install/

    Done!

    Uninstall is very easy. Delete the folder containing the WAMP - DONE! (no 16+ steps)
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

Similar Threads

  1. Romanian - Admin & Catalog osCommerce 2.2MS
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 06-20-2008, 02:24 PM
  2. WYSIWYG editor for added pages in catalog section of admin
    By themainebaby in forum osCmax v2 Customization/Mods
    Replies: 6
    Last Post: 02-20-2006, 11:08 AM
  3. blank admin tool and catalog pages...need configure.php help
    By marvinc in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 11-16-2004, 05:18 PM
  4. Secure Catalog pages
    By Skidude in forum osCommerce 2.2 Modification Help
    Replies: 10
    Last Post: 11-17-2003, 05:57 AM
  5. Secure Catalog Pages
    By ishann in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 08-22-2003, 02:25 AM

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
  •