Recently one of our Customers has updated php and mysql version from 4.x to 5.x in the hosting server of their Joomla based website.
After doing this upgration/migration, many pages were not working. They started giving error messages such as, "Deprecated: Function eregi() is deprecated..."
We resolved these issues by replacing deprecated functions with equivalent functions.
For example, replaced split() with explode(). And, replaced eregi() with preg_match('/regexp/i',,).
Note that we should select appropriate modifier in regular expression in the preg_match argument. i-e The modifier should not be the part of the regular expression statement. We need to use rarely used character as modifier. For example we can use "~" as modifier.
This blog post was very helpful for resolving many issues.
I think Joomla is used by many people. But still I couldn't find any easy way to update the Joomla code automatically according to php/mysql upgration.
If you know any good article for doing php/mysql up-gradation you can mention it thro' comments. And, you can share your up-gradation experience.
More Articles...
Shop at Rajamanickam.com | Birthday Gift Idea? | Hire me for $6 per Hour
Get 3 useful ebooks for Rs 99 in India and $5.99 globally
Get a 75% commission | ChatGPT and and Google Gemini for Beginners (Use Discount code QPT)
Wednesday, February 17, 2010
Search This Blog
Art of Talking to AI | Tech eBook | Dream Big | Listen to Dream Big
Today's Deals | Timesheet | Products | 3 ebooks for $5.99 / Rs 99 | Earn 50% commission
About | Privacy | Follow | TOS | WhatsApp | Contact
I may earn a commission from Amazon affiliate links
Today's Deals | Timesheet | Products | 3 ebooks for $5.99 / Rs 99 | Earn 50% commission
About | Privacy | Follow | TOS | WhatsApp | Contact
I may earn a commission from Amazon affiliate links
No comments:
Post a Comment