cancel
Showing results for 
Search instead for 
Did you mean: 

New site is giving 404

New site is giving 404

Hello,

 

We have Magento 1.14.2.3 (on CentOS7, PHP7). Working fine for a year or so on www.xxxxx.co.uk.

We want to host another domain (www.yyyyy.co.uk).

We have

  • Added Apache config, with:
    SetEnv MAGE_RUN_CODE "www_yyyyy_co_uk"
    SetEnv MAGE_RUN_TYPE "website"
  • Updated DNS.
  • Created the necessary app/design and skin/frontend files for the site
  • Created the site in Magento Admin -> System -> Configuration and Admin -> System -> Manage Stores.
  • Created a simple "TEST" CMS page for the home page.

The problem is that with everything looking right and in-place, we browse to our site and get a Magento 404 page.

 

The error we get from var/log/exception.log:

"

2017-05-26T13:20:35+00:00 ERR (3):
Mage_Core_Exception: Invalid block type: Mage_Enterprise_Search_Block_Suggestions in /ssddata/www/www.xxxxx.co.uk/app/Mage.php:595
Stack trace:
#0 /ssddata/www/www.xxxxx.co.uk/app/code/local/Mage/Core/Model/Layout.php(495): Mage::throwException('Invalid block t...')
#1 /ssddata/www/www.xxxxx.co.uk/app/code/local/Mage/Core/Model/Layout.php(437): Mage_Core_Model_Layout->_getBlockInstance('Mage_Enterprise...', Array)
#2 /ssddata/www/www.xxxxx.co.uk/app/code/local/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('enterprise_sear...', 'search_suggesti...')
#3 /ssddata/www/www.xxxxx.co.uk/app/code/local/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('enterprise_sear...', 'search_suggesti...')
#4 /ssddata/www/www.xxxxx.co.uk/app/code/local/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#5 /ssddata/www/www.xxxxx.co.uk/app/code/local/Mage/Core/Model/Layout.php(206): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 /ssddata/www/www.xxxxx.co.uk/app/code/local/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#7 /ssddata/www/www.xxxxx.co.uk/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#8 /ssddata/www/www.xxxxx.co.uk/app/code/core/Mage/Core/Controller/Varien/Action.php(269): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#9 /ssddata/www/www.xxxxx.co.uk/app/code/core/Mage/CatalogSearch/controllers/ResultController.php(77): Mage_Core_Controller_Varien_Action->loadLayout()
#10 /ssddata/www/www.xxxxx.co.uk/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_CatalogSearch_ResultController->indexAction()
#11 /ssddata/www/www.xxxxx.co.uk/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('index')
#12 /ssddata/www/www.xxxxx.co.uk/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#13 /ssddata/www/www.xxxxx.co.uk/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#14 /ssddata/www/www.xxxxx.co.uk/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#15 /ssddata/www/www.xxxxx.co.uk/index.php(82): Mage::run('', 'store')
#16 {main}
2017-05-26T13:20:35+00:00 ERR (3):
Mage_Core_Exception: Invalid block type: Mage_Enterprise_Search_Block_Recommendations in /ssddata/www/www.xxxxx.co.uk/app/Mage.php:595
Stack trace:
#0 /ssddata/www/www.xxxxx.co.uk/app/code/local/Mage/Core/Model/Layout.php(495): Mage::throwException('Invalid block t...')
#1 /ssddata/www/www.xxxxx.co.uk/app/code/local/Mage/Core/Model/Layout.php(437): Mage_Core_Model_Layout->_getBlockInstance('Mage_Enterprise...', Array)
#2 /ssddata/www/www.xxxxx.co.uk/app/code/local/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('enterprise_sear...', 'search_recommen...')
#3 /ssddata/www/www.xxxxx.co.uk/app/code/local/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('enterprise_sear...', 'search_recommen...')
#4 /ssddata/www/www.xxxxx.co.uk/app/code/local/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#5 /ssddata/www/www.xxxxx.co.uk/app/code/local/Mage/Core/Model/Layout.php(206): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 /ssddata/www/www.xxxxx.co.uk/app/code/local/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#7 /ssddata/www/www.xxxxx.co.uk/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#8 /ssddata/www/www.xxxxx.co.uk/app/code/core/Mage/Core/Controller/Varien/Action.php(269): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#9 /ssddata/www/www.xxxxx.co.uk/app/code/core/Mage/CatalogSearch/controllers/ResultController.php(77): Mage_Core_Controller_Varien_Action->loadLayout()
#10 /ssddata/www/www.xxxxx.co.uk/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_CatalogSearch_ResultController->indexAction()
#11 /ssddata/www/www.xxxxx.co.uk/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('index')
#12 /ssddata/www/www.xxxxx.co.uk/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#13 /ssddata/www/www.xxxxx.co.uk/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#14 /ssddata/www/www.xxxxx.co.uk/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#15 /ssddata/www/www.xxxxx.co.uk/index.php(82): Mage::run('', 'store')
#16 {main}

"

 

As there are referencing to "search" we have spoken to the supplier/developer of our Sphinx Search extension, but they have assured us that the extension should work fine on a multi-domain setup.

 

We would really appreciate some help deciphering these errors.

Or, where else is a good place to look for clues?

 

Thank you.

 

Elliot