Search: Advanced search
|
Browse by category:
|
Glossary |
Search: Advanced search
|
Browse by category:
|
Glossary |
Database function failed with error 1054 |
|||||
Problem:
You are running an old version of Mambo and it suddenly stops working when your host updates MySQL. You get an error similar to this: " DB function failed with error number 1054 Reason: You are running an old version of Mambo. Your host has upgraded your server to MySQL5. Extended Reason: Old versions of Mambo were written for PHP/MySQL4. When MySQL5 was released there were changes to the way MySQL does database optimisation. See here: http://dev.mysql.com/doc/refman/5.0/...imization.html This means that JOIN conditions must be preceded by the table name that the JOIN refers to. This was not a requirement in MySQL4 and as a result you will get "UNKNOWN COLUMN" errors. How to Fix: Upgrade Mambo. The latest (and final) release of the Mambo 4.5 branch is 4.5.6. If you need to keep using the 4.5 branch for 3rd party extension compatibility then Mambo 4.5.6 is the version you should be using. Unless there is a compelling reason to stay on the 4.5 branch, you should be using Mambo 4.6.3 or later. NOTE: This problem was fixed in Mambo two years ago. However, there are still 3rd party extensions around that are not compatible with MySQL5. If you are using any Mambo version later than 4.5.3 and you still get this error message have a look at what extension is generating the error. You will need to either upgrade the extension (if a later version is available) or replace it with another one that works with MySQL5. |
|||||
Copyright © 2000 - 2008 Mambo Foundation, Inc | Reg. No. A0047564G | Terms of Use | Privacy Policy
Mambo® and the Mambo logos are trademarks of the Mambo Foundation, Inc.
Managed Servers by DedicatedNOW