Quantcast
Channel: Magento – Ken Nguyen
Viewing all articles
Browse latest Browse all 14

The common issues when install Magento with a existing database.

$
0
0

With some experiences about Magento issue, I want to note and share for everybody.

1. White page issues

Sometime you got pages just are white page, it don’t have any content. This situation could be disabled the develop mode of Magento and disable display errors of PHP.
So you should need enable its with this way:

a> Open index.php and un-comment the following line

1
#ini_set('display_errors', 1);

b> Open .htaccess and add the following line at the end

1
SetEnv MAGE_IS_DEVELOPER_MODE "true"

2. Base table or view not found

SQLSTATE[42S02]: Base table or view not found: 1146 Table '[your db].catalog_product_flat_1' doesn't exist, query was: DESCRIBE `deurope_catalog_product_flat_1`

we need full reindex for category and product:

php shell/indexer.php –reindexall

3. Can’t to login to Magento backend

you should remove/edit to your domain in the path web/cookie/cookie_domain of core_config_data table.

To see all config domain cookie name:

select * from core_config_data where path like “%cookie%”;

4. Error about Redis

If you see error like this:

Connection to Redis failed after 2 failures.

You should connect Magento to your Redis Cache Server, if you don’t have you can disable Redis Cache in app/etc/local.xml.


Viewing all articles
Browse latest Browse all 14

Trending Articles