Install laravel sail specific version (8) - laravel

I want to set up the repo of Jeffrey Wey from here with Laravel sail.
In the docs of laravel sail, I read how to setup everything:
I cloned the repo of Jeffrew Wey from here.
I did
composer require laravel/sail
then
php artisan sail:install
but here I get prompted with something which I cannot decide:
php artisan sail:install
Which services would you like to install? [mysql]:
[0] mysql
[1] pgsql
[2] mariadb
[3] redis
[4] memcached
[5] meilisearch
[6] minio
[7] mailhog
[8] selenium
I tried with 0 and then with 9 for mysql and got no error.
I tried starting the server with
APP_PORT=3002 WWWGROUP=1000 WWWUSER=1000 ./vendor/bin/sail up -d
But: Laravel is not accesible via the port 3002.
these are the docker containers running:
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
92687dc31ecd sail-8.1/app "start-container" 2 minutes ago Up 2 minutes 0.0.0.0:5173->5173/tcp, :::5173->5173/tcp, 8000/tcp, 0.0.0.0:3002->80/tcp, :::3002->80/tcp morph-laravel.test-1
eb763e3cd457 mysql/mysql-server:8.0 "/entrypoint.sh mysq…" 2 minutes ago Up 2 minutes (healthy) 0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 33060-33061/tcp morph-mysql-1
The error logs of the container are quite long:
$ docker logs morph-laravel.test-1
2022-10-04 18:03:38,800 INFO Set uid to user 0 succeeded
2022-10-04 18:03:38,807 INFO supervisord started with pid 1
2022-10-04 18:03:39,814 INFO spawned: 'php' with pid 16
PHP Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:1411
Stack trace:
#0 /var/www/html/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 /var/www/html/vendor/composer/ClassLoader.php(571): include('...')
#2 /var/www/html/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#3 /var/www/html/vendor/laravel/framework/src/Illuminate/Collections/helpers.php(15): Composer\Autoload\ClassLoader->loadClass()
#4 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): collect()
#5 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config()
#6 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases()
#7 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(237): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap()
#8 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\Foundation\Application->bootstrapWith()
#9 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\Foundation\Console\Kernel->bootstrap()
#10 /var/www/html/artisan(37): Illuminate\Foundation\Console\Kernel->handle()
#11 {main} in /var/www/html/vendor/laravel/framework/src/Illuminate/Collections/Collection.php on line 11
PHP Fatal error: Uncaught ErrorException: Function must be enabled in php.ini by setting 'xdebug.mode' to 'develop' in /var/www/html/vendor/symfony/error-handler/Error/FatalError.php:37
Stack trace:
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 /var/www/html/vendor/symfony/error-handler/Error/FatalError.php(37): xdebug_get_function_stack()
#2 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(143): Symfony\Component\ErrorHandler\Error\FatalError->__construct()
#3 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(130): Illuminate\Foundation\Bootstrap\HandleExceptions->fatalErrorFromPhpError()
#4 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()
#5 {main}
thrown in /var/www/html/vendor/symfony/error-handler/Error/FatalError.php on line 37
2022-10-04 18:03:41,424 INFO success: php entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-04 18:03:41,426 INFO exited: php (exit status 255; not expected)

Related

How to resolve errors while installing magento 2 for the first time with php, nginx and mysql

