Magento error There has been an error processing your request - php

Error in file: "/var/www/html/magento_1.3.2.4/app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-upgrade-0.7.39-0.7.40.php" - Unknown error (8192): Function split() is deprecated in /var/www/html/magento_1.3.2.4/app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-upgrade-0.7.39-0.7.40.php on line 35
Trace:
#0 /var/www/html/magento_1.3.2.4/app/code/core/Mage/Core/Model/Resource/Setup.php(292): Mage::exception('Mage_Core', 'Error in file: ...')
#1 /var/www/html/magento_1.3.2.4/app/code/core/Mage/Core/Model/Resource/Setup.php(168): Mage_Core_Model_Resource_Setup->_modifyResourceDb('upgrade', '0.7.0', '0.7.69')
#2 /var/www/html/magento_1.3.2.4/app/code/core/Mage/Core/Model/Resource/Setup.php(155): Mage_Core_Model_Resource_Setup->_installResourceDb('0.7.69')
#3 /var/www/html/magento_1.3.2.4/app/code/core/Mage/Core/Model/Resource/Setup.php(121): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 /var/www/html/magento_1.3.2.4/app/code/core/Mage/Core/Model/Config.php(263): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 /var/www/html/magento_1.3.2.4/app/code/core/Mage/Core/Model/App.php(263): Mage_Core_Model_Config->init(Array)
#6 /var/www/html/magento_1.3.2.4/app/Mage.php(434): Mage_Core_Model_App->init('', 'store', Array)
#7 /var/www/html/magento_1.3.2.4/app/Mage.php(455): Mage::app('', 'store', Array)
#8 /var/www/html/magento_1.3.2.4/index.php(65): Mage::run()
#9 {main}

You are using upper version of PHP and Lower version of Magento. That's why this error is throwing. Either upgrade magento or degrade PHP version on your server.
Helpful link: http://www.geekieblog.com/2011/03/magento-1-3-x-environment-won%E2%80%99t-run-on-php-5-3/

Related

how to fix php spark serve not working and said thrown in C:\xampp\htdocs\ci-news\system\CLI\CLI.php on line 758

this is what cmd said and I don't know how to fix this I saw similar cases like this in the stackoverflow but their suggestion didn't fix my problem I hope you can help me thank you.
1 [internal function]
CodeIgniter\Debug\Exceptions()->shutdownHandler()
Fatal error: Uncaught Error: Call to undefined function CodeIgniter\CLI\mb_strpos() in C:\xampp\htdocs\ci-news\system\CLI\CLI.php:758
Stack trace:
#0 C:\xampp\htdocs\ci-news\system\CLI\CLI.php(161): CodeIgniter\CLI\CLI::parseCommandLine()
#1 C:\xampp\htdocs\ci-news\system\CLI\CLI.php(1000): CodeIgniter\CLI\CLI::init()
#2 C:\xampp\htdocs\ci-news\system\Autoloader\Autoloader.php(264): include_once('C:\\xampp\\htdocs...')
#3 C:\xampp\htdocs\ci-news\system\Autoloader\Autoloader.php(241): CodeIgniter\Autoloader\Autoloader->includeFile('C:\\xampp\\htdocs...')
#4 C:\xampp\htdocs\ci-news\system\Autoloader\Autoloader.php(219): CodeIgniter\Autoloader\Autoloader->loadInNamespace('CodeIgniter\\CLI...')
#5 C:\xampp\htdocs\ci-news\app\Views\errors\cli\error_exception.php(6): CodeIgniter\Autoloader\Autoloader->loadClass('CodeIgniter\\CLI...')
#6 C:\xampp\htdocs\ci-news\system\Debug\Exceptions.php(234): include('C:\\xampp\\htdocs...')
#7 C:\xampp\htdocs\ci-news\system\Debug\Exceptions.php(237): CodeIgniter\Debug\Exceptions->CodeIgniter\Debug\{closure}()
#8 C:\xampp\htdocs\ci-news\system\Debug\Exceptions.php(121): CodeIgniter\Debug\Exceptions->render(Object(CodeIgniter\Exceptions\FrameworkException), 500)
#9 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler(Object(CodeIgniter\Exceptions\FrameworkException))
#10 {main}
thrown in C:\xampp\htdocs\ci-news\system\CLI\CLI.php on line 758
C:\xampp\htdocs\ci-news>

shifted CAKE PHP project to new Hoisting ..getting this error Cake/Error/ExceptionRenderer.php

