My View's doesn't exist after moving it to hosting site - php

After I've moved it to my production server my views began to not exist and thats odd.
here is my stack trace
Unhandled Exception
Message:
View [employer.jds] doesn't exist.
Location:
/var/www/vhosts/aquariusmc.com/httpdocs/laravel/view.php on line 170
Stack Trace:
#0 /var/www/vhosts/aquariusmc.com/httpdocs/laravel/view.php(107): Laravel\View->path('employer.jds')
#1 /var/www/vhosts/aquariusmc.com/httpdocs/laravel/view.php(218): Laravel\View->__construct('employer.jds', Array)
#2 /var/www/vhosts/aquariusmc.com/httpdocs/application/controllers/employer/main.php(18): Laravel\View::make('employer.jds', Array)
#3 [internal function]: Employer_Main_Controller->get_jobDispatchSheet()
#4 /var/www/vhosts/aquariusmc.com/httpdocs/laravel/routing/controller.php(325): call_user_func_array(Array, Array)
#5 /var/www/vhosts/aquariusmc.com/httpdocs/laravel/routing/controller.php(285): Laravel\Routing\Controller->response('jobdispatchshee...', Array)
#6 /var/www/vhosts/aquariusmc.com/httpdocs/laravel/routing/controller.php(165): Laravel\Routing\Controller->execute('jobdispatchshee...', Array)
#7 /var/www/vhosts/aquariusmc.com/httpdocs/laravel/routing/route.php(153): Laravel\Routing\Controller::call('employer.main#j...', Array)
#8 /var/www/vhosts/aquariusmc.com/httpdocs/laravel/routing/route.php(124): Laravel\Routing\Route->response()
#9 /var/www/vhosts/aquariusmc.com/httpdocs/laravel/laravel.php(167): Laravel\Routing\Route->call()
#10 /var/www/vhosts/aquariusmc.com/httpdocs/public/index.php(34): require('/var/www/vhosts...')
#11 {main}

I solved it by using lowercase on all of my view's filename. I think Plesk(CentOS) has something to do with the camelCase filename. but anyway thanks!

Related

Fatal errors when i activvate asta theme on my localhost

i am using local web host for my website, it work fine but when I active ASTRA theme my whole website crashes by giving this error, this theme works fine on other free webhost but it fail here on localhost what should i do
: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in C:\xampp\htdocs\itsosmos\wp-includes\widgets.php:1265 Stack trace: #0 C:\xampp\htdocs\itsosmos\wp-includes\widgets.php(1265): array_merge(wp_inactive_widgets: Array, sidebar-1: Array, header-widget: Array, footer-widget-1: Array, footer-widget-2: Array, advanced-footer-widget-1: Array, advanced-footer-widget-2: Array, advanced-footer-widget-3: Array, advanced-footer-widget-4: Array) #1 C:\xampp\htdocs\itsosmos\wp-includes\widgets.php(1220): retrieve_widgets(true) #2 C:\xampp\htdocs\itsosmos\wp-includes\class-wp-hook.php(289): _wp_sidebars_changed('Twenty Twenty') #3 C:\xampp\htdocs\itsosmos\wp-includes\class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #4 C:\xampp\htdocs\itsosmos\wp-includes\plugin.php(478): WP_Hook->do_action(Array) #5 C:\xampp\htdocs\itsosmos\wp-includes\theme.php(3267): do_action('after_switch_th...', 'Twenty Twenty', Object(WP_Theme)) #6 C:\xampp\htdocs\itsosmos\wp-includes\class-wp-hook.php(287): check_theme_switched('') #7 C:\xampp\htdocs\itsosmos\wp-includes\class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #8 C:\xampp\htdocs\itsosmos\wp-includes\plugin.php(478): WP_Hook->do_action(Array) #9 C:\xampp\htdocs\itsosmos\wp-settings.php(546): do_action('init') #10 C:\xampp\htdocs\itsosmos\wp-config.php(90): require_once('C:\xampp\htdocs...') #11 C:\xampp\htdocs\itsosmos\wp-load.php(37): require_once('C:\xampp\htdocs...') #12 C:\xampp\htdocs\itsosmos\wp-admin\admin.php(34): require_once('C:\xampp\htdocs...') #13 C:\xampp\htdocs\itsosmos\wp-admin\themes.php(10): require_once('C:\xampp\htdocs...') #14 {main} thrown in C:\xampp\htdocs\itsosmos\wp-includes\widgets.php on line 1265strong text
It seems to be PHP 8 problem with your theme. Ask for creator to update theme to compatible with PHP 8, Or downgrade your PHP to lower version.

Socialengine addon Advanced Events Plugin v4.8.8p2 throwing errror on create

