Joomla Backend Completely Broken

Tuesday, 30 September 2008 09:40

Ever seen errors like this in your joomla backend?

Checkout payment methods missing in virtuemart

Global checkin displays:
Warning: Invalid argument supplied for foreach() in database.php on line 655

Module manager Displays:
Can't create/write to file '/tmp/#sql_72f7_0.MYI' (Errcode: 13)

DB function failed with error number 1 Can't create/write to file '/tmp/#sql_72f7_0.MYI' (Errcode: 13) SQL=SELECT m.*, u.name AS editor, g.name AS groupname, MIN(mm.menuid) AS pages FROM jos_modules AS m LEFT JOIN jos_users AS u ON u.id = m.checked_out LEFT JOIN jos_groups AS g ON g.id = m.access LEFT JOIN jos_modules_menu AS mm ON mm.moduleid = m.id WHERE m.client_id = 0 GROUP BY m.id ORDER BY position ASC, ordering ASC LIMIT 50

Article Manager Displays something simliar - ie:
Can't create/write to file '/tmp/#sql_72f7_0.MYI' (Errcode: 13

 

 

Well as you can image we have just had this error on one of our main sites. Now this is a serious problem, aswe sell a lot of products via this site, and quite obviously a payment method not working, is a serious problem! Never fear tho, hardcore homework is here to help.

Basically  after much kicking and screaming we managed to work this problem back to the tmp folder. Go to a console and simply type the following commands and it will fix everything for you.

 

chmod 777 /tmp/

 

There we go, all fixed :)

Last Updated ( Friday, 28 November 2008 11:26 )
 
Sitemap