I am trying to setup Magento 2 on my windows 10 machine via Ubuntu WSL. As of yet I have successfully installed PHP 7.4, MySQL 8.0 and NGINX. While installing Magento 2, I get the following error -
An exception was raised while creating "Application"; no instance returned#0 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(1097): Zend\ServiceManager\ServiceManager->createServiceViaCallback()
#1 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(638): Zend\ServiceManager\ServiceManager->createFromFactory()
#2 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(598): Zend\ServiceManager\ServiceManager->doCreate()
#3 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(530): Zend\ServiceManager\ServiceManager->create()
#4 /var/www/html/magento2/vendor/zendframework/zend-mvc/src/Application.php(261): Zend\ServiceManager\ServiceManager->get()
#5 /var/www/html/magento2/lib/internal/Magento/Framework/Console/Cli.php(72): Zend\Mvc\Application::init()
#6 /var/www/html/magento2/bin/magento(24): Magento\Framework\Console\Cli->__construct()
#7 {main}
An exception was raised while creating "Request"; no instance returned#0 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(1097): Zend\ServiceManager\ServiceManager->createServiceViaCallback()
#1 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(638): Zend\ServiceManager\ServiceManager->createFromFactory()
#2 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(598): Zend\ServiceManager\ServiceManager->doCreate()
#3 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(530): Zend\ServiceManager\ServiceManager->create()
#4 /var/www/html/magento2/vendor/zendframework/zend-mvc/src/Application.php(113): Zend\ServiceManager\ServiceManager->get()
#5 /var/www/html/magento2/vendor/zendframework/zend-mvc/src/Service/ApplicationFactory.php(29): Zend\Mvc\Application->__construct()
#6 [internal function]: Zend\Mvc\Service\ApplicationFactory->createService()
#7 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(939): call_user_func()
#8 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(1097): Zend\ServiceManager\ServiceManager->createServiceViaCallback()
#9 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(638): Zend\ServiceManager\ServiceManager->createFromFactory()
#10 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(598): Zend\ServiceManager\ServiceManager->doCreate()
#11 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(530): Zend\ServiceManager\ServiceManager->create()
#12 /var/www/html/magento2/vendor/zendframework/zend-mvc/src/Application.php(261): Zend\ServiceManager\ServiceManager->get()
#13 /var/www/html/magento2/lib/internal/Magento/Framework/Console/Cli.php(72): Zend\Mvc\Application::init()
#14 /var/www/html/magento2/bin/magento(24): Magento\Framework\Console\Cli->__construct()
#15 {main}
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/html/magento2/vendor/zendframework/zend-stdlib/src/ArrayObject.php on line 426#0 /var/www/html/magento2/vendor/composer/ClassLoader.php(571): Magento\Framework\App\ErrorHandler->handler()
#1 /var/www/html/magento2/vendor/composer/ClassLoader.php(571): include()
#2 /var/www/html/magento2/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#3 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#4 /var/www/html/magento2/vendor/zendframework/zend-stdlib/src/Parameters.php(29): spl_autoload_call()
#5 /var/www/html/magento2/vendor/zendframework/zend-console/src/Request.php(96): Zend\Stdlib\Parameters->__construct()
#6 /var/www/html/magento2/vendor/zendframework/zend-console/src/Request.php(122): Zend\Console\Request->getParams()
#7 /var/www/html/magento2/vendor/zendframework/zend-console/src/Request.php(66): Zend\Console\Request->params()
#8 /var/www/html/magento2/vendor/zendframework/zend-mvc/src/Service/RequestFactory.php(29): Zend\Console\Request->__construct()
#9 [internal function]: Zend\Mvc\Service\RequestFactory->createService()
#10 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(939): call_user_func()
#11 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(1097): Zend\ServiceManager\ServiceManager->createServiceViaCallback()
#12 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(638): Zend\ServiceManager\ServiceManager->createFromFactory()
#13 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(598): Zend\ServiceManager\ServiceManager->doCreate()
#14 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(530): Zend\ServiceManager\ServiceManager->create()
#15 /var/www/html/magento2/vendor/zendframework/zend-mvc/src/Application.php(113): Zend\ServiceManager\ServiceManager->get()
#16 /var/www/html/magento2/vendor/zendframework/zend-mvc/src/Service/ApplicationFactory.php(29): Zend\Mvc\Application->__construct()
#17 [internal function]: Zend\Mvc\Service\ApplicationFactory->createService()
#18 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(939): call_user_func()
#19 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(1097): Zend\ServiceManager\ServiceManager->createServiceViaCallback()
#20 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(638): Zend\ServiceManager\ServiceManager->createFromFactory()
#21 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(598): Zend\ServiceManager\ServiceManager->doCreate()
#22 /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(530): Zend\ServiceManager\ServiceManager->create()
#23 /var/www/html/magento2/vendor/zendframework/zend-mvc/src/Application.php(261): Zend\ServiceManager\ServiceManager->get()
#24 /var/www/html/magento2/lib/internal/Magento/Framework/Console/Cli.php(72): Zend\Mvc\Application::init()
#25 /var/www/html/magento2/bin/magento(24): Magento\Framework\Console\Cli->__construct()
#26 {main}
I am following the guide provided in link - https://www.simicart.com/blog/magento-2-nginx/#Step_4_Configure_nginx . I am getting the error while executing the step 7 in guide.
I tried researching these errors but all are pointing towards an issue in upgrade while this is a first time I am installing magento. I proceeded to executing step 8 but still getting the same set of errors.
Could you please run this and paste the output?
php -m
I took a quick look at that guide and it doesn't seem that it tells you to install all the necessary PHP extensions for Magento 2.
P.S. There are two different steps #7 in the guide. If you are stuck in the second one, run the following command and post the output here:
sudo systemctl status nginx

