Menu

Errors on ocsmall

Help
rain
2007-02-19
2013-03-22
  • rain

    rain - 2007-02-19

    Hi
    I installed ocs mall, put in the missing table, but I get an error on my cart entrance.
    Warning: main(includes/template//catalog.php) [function.main]: failed to open stream: No such file or directory in /home/newsgem/public_html/shop/index.php on line 22

    Warning: main(includes/template//catalog.php) [function.main]: failed to open stream: No such file or directory in /home/newsgem/public_html/shop/index.php on line 22

    Warning: main(includes/template//catalog.php) [function.main]: failed to open stream: No such file or directory in /home/newsgem/public_html/shop/index.php on line 22

    Fatal error: main() [function.require]: Failed opening required 'includes/template//catalog.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/newsgem/public_html/shop/index.php on line 22

    ==========================================
    Here is what my index.php looks like

    <?php
    /*
      Copyright (c) 2002 - 2006 SystemsManager.Net

      SystemsManager Technologies
      oscMall System Version 4
      http://www.systemsmanager.net
     
      Portions Copyright (c) 2002 osCommerce
     
      This source file is subject to version 2.0 of the GPL license,  
      that is bundled with this package in the file LICENSE. If you
      did not receive a copy of the oscMall System license and are unable
      to obtain it through the world-wide-web, please send a note to   
      license@systemsmanager.net so we can mail you a copy immediately.
    */
      global $page_name;
      $page_name = 'index';
      require('includes/application_top.php');
      include (DIR_WS_BUSINESS_MODULES . $store->get_store_type() . '/' .$page_name . '.php');
      define('PAGE_NAME' , $page_name . '.php');
      require(TEMPLATE_STYLE);
      require(DIR_WS_INCLUDES . 'application_bottom.php');
        
    ?>

    Can anyone see what I am doing wrong.
    Thank you,
    Rain

     
    • RedJim

      RedJim - 2007-05-22

      I haven't installed yet, but it looks like you have an extra / in your filenames (i.e. includes/template//catalog.php should be includes/template/catalog.php)
      your settings in the configure.php may have a trailing slash that isn't supposed to be there. 
      Good luck, James

       

Log in to post a comment.