0

I am messing with a fresh magento 1.9 install. I made a backup of my database and had to replace it with the backup. I used phpMyAdmin and deleted all tables and installed them fresh from my backup. I got this error

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

So I decided to delete all the tables and install it fresh, i thought Magento 1.9 would see it had no tables and run install script again, i get this error

There has been an error processing your request Exception printing is disabled by default for security reasons. Error log record number: 1192419681644

What physical files do I need to edit to

  1. Allow me to install my backup SQL
  2. Allow me to freshly install 1.9
  3. Anything else I may be missing to make this work
  • Please turn your debugging on first and/or read 'report' # 1192419681644 in you /var folder. Send us that. – Anthony Cicchelli May 13 '16 at 0:19
0

To start over again but still use an existing sql file, here is what you need to do. Btw, if you didn't delete the Magento site files, you should be able to leave those in place. Run these commands:

//dont type the brackets, just for separation purposes

  • echo "DROP DATABASE database_name_here" | mysql -u{username} -p{password}
  • echo "CREATE DATABASE database_name_here" | mysql -u{username} -p{password}
  • mysql -u{username} -p{password} database_name_here < /path/to/sql/file.sql

Also, double check your app/etc/local.xml file and ensure that you have the correct database name, username, and password. Additionally, go to core_config_data table and make sure that you have the correct secure and unsecure urls entered.

Once done, you should be good to go.

  • thank you, ill save this for next time ( i deleted all and re-installed fresh) – Justin Blayney May 13 '16 at 10:38
0

You need to enable printing errors

You can enable printing errors to check what problems caused the error. To do this follows these steps:

Step 1: go to folder Magento/errors

There you will see local.xml.sample file, just rename it to local.xml , the purpose of this action is to enable error printing in Magento

Step 2: Reload the error page and you will see the full list of error message, this will help you fix the issue

Or

Go to magento/var/report and open the file with the Error log record number name i.e 1192419681644 in your case. In that file you can find the complete description of the error.

For log files like system.log and exception.log, go to magento/var/log/.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.