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.
Solved! Go to Solution.
It seems you had open_basedir configured.
Is it possible for you to disable it?
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.
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.
It seems you had open_basedir configured.
Is it possible for you to disable it?
Hi same issue for me,
Here's the exception.log:
it is version 7.1.22
I reverted to a backup and issue solved, but would eventually like to update to 2.2.6
Thank you!
In my case this happens when runing a command as root user which is changes the file permissions.
A simple owner corecction can solve this:
chown -R www-data:www-data /var/www/magentofolder/
For me this was worked.
Hello,
I've installed Magento 2.3 on my localhost but can't install. I get the same error message.
This is what i found in the logs:
[2019-04-06 23:47:39] main.CRITICAL: Warning: preg_match(): JIT compilation failed: no more memory in /Applications/MAMP/htdocs/MAGENTO2/pub/errors/processor.php on line 598 {"exception":"[object] (Exception(code: 0): Warning: preg_match(): JIT compilation failed: no more memory in /Applications/MAMP/htdocs/MAGENTO2/pub/errors/processor.php on line 598 at /Applications/MAMP/htdocs/MAGENTO2/vendor/magento/framework/App/ErrorHandler.php:61)"} []
How do i solve this?