I've got a site set up with the base Socialengine setup going. I've installed most of the SocialEngineAddon suite of plugins, and for some reason, the Advanced Events plugin throws this error when I try and create one ie: example.com/appeals/create I've tried renaming back to the default site-event, but the problem persists, and I'm having trouble debugging this error. Has anyone seen an error like this before? (I'm quite new to Zend/SocialEngine)
exception 'Zend_Form_Exception' with message 'No view script registered with ViewScript decorator' in /home/activism/public_html/application/libraries/Zend/Form/Decorator/ViewScript.php:162
Stack trace:
#0 /home/activism/public_html/application/libraries/Zend/Form/DisplayGroup.php(920): Zend_Form_Decorator_ViewScript->render('')
#1 /home/activism/public_html/application/libraries/Zend/Form/Decorator/FormElements.php(116): Zend_Form_DisplayGroup->render()
#2 /home/activism/public_html/application/libraries/Zend/Form.php(2933): Zend_Form_Decorator_FormElements->render('')
#3 /home/activism/public_html/application/modules/Siteevent/views/scripts/index/create.tpl(294): Zend_Form->render(Object(Zend_View))
#4 /home/activism/public_html/application/libraries/Zend/View.php(108): include('/home/activism/...')
#5 /home/activism/public_html/application/libraries/Zend/View/Abstract.php(890): Zend_View->_run('/home/activism/...')
#6 /home/activism/public_html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(900): Zend_View_Abstract->render('index/create.tp...')
#7 /home/activism/public_html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(921): Zend_Controller_Action_Helper_ViewRenderer->renderScript('index/create.tp...', NULL)
#8 /home/activism/public_html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(960): Zend_Controller_Action_Helper_ViewRenderer->render()
#9 /home/activism/public_html/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#10 /home/activism/public_html/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#11 /home/activism/public_html/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('createAction')
#12 /home/activism/public_html/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#13 /home/activism/public_html/application/modules/Core/Bootstrap.php(83): Zend_Controller_Front->dispatch()
#14 /home/activism/public_html/application/libraries/Engine/Application.php(160): Core_Bootstrap->run()
#15 /home/activism/public_html/application/index.php(211): Engine_Application->run()
#16 /home/activism/public_html/index.php(24): include('/home/activism/...')
#17 {main}
Its seems you need to verify license .Contact the Socialengineaddson guys will help you.

magento frondend and backend show error

My magento frontend and backend not load and show error.
How I can fix this?
Notice: error show after I disable all modules (I know that's wrong).
How I can fix this?
I'm Beginner in magento.
Thank you for help.
Notice: Undefined index: httponly in
D:\xampp\htdocs\magento\magento\app\code\core\Mage\Core\Model\Session\Abstract\Varien.php on line 104
#0 D:\xampp\htdocs\magento\magento\app\code\core\Mage\Core\Model\Session\Abstract\Varien.php(104): mageCoreErrorHandler(8, 'Undefined index...', 'D:\\xampp\\htdocs...', 104, Array)
#1 D:\xampp\htdocs\magento\magento\app\code\core\Mage\Core\Model\Session\Abstract\Varien.php(222): Mage_Core_Model_Session_Abstract_Varien->start('frontend')
#2 D:\xampp\htdocs\magento\magento\app\code\core\Mage\Core\Model\Session\Abstract.php(84): Mage_Core_Model_Session_Abstract_Varien->init('core', 'frontend')
#3 D:\xampp\htdocs\magento\magento\app\code\core\Mage\Core\Model\Session.php(42): Mage_Core_Model_Session_Abstract->init('core', 'frontend')
#4 D:\xampp\htdocs\magento\magento\app\code\core\Mage\Core\Model\Config.php(1348): Mage_Core_Model_Session->__construct(Array)
#5 D:\xampp\htdocs\magento\magento\app\Mage.php(463): Mage_Core_Model_Config->getModelInstance('core/session', Array)
#6 D:\xampp\htdocs\magento\magento\app\Mage.php(477): Mage::getModel('core/session', Array)
#7 D:\xampp\htdocs\magento\magento\app\code\core\Mage\Core\Controller\Varien\Action.php(493): Mage::getSingleton('core/session', Array)
#8 D:\xampp\htdocs\magento\magento\app\code\core\Mage\Core\Controller\Front\Action.php(64): Mage_Core_Controller_Varien_Action->preDispatch()
#9 D:\xampp\htdocs\magento\magento\app\code\core\Mage\Core\Controller\Varien\Action.php(407): Mage_Core_Controller_Front_Action->preDispatch()
#10 D:\xampp\htdocs\magento\magento\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#11 D:\xampp\htdocs\magento\magento\app\code\core\Mage\Core\Controller\Varien\Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#12 D:\xampp\htdocs\magento\magento\app\code\core\Mage\Core\Model\App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#13 D:\xampp\htdocs\magento\magento\app\Mage.php(684): Mage_Core_Model_App->run(Array)
#14 D:\xampp\htdocs\magento\magento\index.php(89): Mage::run('', 'store')
#15 {main}
You need to disable module which only reside in local or community. except Cm_reddis and Phoenix extension. then refresh cache and check it.

Zend - plugin Word_CamelCaseToDash was not found in the registry

There is many topics like that all over the internet, but because i have NO IDEA what to do with answers i must ask it again.
I was transferring website from one server to another and after transfer i saw:
exception 'Zend_Loader_PluginLoader_Exception' with message 'Plugin by name 'Word_CamelCaseToDash' was not found in the registry; used paths:
Zend_Filter_: Zend/Filter/' in /library/Zend/Loader/PluginLoader.php:412
Stack trace:
#0 /library/Zend/Filter/Inflector.php(518): Zend_Loader_PluginLoader->load('Word_CamelCaseT...')
#1 /library/Zend/Filter/Inflector.php(411): Zend_Filter_Inflector->_getRule('Word_CamelCaseT...')
#2 /library/Zend/Filter/Inflector.php(311): Zend_Filter_Inflector->addFilterRule(':module', Array)
#3 /library/Zend/Controller/Action/Helper/ViewRenderer.php(281): Zend_Filter_Inflector->addRules(Array)
#4 /library/Zend/Controller/Action/Helper/ViewRenderer.php(381): Zend_Controller_Action_Helper_ViewRenderer->getInflector()
#5 /library/Zend/Controller/Action/Helper/ViewRenderer.php(469): Zend_Controller_Action_Helper_ViewRenderer->_getBasePath()
#6 /library/Zend/Controller/Action/Helper/ViewRenderer.php(516): Zend_Controller_Action_Helper_ViewRenderer->initView()
#7 /library/Zend/Controller/Action/HelperBroker.php(253): Zend_Controller_Action_Helper_ViewRenderer->init()
#8 /library/Zend/Controller/Action.php(132): Zend_Controller_Action_HelperBroker->__construct(Object(ErrorController))
#9 /library/Zend/Controller/Dispatcher/Standard.php(262): Zend_Controller_Action->__construct(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http), Array)
#10 /library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#11 /index.php(39): Zend_Controller_Front->dispatch()
#12 {main}
Honestly i have no skill in Zend, so if anyone could tell me what is wrong with it? (website worker on previous hosting without a problem).
A file named CamelCaseToDash.php under Word directory is missing check that file first.
If the file exist than check in your configuration file whether the autoloadnamespace is for Word is added

SocialEngine4: Notification Error: Zend Engine_Api_Exception with message Unknown item type

I am using socialengine4 and my notifications keep giving me this error. I thought this was some type of config thing and look into the database or the notifications setting but i have not been able to fix this error. Can anyone point me in the right direction?
2012-05-22T17:40:21+00:00 CRIT (2):
Error Code: dc0cf5
exception 'Engine_Api_Exception' with message 'Unknown item type: news_content' in /var/www/html/application/libraries/Engine/Api.php:417
Stack trace:
#0 /var/www/html/application/libraries/Engine/Api.php(522): Engine_Api->getItemInfo('news_content', 'moduleInflected')
#1 /var/www/html/application/libraries/Engine/Api.php(330): Engine_Api->getItemApi('news_content')
#2 /var/www/html/application/modules/Activity/Model/Notification.php(80): Engine_Api->getItem('news_content', 2622)
#3 /var/www/html/application/modules/Activity/Model/Notification.php(49): Activity_Model_Notification->getObject()
#4 /var/www/html/application/modules/Activity/Model/Notification.php(98): Activity_Model_Notification->getContent()
#5 /var/www/html/application/modules/Activity/views/scripts/notifications/pulldown.tpl(17): Activity_Model_Notification->__toString()
#6 /var/www/html/application/libraries/Zend/View.php(108): include('/var/www/html/a...')
#7 /var/www/html/application/libraries/Zend/View/Abstract.php(835): Zend_View->_run('/var/www/html/a...')
#8 /var/www/html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(903): Zend_View_Abstract->render('notifications/p...')
#9 /var/www/html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(924): Zend_Controller_Action_Helper_ViewRenderer->renderScript('notifications/p...', NULL)
#10 /var/www/html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(964): Zend_Controller_Action_Helper_ViewRenderer->render()
#11 /var/www/html/application/modules/Activity/controllers/NotificationsController.php(109): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#12 /var/www/html/application/libraries/Zend/Controller/Action.php(512): Activity_NotificationsController->pulldownAction()
#13 /var/www/html/application/libraries/Zend/Controller/Dispatcher/Standard.php(289): Zend_Controller_Action->dispatch('pulldownAction')
#14 /var/www/html/application/libraries/Zend/Controller/Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#15 /var/www/html/application/modules/Core/Bootstrap.php(75): Zend_Controller_Front->dispatch()
#16 /var/www/html/application/libraries/Engine/Application.php(160): Core_Bootstrap->run()
#17 /var/www/html/application/index.php(194): Engine_Application->run()
#18 /var/www/html/index.php(24): include('/var/www/html/a...')
#19 {main}
The settings for the items are in Application->modules->'modulename'->settings>manifest.php
There is an array called items which i added 'news_content' to and it worked.
I managed to fix it.
The problem was that somehow (despite lack of enable/disable link on the module box in the list of modules) it was disabled.
To enable it I accessed the 'engine4_core_modules' table, searched for 'storage' name and changed the 'enabled' cell content from 0 to 1.

Categories