cancel
Showing results for 
Search instead for 
Did you mean: 

magento 2 Error "An error has happened during application run. See exception log for details"

SOLVED

magento 2 Error "An error has happened during application run. See exception log for details"


I have updated to Magento 2 and it seems to be a mistake. The website is as follows.

" An error has happened during application run. See exception log for details."

 

http://203.170.129.6/~ichanged/

 

help me please, Thank you.

3 REPLIES

Re: magento 2 Error "An error has happened during application run. See exception log for detail

Hi @duangporn_hemvijitraphan,

 

Into the Magento directory you'll find /var/log/exception.log. This is the file you should check to try to understand which kind of error you have.

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: magento 2 Error "An error has happened during application run. See exception log for detail

main.CRITICAL: Exception: Warning: realpath(): open_basedir restriction in effect. File(/var/www/html) is not within the allowed path(s): (/home/ichanged/:/tmp/:/var/tmp/:/usr/local/php56/lib/:/usr/local/php54/lib/:/usr/local/php55/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/ichanged/domains/i-changed.com/public_html/pub/errors/processor.php on line 304 in /home/ichanged/domains/i-changed.com/public_html/vendor/magento/framework/App/ErrorHandler.php:61
Stack trace:
#0 [internal function]: Magento\Framework\App\ErrorHandler->handler(2, 'realpath(): ope...', '/home/ichanged/...', 304, Array)
#1 /home/ichanged/domains/i-changed.com/public_html/pub/errors/processor.php(304): realpath('/var/www/html')
#2 /home/ichanged/domains/i-changed.com/public_html/pub/errors/processor.php(151): Magento\Framework\Error\Processor->_getIndexDir()
#3 /home/ichanged/domains/i-changed.com/public_html/pub/errors/processorFactory.php(26): Magento\Framework\Error\Processor->__construct(Object(Magento\Framework\App\Response\Http\Interceptor))
#4 /home/ichanged/domains/i-changed.com/public_html/pub/errors/report.php(10): Magento\Framework\Error\ProcessorFactory->createProcessor()
#5 /home/ichanged/domains/i-changed.com/public_html/vendor/magento/framework/App/Http.php(324): require('/home/ichanged/...')
#6 /home/ichanged/domains/i-changed.com/public_html/vendor/magento/framework/App/Http.php(160): Magento\Framework\App\Http->handleGenericReport(Object(Magento\Framework\App\Bootstrap), Object(Exception))
#7 /home/ichanged/domains/i-changed.com/public_html/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception))
#8 /home/ichanged/domains/i-changed.com/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#9 {main} [] []

 

 

help me please, Thank you. Smiley Wink

Re: magento 2 Error "An error has happened during application run. See exception log for detail

Hi @duangporn_hemvijitraphan,

 

It seems you had open_basedir configured.

Is it possible for you to disable it?

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"