Magento
Magento
Magento
Development
portalZINE
Moving Magento Commerce to a new server
Once you have done the export / import multiple times, it gets really easy :)
Here are some things that made things alot easier for me
4771
Here are some things that made things alot easier for me
- Update magento/app/etc/local.xml with your changed database details
- Update the secure / unsecure urls to match your new domain / setup
These settings are saved in the magento_core_config_data table.
The two settings you need to alter are
- web/unsecure/base_url
- web/secure/base_url - Sometimes the foreign key constraints break tables on import. The most common are :
- magento_customer_group
- magento_core_website
- magento_core_store
- magento_core_store_group
Just check your old setup and update those tables by hand.
You can run queries by activating and deactivating the foreign key check like this:
SET FOREIGN_KEY_CHECKS=0;
INSERT INTO `magento_core_website` (`website_id`, `code`, `name`, `sort_order`, `default_group_id`, `is_default`) VALUES
(0, 'admin', 'Admin', 0, 0, 0),
(1, 'base', 'Main Website', 0, 1, 1);
SET FOREIGN_KEY_CHECKS=1; - Make sure to delete the following folders before you try to access the install again
- var/cache
- var/sessions
portalZINE DEV > Development > Magento
Saturday, May 9, 2009 - Magento
Magento Connect Manager - Save Settings - Permissions
You can choose which updates to list, when running the Magento Connect Manager. You can allow alpha, beta or only stable releases to be listed.
When saving your settings, the following file needs to be writable:
magento/downloader/config.ini
5115
When saving your settings, the following file needs to be writable:
magento/downloader/config.ini
portalZINE DEV > Development > Magento
Saturday, May 9, 2009 - Magento
Magento Install - Upgrade - Permissions
When it comes to permissions Magento Commerce is very picky, especially as pear requires full write permissions.
The following permissions should be used during install:
find . -type d -exec chmod 777 {} ;
find . -type f -exec chmod 777 {} ;
This will reset all permissions after you are done and secure your setup again:
find . -type f -exec chmod 644 {} ;
find . -type d -exec chmod 755 {} ;
chmod o+w var var/.htaccess app/etc
chmod 550 pear
chmod -R o+w media
3953
The following permissions should be used during install:
find . -type d -exec chmod 777 {} ;
find . -type f -exec chmod 777 {} ;
This will reset all permissions after you are done and secure your setup again:
find . -type f -exec chmod 644 {} ;
find . -type d -exec chmod 755 {} ;
chmod o+w var var/.htaccess app/etc
chmod 550 pear
chmod -R o+w media
portalZINE DEV > Development > Magento
Saturday, May 9, 2009 - Development
Komodo Development IDE
When it comes to my development environment I have always been really picky. I need a clean and structured interface, not to cluttered, but still adjustable to my needs. I have tested countless IDE solutions in the past, but always seem to come back to Komodo from ActiveState.
4710
portalZINE DEV > Development
Thursday, April 30, 2009 - portalZINE


pzTV: Ich mag ein YouTube-Video. -- Mit dem Helicopter...