I have copied the project folder from one hoisting to another, Created required database. Cake PHP app is not running. When debugging is ON it gives the following error. In earlier hoisting it is working fine. PLEASE HELP
Fatal error: Uncaught Error: Class 'Controller' not found in /home3/frenzo/public_html/frenzo/lib/Cake/Error/ExceptionRenderer.php:174
Stack trace:
#0 /home3/frenzo/public_html/frenzo/lib/Cake/Error/ExceptionRenderer.php(92): ExceptionRenderer->_getController(Object(FatalErrorException))
#1 /home3/frenzo/public_html/frenzo/lib/Cake/Error/ErrorHandler.php(126): ExceptionRenderer->__construct(Object(FatalErrorException))
#2 /home3/frenzo/public_html/frenzo/lib/Cake/Error/ErrorHandler.php(284): ErrorHandler::handleException(Object(FatalErrorException))
#3 /home3/frenzo/public_html/frenzo/lib/Cake/Error/ErrorHandler.php(213): ErrorHandler::handleFatalError(64, 'Cannot use 'Obj...', '/home3/frenzo/p...', 30)
#4 /home3/frenzo/public_html/frenzo/lib/Cake/Core/App.php(970): ErrorHandler::handleError(64, 'Cannot use 'Obj...', '/home3/frenzo/p...', 30, Array)
#5 /home3/frenzo/public_html/frenzo/lib/Cake/Core/App.php(943): App::_checkFatalError()
#6 [internal function]: App::shutdown()
#7 {main}
thrown in /home3/frenzo/public_html/frenzo/lib/Cake/Error/ExceptionRenderer.php on line 174

Unsupported operand types CakePHP

I have a CakePHP project running on other server PHP 5.6 but here this same app is not running on PHP 5.6 / 7.0.
I am using Croogo with CakePHP.
It's showing me debug error like below:
Error: [Error] Unsupported operand types
Stack Trace:
#0 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(282): include()
#1 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(201): CakePlugin::_includeFile('/var/www/vhosts...', true)
#2 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(121): CakePlugin::bootstrap('Acl')
#3 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(94): CakePlugin::load('Acl', Array)
#4 /Vendor/croogo/croogo/Extensions/Lib/CroogoPlugin.php(656): CakePlugin::load(Array, Array)
#5 /Vendor/croogo/croogo/Croogo/Config/croogo_bootstrap.php(126): CroogoPlugin::load(Array)
#6 /Vendor/croogo/croogo/Croogo/Config/bootstrap.php(8): require_once('/var/www/vhosts...')
#7 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(282): include('/var/www/vhosts...')
#8 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(201): CakePlugin::_includeFile('/var/www/vhosts...', false)
#9 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(121): CakePlugin::bootstrap('Croogo')
#10 /Config/bootstrap.php(78): CakePlugin::load('Croogo', Array)
#11 /Vendor/cakephp/cakephp/lib/Cake/Core/Configure.php(98): include('/var/www/vhosts...')
#12 /Vendor/cakephp/cakephp/lib/Cake/bootstrap.php(432): Configure::bootstrap(true)
#13 /webroot/index.php(90): include('/var/www/vhosts...')
#14 {main}
It is from my tmp/logs/error.log file
Is there any fix?
Thanks in advance
Try debugging this place: /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(282): include() #1. See which file it's trying to include when failing and what's in it.

PHP Fatal error Could not include the language file Opencart

I have installed opencart and I have also installed Arabic language and pavillion theme and I followed the documentation, but I get this problem:
PHP Fatal error: 'Could not include the language file /home3/smartgpt/public_html/project/catalog/language/english/default.php'
in /home3/smartgpt/public_html/project/tb_themes/pavilion/library/ResourceLoader.php:143
Stack trace:
#0 tb_themes/pavilion/library/ThemeManager.php(722): TB_ResourceLoader->loadOcTranslation('default')
#1 tb_themes/pavilion/catalog/ThemeCatalogExtension.php(302): TB_ThemeManager->loadOcTranslation()
#2 tb_themes/pavilion/catalog/ThemeCatalogExtension.php(94): Theme_Catalog_Extension->setLanguageDirection()
#3 tb_themes/pavilion/library/vendor/sfEventDispatcher.php(81): Theme_Catalog_Extension->afterRouting(Object(sfEvent))
#4 tb_themes/pavilion/library/CatalogDispatcher.php(130): sfEventDispatcher->notify(Object(sfEvent))
#5 tb_themes/pavilion/library/CatalogDispatcher.php(66): TB_CatalogDispatcher->doRouting(Object(sfEventDispatcher), Object(Request), Object(TB_ViewDataBag))
#6 tb_themes/pavilion/catalog/boot.php(48): TB_CatalogDispatcher->dispatch(Array)
#7 catalog/controller/common/tb_themes.php(32): TB_Boot::bootTheme(Object(Registry), Object(Front), 'pavilion', 0)
#8 [internal function]: ControllerCommonTbThemes->index(Array)
#9 system/modification/system/engine/action.php(65): call_user_func(Array, Array)
#10 system/modification/system/engine/front.php(42): Action->execute(Object(Registry))
#11 system/modification/system/engine/front.php(37): Front->execute(Object(Action))
#12 system/modification/system/engine/front.php(17): Front->dispatch(Object(Action), Object(Action))
#13 index.php(243): Front->addPreAction(Object(Action))
#14 {main}
Go to : /catalog/language/english/ ... Download english.php > rename to default.php > upload back to /catalog/language/english/
Because it is saying, that it could not include language file, because there is no such file in /catalog/language/english/ directory.
Helped for me.