Issue while using yasca in CentOS

Is yaska supported in Linux? I tried installing it on CentOS and getting below error.
[root#390f68c98d2b yasca]# sh yasca.sh ./resources/test
Fatal error: Uncaught exception 'LogicException' with message 'Class Yasca\Scanner could not be loaded' in /var/www/html/yasca/Yasca/Main.php:36
Stack trace:
#0 /var/www/html/yasca/Yasca/Main.php(36): spl_autoload('Yasca\\Scanner')
#1 [internal function]: {closure}()
#2 /var/www/html/yasca/Yasca/Main.php(357): call_user_func(Object(Closure))
#3 /var/www/html/yasca/Yasca/Start.php(14): include('/var/www/html/y...')
#4 {main}
thrown in /var/www/html/yasca/Yasca/Main.php on line 36
Can someone please help in this?

Magento Error during unserialization

I have a magneto based web shop with a custom template. The webshop works at first side fine except that during the loading of a page (every page) the following exception (see below) is thrown and Magento tries to load something that is not present: undefined?1479491943475 Anybody an idea how to fix this? I use Magento 1.9.2.4
16-11-05T22:04:46+00:00 ERR (3):
exception 'Exception' with message 'Error during unserialization' in /home/fossilshop/public_html/lib/Unserialize/Parser.php:60
Stack trace:
#0 /home/fossilshop/public_html/app/code/core/Mage/Core/Helper/UnserializeArray.php(44): Unserialize_Parser->unserialize(Object(Mage_Core_Model_Config_Element))
#1 /home/fossilshop/public_html/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Serialized.php(37): Mage_Core_Helper_UnserializeArray->unserialize(Object(Mage_Core_Model_Config_Element))
#2 /home/fossilshop/public_html/app/code/core/Mage/Core/Model/Config/Data.php(78): Mage_Adminhtml_Model_System_Config_Backend_Serialized->_afterLoad()
#3 /home/fossilshop/public_html/app/code/core/Mage/Adminhtml/Block/System/Config/Form.php(334): Mage_Core_Model_Config_Data->afterLoad()
#4 /home/fossilshop/public_html/app/code/core/Mage/Adminhtml/Block/System/Config/Form.php(229): Mage_Adminhtml_Block_System_Config_Form->initFields(Object(Varien_Data_Form_Element_Fieldset), Object(Mage_Core_Model_Config_Element), Object(Mage_Core_Model_Config_Element))
#5 /home/fossilshop/public_html/app/code/core/Mage/Adminhtml/Block/System/Config/Form.php(164): Mage_Adminhtml_Block_System_Config_Form->_initGroup(Object(Varien_Data_Form), Object(Mage_Core_Model_Config_Element), Object(Mage_Core_Model_Config_Element))
#6 /home/fossilshop/public_html/app/code/core/Mage/Adminhtml/Block/System/Config/Edit.php(92): Mage_Adminhtml_Block_System_Config_Form->initForm()
#7 /home/fossilshop/public_html/app/code/core/Mage/Adminhtml/controllers/System/ConfigController.php(107): Mage_Adminhtml_Block_System_Config_Edit->initForm()
#8 /home/fossilshop/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_System_ConfigController->editAction()
#9 /home/fossilshop/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('edit')
#10 /home/fossilshop/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#11 /home/fossilshop/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#12 /home/fossilshop/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#13 /home/fossilshop/public_html/index.php(83): Mage::run('', 'store')
#14 {main}
2016-11-05T22:04:46+00:00 ERR (3):
> Blockquote
I recently ran into this issue too and found this fix
https://www.atwix.com/magento/supee-7405-cart-merge-error-fix/
After adding my own module with the above fix, the exception stopped logging.
Hope it helps

Redis/Laravel - Keep getting error: Unknown prefix:

I have been searching and searching for any information regarding this redis error, but so far have not found any information. Any help would be greatly appreciated.
Here is my setup:
Laravel with 2 redis connections, 6379 for cache, and 6380 for a datastore.
Every couple of requests to the datastore, I get this error in my logs:
exception 'Predis\Protocol\ProtocolException' with message 'Unknown prefix: '1' [tcp://MY_SERVER_ADDRESS:6380]
This just started within the last few days, and I have not changed anything in the redis config or laravel redis config.
A little more info:
I do not have a prefix set in laravel anywhere.. laravel, predis, or redis is adding it itself.
The "prefix" that gets added changes, yesterday it was 'O', today it is '1'.
This is happening on two separate instances of laravel. The instances share an encryption key, but do not share any files or configs. They both connect to this redis server
Here is the full stack trace:
[2015-02-02 22:19:13] production.ERROR: exception 'Predis\Protocol\ProtocolException' with message 'Unknown prefix: '1' [tcp://MY_SERVER_ADDRESS:6380]' in /var/www/html/vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php:151
Stack trace:
#0 /var/www/html/vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(274): Predis\Connection\AbstractConnection->onProtocolError()
#1 /var/www/html/vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(262): Predis\Connection\StreamConnection->read()
#2 /var/www/html/vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php(130): Predis\Connection\StreamConnection->read()
#3 /var/www/html/vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php(122): Predis\Connection\AbstractConnection->readResponse()
#4 /var/www/html/vendor/predis/predis/lib/Predis/Client.php(246): Predis\Connection\AbstractConnection->executeCommand()
#5 /var/www/html/vendor/predis/predis/lib/Predis/Client.php(228): Predis\Client->executeCommand()
#6 /var/www/html/app/interfaces/RedisRepository.php(47): Predis\Client->__call()
#7 /var/www/html/app/controllers/TrackingController.php(239): RedisRepository->registerNodeEventStatsGlobal()
#8 (): TrackingController->saveTrackerUserData()
#9 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(231): call_user_func_array()
#10 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(93): Illuminate\Routing\Controller->callAction()
#11 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(62): Illuminate\Routing\ControllerDispatcher->call()
#12 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(962): Illuminate\Routing\ControllerDispatcher->dispatch()
#13 (): {closure}()
#14 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(109): call_user_func_array()
#15 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1028): Illuminate\Routing\Route->run()
#16 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(996): Illuminate\Routing\Router->dispatchToRoute()
#17 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(775): Illuminate\Routing\Router->dispatch()
#18 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(745): Illuminate\Foundation\Application->dispatch()
#19 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware.php(72): Illuminate\Foundation\Application->handle()
#20 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php(47): Illuminate\Session\Middleware->handle()
#21 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php(51): Illuminate\Cookie\Queue->handle()
#22 /var/www/html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle()
#23 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(641): Stack\StackedHttpKernel->handle()
#24 /var/www/html/public/index.php(49): Illuminate\Foundation\Application->run()
#25 {main} [] []
Help plz :(
The issue turned out to be specific to HHVM. Once I switched back to PHP-FPM the errors stopped.
HHVM does still have its quirks.

Magento live store is not working on Localhost

I have created a copy of my live Magento store on my localhost and used the same db file but it displays this error message:
There has been an error processing your request. Exception printing is
disabled by default for security reasons.
Please someone tell me the reason.Please help me with this issue. Thank you in advance for your time and help.
Error log record number: 350810859
1. a:4:{i:0;s:93:"SQLSTATE[HY000] [1045] Access denied for user
'root'#'localhost' (using password: YES)";i:1;s:2492:"#0
D:\workspace_php\abc_store\lib\Zend\Db\Adapter\Pdo\Mysql.php(96):
Zend_Db_Adapter_Pdo_Abstract->_connect()
D:\workspace_php\abc_store\lib\Varien\Db\Adapter\Pdo\Mysql.php(313):
Zend_Db_Adapter_Pdo_Mysql->_connect()
D:\workspace_php\abc_store\lib\Zend\Db\Adapter\Abstract.php(459):
Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 D:\workspace_php\abc_store\lib\Zend\Db\Adapter\Pdo\Abstract.php(238):
Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#4 D:\workspace_php\abc_store\lib\Varien\Db\Adapter\Pdo\Mysql.php(419):
Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#5 D:\workspace_php\abc_store\app\code\core\Mage\Core\Model\Resource.php(169):
Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#6 D:\workspace_php\abc_store\app\code\core\Mage\Core\Model\Resource.php(110):
Mage_Core_Model_Resource->_newConnection('pdo_mysql',
Object(Mage_Core_Model_Config_Element))
#7 D:\workspace_php\abc_store\app\code\core\Mage\Core\Model\Resource\Db\Abstract.php(320):
Mage_Core_Model_Resource->getConnection('core_write')
#8 D:\workspace_php\abc_store\app\code\core\Mage\Core\Model\Resource\Db\Abstract.php(350):
Mage_Core_Model_Resource_Db_Abstract->_getConnection('write')
#9 D:\workspace_php\abc_store\app\code\core\Mage\Core\Model\Resource\Db\Abstract.php(335):
Mage_Core_Model_Resource_Db_Abstract->_getWriteAdapter()
#10 D:\workspace_php\abc_store\app\code\core\Mage\Core\Model\Resource\Cache.php(53): Mage_Core_Model_Resource_Db_Abstract->_getReadAdapter()
#11 D:\workspace_php\abc_store\app\code\core\Mage\Core\Model\Cache.php(455):
Mage_Core_Model_Resource_Cache->getAllOptions()
#12 D:\workspace_php\abc_store\app\code\core\Mage\Core\Model\Cache.php(497):
Mage_Core_Model_Cache->_initOptions()
#13 D:\workspace_php\abc_store\app\code\core\Mage\Core\Model\App.php(1183):
Mage_Core_Model_Cache->canUse('config')
#14 D:\workspace_php\abc_store\app\code\core\Mage\Core\Model\Config.php(414):
Mage_Core_Model_App->useCache('config')
#15 D:\workspace_php\abc_store\app\code\core\Mage\Core\Model\Config.php(294):
Mage_Core_Model_Config->_canUseCacheForInit()
#16 D:\workspace_php\abc_store\app\code\core\Mage\Core\Model\App.php(413):
Mage_Core_Model_Config->loadModulesCache()
#17 D:\workspace_php\abc_store\app\code\core\Mage\Core\Model\App.php(343):
Mage_Core_Model_App->_initModules()
#18 D:\workspace_php\abc_store\app\Mage.php(683): Mage_Core_Model_App->run(Array)
#19 D:\workspace_php\abc_store\index.php(87): Mage::run('', 'store')
#20 {main}";s:3:"url";s:12:"/abc_store/";s:11:"script_name";s:21:"/abc_store/index.php";}
I think here issue is with database credentials. look in following file
app/etc/local.xml
This seems a DB connection error.You can use the below credentials as sample and change them according your DB details in your app/etc/local.xml file
<host><![CDATA[localhost]]></host>
<username><![CDATA[root]]></username>
<password><![CDATA[your_password_if_any]]></password>
<dbname><![CDATA[your_db_name]]></dbname>
Also in your core_config_data table change value as below
web/unsecure/base_url - http://YOUR_IP_ADDRESS/YOUR_PROJECT_NAME/
web/secure/base_url - http://YOUR_IP_ADDRESS/YOUR_PROJECT_NAME/
Your have to make virtual host for running the live magento and make changes in the file windows/system32/drivers/etchosts file.
You have to map localhost IP address to domain name.

Resources