Magento 1.6 Upgrade Errors with Solutions

After upgrading to Magento 1.6, You may face some problems like Integrity constraint violation: 1062 Duplicate entry or Error 404 after installation(while home page is OK).
(more…)

After upgrading to Magento 1.6, You may face some problems like Integrity constraint violation: 1062 Duplicate entry or Error 404 after installation(while home page is OK).
(more…)
It is also highly encouraged to restrict access to your website while repairing the database or making upgrade. Here is an example of restricting your website instance to your IP address exclusively. Other visitors, including search spiders, will get the HTTP 503 Service Unavailable error.
(more…)
If you have experienced this error in your webpage:
Fatal error: Cannot use object of type stdClass as array in /modules/mod_jf_twitter/helper.php on line 38
Then it is a problem of “JF Twitter” module. Do the following on /modules/mod_jf_twitter/helper.php/helper.php on line 38:
(more…)
My contact forms no longer work in Chrome or Safari. The form will load but errors occur upon clicking “send”. Works still in firefox and Explorer. (more…)
Problem: How to get menu Itemid? or How to get active menu item properties in joomla?
To get menu “Itemid” use the following code
$menus = &JSite::getMenu(); $menu = $menus->getActive(); $itemid = $menu->id;
Log into your server as the root user and find the process PID that you wish to kill. You can do that by issuing the ps command with the aux options. See example below.
ps aux
This will display a process list and each visible process should have a line similar to the one below.
username 31262 0.0 0.0 12168 1752 ? S 00:25 0:00 somecommand
Use the code below to check if a user is logged in. This is useful if you want to only show certain parts of your component to registered users and not non-registred users. Have fun.
(more…)
Basics
For every request in Joomla!, there is one user. Information about this user is readily available through the Joomla! framework in the form of an object. To get this object for the current user, use the following member function of JFactory:
$user =& JFactory::getUser();
Please note that this article only applies to Joomla 1.5.
I use custom user groups (user roles) within Joomla 1.5. For example under the registered users group I’ve added several subgroups:
myproject customers customer A admin product manager product manager admin etc....
Rumor has it that Joomla! 1.6 will have customizable access levels. Until then, however, the only way to customize access to your site is via third party extensions or hacking Joomla! yourself. The popular third party extensions (which shall here remain nameless) tend to be commercial, charging a fee or subscription for the latest and greatest version, and requiring registration even for the unsupported or semi-supported old versions. If you haven’t used them before, you can’t be sure of how well they’ll integrate with the rest of Joomla! This is obviously not an ideal solution, especially for the webmaster on a budget. Following are instructions for hacking Joomla! yourself to add an extra user level called “Subscriber” who can be given access, for example, to premium paid content. These steps were carried out successfully on a Joomla! 1.5.10 installation, but there are no guarantees, as the author is not a Joomla! developer; try at your own risk!
(more…)