Hello I try to install magento for testing. When I copy all files and run setup, I have this error..
Warning: realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/www/antikvariaturynku.cz/www:/home/www/tmp) in/home/www/antikvariaturynku.cz/www/antikvariaturynku.cz/vendor/magento/framework/Filesystem/DirectoryList.php on line 99
My provider tell me, enable change oben_basedir in my cpanel and then set up correct path in magento. I dont know where I find it. In app/autoload.php is only this: define('BP', dirname(__DIR__));
Can you tell me what is wrong? Thanks for all!
Check your Apache <Directory> configuration, php_admin_value open_basedir value:
Example:
<Directory /home/www/antikvariaturynku.cz>
php_admin_value open_basedir "/home/www/antikvariaturynku.cz/www:/home/www/tmp"
</Directory>
See also: http://www.php.net/manual/en/ini.core.php#ini.open-basedir
Hello,
Try to download and install Magento 2 version with sample data.
Stanislav
error Magento versi 2.0.5 with sample data:
Installing... 6% error
Console Log :
"Module 'Magento_Widget':
Installing schema..
[ERROR] exception 'Zend_Db_Exception' with message 'Column "code" does not exist in table "widget".' in C:\wamp\www\Magento20S\vendor\magento\framework\DB\Adapter\Pdo\Mysql.php:967 Stack trace: #0 C:\wamp\www\Magento20S\vendor\magento\module-widget\Setup\InstallSchema.php(102): Magento\Framework\DB\Adapter\Pdo\Mysql->changeColumn('widget', 'code', 'widget_code', Array) #1 C:\wamp\www\Magento20S\setup\src\Magento. .....
Hello,
Have you deleted the previous database with phpMyAdmin ?
https://github.com/magento/magento2/issues/2508
Stanislav