Skip to main content

Posts

Showing posts from February, 2009

Tealeaf: Change mysql database name

I had this problem so I’m posting how I got it solved. If you want to change mysql configuration you have to edit app/etc/local.xml, some people say it works, but for me it did not work until I had removed all the magento’s cache files from the directory: var/cache After that the changes to the mysql configuration were updated!

Tealeaf: Set up Magento

To access admin page go to http://127.0.0.1/magento/index.php/admin/ (change localhost to 127.0.0.1) default password for admin is 123123 To change the password  UPDATE admin_user SET password=MD5('mypassword') WHERE username='admin'; change {{base_url}} to the exact web address source: http://www.magentocommerce.com/wiki/general/resetting-admin-password **************************************************************** Login and Add to cart Problem But due to standard restrictions browsers don’t save cookie for domains with no dots in domain name. You can try to access it with http://localhost.com /magento   reference:  http://www.magentocommerce.com/boards/viewthread/4337 Solution Using 127.0.0.1 instead of my machine name.   Note: Don't forget to change the default link in magento configuration page and Prototype_usf target p ag e Anyway, in IE, Fiddler cannot capture 127.0.0.1 host address.  So, using Firefox instead. Go to Tool -> Options -> Network tab -&g

WAMP: Load PHP extension

If you have a problem when setting PHP extension via GUI.  Try the step below. - Check the PHP ini. - In front of the module that need to load should not have semicolon (;)    e.g.  ;extension=php_mcrypt.dll => extension=php_mcrypt.dll  - Also, you need to add "extension" line at the end of all extensions.   e.g. ;extension=php_xmlrpc.dll ;extension=php_xsl.dll ;extension=php_zip.dll extension=php_curl.dll extension=php_mcrypt.dll extension=php_mcrypt_filter.dll Hope it will works. 

Servlet: War file

WAR = Web ARchive Sun WAR (file format) , a JAR file used to distribute a collection of files that together constitute a Web application How do we use WAR file on Tomcat - Stop tomcat service - copy war file into webapp folder - Restart tomcat