Forum Forum Magento Theme SNS Korion – Magento Theme Fatal error: require_once(): Failed opening required

  • Author
    Posts
  • #8106

    Jeroen.a.a
    Participant

      I try to setup a second store on a second domain.
      First (with magento installation in root) http:\dewijnzaak.nl
      Second http:\dewhiskyzaak.nl

      on server:
      first: /domains/dewijnzaak.nl/public_html/app/Mage.php
      second: /domains/dewhiskyzaak.nl/public_html/

      Created second website etc in magento backend according tutorials.
      copied index.php and .htaccess to root second domain.
      Changed in index.php
      $mageFilename = MAGENTO_ROOT . ‘/../../dewijnzaak.nl/public_html/app/Mage.php’;
      and
      /* Store or website code */
      $mageRunCode = isset($_SERVER[‘MAGE_RUN_CODE’]) ? $_SERVER[‘MAGE_RUN_CODE’] : ‘dewhiskyzaak’;

      added some redirects to .htaccess:
      Redirect 301 /app http://dewijnzaak.nl/app/
      Redirect 301 /errors http://dewijnzaak.nl/errors/
      Redirect 301 /includes http://dewijnzaak.nl/includes/
      Redirect 301 /js http://dewijnzaak.nl/js/
      Redirect 301 /lib http://dewijnzaak.nl/lib/
      Redirect 301 /media http://dewijnzaak.nl/media/
      Redirect 301 /skin http://dewijnzaak.nl/skin/
      Redirect 301 /var http://dewijnzaak.nl/var/

      Front page loads (more or less) and cms pages are loading but when I click on a category I get te following error:

      Fatal error: require_once(): Failed opening required ‘app/code/core/Mage/Catalog/controllers/CategoryController.php’ (include_path=’/home/wijnzaak/domains/dewijnzaak.nl/public_html/app/code/local:/home/wijnzaak/domains/dewijnzaak.nl/public_html/app/code/community:/home/wijnzaak/domains/dewijnzaak.nl/public_html/app/code/core:/home/wijnzaak/domains/dewijnzaak.nl/public_html/lib:.:/usr/local/lib/php’) in /home/wijnzaak/domains/dewijnzaak.nl/public_html/app/code/local/Sns/Ajaxfilter/controllers/Catalog/CategoryController.php on line 10

      Hope you can help me.

    You must be logged in to reply to this topic. Click here to login or register