Error while installing User

Asked

Viewed 306 times

4

I am trying to install the User on my localhost, but when I arrived at the step of putting the database, user and password I had to check the Skip base URL option (I am using virtual host).

the page apparently stuck, it took more than 3 minutes (or even more) to load, and when I refreshed the page only appeared an error:

There has been an error Processing your request Exception Printing is disabled by default for security reasons. Error log record number: XXXXXXXXXXXXXXX

I googled how to solve and found the method of renaming the file local.xml.sample in the errors folder by local.xml and to change the code snippet in lib/zend/cache/backend/file.php that before was:

protected $_options = array(
    'cache_dir' => null,

for:

protected $_options = array(
    'cache_dir' => 'tmp/',

and then create a tmp folder at the root of Gento, but nothing else appeared, no error and not the installation panel so I enabled the line that displayed the errors in the main page and now the error that is appearing is:

Warning: include(/var/www/Magento/lib/Zend/Log.php): failed to open stream: Permission denied in /var/www/Magento/lib/Varien/Autoload.php on line 94

Warning: include(): Failed Opening 'Zend/Log.php' for inclusion (include_path='/var/www/Magento/app/code/local:/var/www/Magento/app/code/community:/var/www/Magento/app/code/core:/var/www/Magento/lib:.:/usr/share/php:/usr/share/Pear') in /var/www/Magento/lib/Varien/Autoload.php on line 94

Fatal error: Class 'Zend_log' not found in /var/www/Magento/app/code/core/Mage/Core/functions.php on line 247

  • Rafael, probably the database was not installed completely since you aborted this process. Check if the database is complete, if not, redo the installation, don’t forget to clean the database and delete the local.xml file before.

  • Check your permissions: failed to open stream: Permission denied

1 answer

0

I don’t recommend changing any Magento core files as you did above. Errors of this type are hidden safely and saved in var/report in your Magento. If Magento is not allowed to write to this folder, it will save to /tmp/People (at the root of the server).

If your database really has the right credentials in the/etc/local.xml app you should be able to test in the terminal by typing mysql -h<host> -u<usuario> -p -D<base>.

If it’s all right, check also:

  • Existence of the app/etc/local.xml file
  • Field format within the/etc/local.xml app
  • File permissions in Malta (more here)
  • Existence of the var folder inside Magento

I hope I’ve helped.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.