cancel
Showing results for 
Search instead for 
Did you mean: 

Install magento 2 is crazy - open_base

Install magento 2 is crazy - open_base

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!

 

 

5 REPLIES 5

Re: Install magento 2 is crazy - open_base

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

Magento 2 payment extentions: www.paymage.net

"Instal Magento 2 > Step 6 problem"

  • Help Me. Why this can happen ?
Installation is incomplete.
Check the console log for errors before trying again.
 
Console Log
[ERROR] exception 'LogicException' with message 'Unknown module in the requested list: 'Magento_BundleSampleData'' in C:\wamp\www\magento20\setup\src\Magento\Setup\Model\Installer.php:403 Stack trace: #0 C:\wamp\www\magento20\setu..........

Re: "Instal Magento 2 > Step 6 problem"

Hello,

 

Try to download and install Magento 2 version with sample data.

 

 

 

 

Stanislav

Re: "Instal Magento 2 > Step 6 problem"

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. .....

Re: "Instal Magento 2 > Step 6 problem"

Hello,

 

Have you deleted the previous database with phpMyAdmin ?

 

https://github.com/magento/magento2/issues/2508

 

Stanislav