Forum › Forum › Magento Theme › SNS Korion – Magento Theme › Fatal error: require_once(): Failed opening required
-
AuthorPosts
-
August 27, 2015 at 9:09 am #8106
I try to setup a second store on a second domain.
First (with magento installation in root) http:\dewijnzaak.nl
Second http:\dewhiskyzaak.nlon 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.
-
AuthorPosts
You must be logged in to reply to this topic. Click here to login or register
Useful
Recent Topics
- sorting filter does not work on chrome mobile version
- photo not present when sharing on Facebook
- product sorting filter bug
- Empty space on right side
- added share buttons
- correct layout with TAG and missing results with Attribute Filter
- How i can disable the “buy theme now”
- How to make gallery elements visible?
Support Policy
- Official hour: Mon-Fri / 9am-5pm
- Location time: GMT + 7