Typo3 solr not showing search result

I have successfully managed to install solr with typo3 6.2
Solr version 4.2
Typo3 version 6.2
Typo3 solr extension 2.8
Indexing processing is working fine as I am not getting anything in the devlog extension .But the problem is that when i try to search something in front end I am getting an error like this.
Es tut uns leid. Ihre Suchanfrage konnte nicht verarbeitet werden.
And in Backend typo3 devlog am getting an error like this
0: exception 'Apache_Solr_ParserException' with message 'Solr response does not appear to be valid JSON, please examine the raw response with getRawResponse() method' in /html/typo3/typo3conf/ext/solr/lib/SolrPhpClient/Apache/Solr/Response.php:206 Stack trace: #0 /html/typo3/typo3conf/ext/solr/lib/SolrPhpClient/Apache/Solr/Response.php(164): Apache_Solr_Response->_parseData() #1 /html/typo3/typo3conf/ext/solr/classes/class.tx_solr_search.php(365): Apache_Solr_Response->__get('response') #2 /html/typo3/typo3conf/ext/solr/pi_results/class.tx_solr_pi_results.php(167): tx_solr_Search->getNumberOfResults() #3 /html/typo3/typo3conf/ext/solr/classes/pluginbase/class.tx_solr_pluginbase_commandpluginbase.php(62): tx_solr_pi_results->getCommandList() #4 /html/typo3/typo3conf/ext/solr/classes/pluginbase/class.tx_solr_pluginbase_pluginbase.php(106): tx_solr_pluginbase_CommandPluginBase->render(NULL) #5 [internal function]: tx_solr_pluginbase_PluginBase->main('', Array) #6 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(6579): call_user_func_array(Array, Array) #7 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/UserContentObject.php(41): TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->callUserFunction('tx_solr_pi_resu...', Array, '') #8 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(863): TYPO3\CMS\Frontend\ContentObject\UserContentObject->render(Array) #9 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3641): TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->USER(Array) #10 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3589): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript_process(Array) #11 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3557): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->recursivelyReplaceIntPlaceholdersInContent() #12 /html/typo3/typo3_src-6.2.4/typo3/sysext/cms/tslib/index_ts.php(231): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript() #13 /html/typo3/typo3_src-6.2.4/index.php(28): require('/html/typo3/typ...') #14 {main}
0: exception 'Apache_Solr_ParserException' with message 'Solr response does not appear to be valid JSON, please examine the raw response with getRawResponse() method' in /html/typo3/typo3conf/ext/solr/lib/SolrPhpClient/Apache/Solr/Response.php:206 Stack trace: #0 /html/typo3/typo3conf/ext/solr/lib/SolrPhpClient/Apache/Solr/Response.php(164): Apache_Solr_Response->_parseData() #1 /html/typo3/typo3conf/ext/solr/classes/class.tx_solr_search.php(365): Apache_Solr_Response->__get('response') #2 /html/typo3/typo3conf/ext/solr/pi_results/class.tx_solr_pi_results.php(167): tx_solr_Search->getNumberOfResults() #3 /html/typo3/typo3conf/ext/solr/classes/pluginbase/class.tx_solr_pluginbase_commandpluginbase.php(62): tx_solr_pi_results->getCommandList() #4 /html/typo3/typo3conf/ext/solr/classes/pluginbase/class.tx_solr_pluginbase_pluginbase.php(106): tx_solr_pluginbase_CommandPluginBase->render(NULL) #5 [internal function]: tx_solr_pluginbase_PluginBase->main('', Array) #6 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(6579): call_user_func_array(Array, Array) #7 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/UserContentObject.php(41): TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->callUserFunction('tx_solr_pi_resu...', Array, '') #8 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(863): TYPO3\CMS\Frontend\ContentObject\UserContentObject->render(Array) #9 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3641): TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->USER(Array) #10 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3589): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript_process(Array) #11 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3557): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->recursivelyReplaceIntPlaceholdersInContent() #12 /html/typo3/typo3_src-6.2.4/typo3/sysext/cms/tslib/index_ts.php(231): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript() #13 /html/typo3/typo3_src-6.2.4/index.php(28): require('/html/typo3/typ...') #14 {main}
Can someone help me with this ??
Any kind of help will appreciated
Thanks in advance
as far as i know Typo3 solr extension 2.8 is not compatible with typo3 6.2. Use 3.0.0 instead

Categories