The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Sat May 05, 2012 6:45 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat May 05, 2012 6:28 am
Posts: 9
Hello,

I have disabled all plugins from Joomla back end by mistake, since then the back end and the site a re blank :'(

I tried to restore an older backup but no luck. bellow are the errors my hosting gave me and I could not find problem with these files after comparing them with another site I have:

[04-May-2012 13:57:19 UTC] PHP Fatal error: Call to a member function isAdmin() on a non-object in /home1/gfmtccom/public_html/plugins/system/plg_crewScripts/plg_crewScripts.php on line 40
[04-May-2012 14:01:25 UTC] PHP Notice: Undefined index: ar-AA in /home1/gfmtccom/public_html/plugins/system/languagefilter/languagefilter.php on line 44
[04-May-2012 00:01:29 UTC] PHP Notice: Trying to get property of non-object in /home1/gfmtccom/public_html/libraries/joomla/updater/adapters/extension.php on line 193
[04-May-2012 05:04:12 UTC] PHP Notice: Undefined property: TemplatesTableStyle::$checked_out in /home1/gfmtccom/public_html/libraries/joomla/application/component/modelform.php on line 110
[04-May-2012 05:16:56 UTC] PHP Fatal error: Call to a member function isAdmin() on a non-object in /home1/gfmtccom/public_html/plugins/system/plg_crewScripts/plg_crewScripts.php on line 40

I have already finishes the site and I am afraid of reinstalling joomla and using the same database to lose all my work, it happens to me before :'( :'( :'( :'( :'( :'(


Top
 Profile  
 
PostPosted: Sat May 05, 2012 1:01 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso

Joined: Thu Feb 15, 2007 5:48 am
Posts: 3344
Location: Sydney, Australia
Which backup did you restore, was it the file system or the database or both?

You could edit the extensions table, rows where type = 'plugin' and update the column enabled to 1.

_________________
toivo
my first programs were assembled and run in 16KB :)
http://archive.computerhistory.org/resources/text/GE/GE.GE-115SystemSoftware.1967.102646096.pdf#zoom=100


Top
 Profile  
 
PostPosted: Sat May 05, 2012 1:34 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat May 05, 2012 6:28 am
Posts: 9
Hi,

Thanks for your reply.

I am using bluehost hosting and I have an option to restore the Public_html folder website files and I did it for one past day and their support also did it for me several times but no luck.

As for the extensions table it was strange to me to see that the plugins are enabled "1", while I am sure that this happened immediately after I disabled all plugins at once.

I read on of the posts that I have to disable plg_crewScripts.php and I tried, when I disabled it I could see the authentication screen on the back end and the front but when I login I see only errors and I cant find any of Joomla's menus!


Top
 Profile  
 
PostPosted: Sat May 05, 2012 1:46 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Jun 07, 2011 1:01 pm
Posts: 22
Location: US
I think you have disabled the main component. if you have phpmyadmin access then you can actually see what is happened.

It will be easy if you can post an image of phpmyadmin screen of components table or plugin tables.

_________________
http://www.allshoresolutions.com
http://phpmatrimonialcode.com


Top
 Profile  
 
PostPosted: Sat May 05, 2012 1:50 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat May 05, 2012 6:28 am
Posts: 9
How can post an image?

I have enabled all the plugins from phpmyadmin, and just now I get this on the site and the back end :

on the site : Notice: Undefined index: ar-AA in /home1/gfmtccom/public_html/plugins/system/languagefilter/languagefilter.php on line 44 Notice: Trying to get property of non-object in /home1/gfmtccom/public_html/plugins/system/languagefilter/languagefilter.php on line 44 Fatal error: Call to a member function isAdmin() on a non-object in /home1/gfmtccom/public_html/plugins/system/plg_crewScripts/plg_crewScripts.php on line 40

on the Back end: Fatal error: Call to a member function isAdmin() on a non-object in /home1/gfmtccom/public_html/plugins/system/plg_crewScripts/plg_crewScripts.php on line 40


Top
 Profile  
 
PostPosted: Sat May 05, 2012 2:33 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat May 05, 2012 6:28 am
Posts: 9
after I disable plg_Scripts.php I log in to the admin site but no menus! and this error :
Table 'gfmtccom_smartdb.m6fu8_categories' doesn't exist SQL=SELECT a.id, a.title, a.checked_out, a.checked_out_time, a.created, a.hits,l.title AS language_title,uc.name AS editor,ag.title AS access_level,c.title AS category_title,ua.name AS author_name FROM m6fu8_content AS a LEFT JOIN `m6fu8_languages` AS l ON l.lang_code = a.language LEFT JOIN m6fu8_users AS uc ON uc.id=a.checked_out LEFT JOIN m6fu8_viewlevels AS ag ON ag.id = a.access LEFT JOIN m6fu8_categories AS c ON c.id = a.catid LEFT JOIN m6fu8_users AS ua ON ua.id = a.created_by ORDER BY a.hits DESC LIMIT 0, 5

Error on the site :
500 - Table 'gfmtccom_smartdb.m6fu8_categories' doesn't exist SQL=SELECT a.id, a.asset_id, a.title, a.alias, a.title_alias, a.introtext, a.fulltext, CASE WHEN badcats.id is null THEN a.state ELSE 0 END AS state, a.mask, a.catid, a.created, a.created_by, a.created_by_alias, CASE WHEN a.modified = 0 THEN a.created ELSE a.modified END as modified, a.modified_by, a.checked_out, a.checked_out_time, a.publish_up, a.publish_down, a.images, a.urls, a.attribs, a.version, a.parentid, a.ordering, a.metakey, a.metadesc, a.access, a.hits, a.metadata, a.featured, a.language, a.xreference,c.title AS category_title, c.alias AS category_alias, c.access AS category_access,u.name AS author,contact.id as contactid,parent.title as parent_title, parent.id as parent_id, parent.path as parent_route, parent.alias as parent_alias,ROUND(v.rating_sum / v.rating_count, 0) AS rating, v.rating_count as rating_count FROM m6fu8_content AS a LEFT JOIN m6fu8_categories AS c on c.id = a.catid LEFT JOIN m6fu8_users AS u on u.id = a.created_by LEFT JOIN ( SELECT contact.user_id, MAX(contact.id) AS id, contact.language FROM m6fu8_contact_details AS contact WHERE contact.published = 1 GROUP BY contact.user_id, contact.language) AS contact ON contact.user_id = a.created_by LEFT JOIN m6fu8_categories as parent ON parent.id = c.parent_id LEFT JOIN m6fu8_content_rating AS v ON a.id = v.content_id LEFT OUTER JOIN (SELECT cat.id as id FROM m6fu8_categories AS cat JOIN m6fu8_categories AS parent ON cat.lft BETWEEN parent.lft AND parent.rgt WHERE parent.extension = 'com_content' AND parent.published <= 0 GROUP BY cat.id) AS badcats ON badcats.id = c.id WHERE a.id = 71 AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2012-05-05 14:23:16') AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2012-05-05 14:23:16') AND (a.state = 1 OR a.state =2)

Everything was working fine all what I did is disabled all the plugins and i didn't delete or do anything with the tables!


Top
 Profile  
 
PostPosted: Sat May 05, 2012 3:26 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat May 05, 2012 6:28 am
Posts: 9
من لوحة التحكم

3 Database Problems Found:

Table 'm6fu8_categories' does not have column 'description' with type 'MEDIUMTEXT'. (From file 1.7.1-2011-09-15.sql.)
Table 'm6fu8_categories' does not have column 'access' with type 'int(10) unsigned'. (From file 1.7.1-2011-09-20.sql.)
Table 'm6fu8_categories' does not have column 'alias' with type 'VARCHAR(255)'. (From file 1.7.3-2011-10-15.sql.)


Top
 Profile  
 
PostPosted: Sat May 05, 2012 4:09 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Jun 07, 2011 1:01 pm
Posts: 22
Location: US
I've visited this website http://gfmtc.com/index.php/using-joomla ... components
its seems that you have installed joomla again or fixed the problems. now its working fine.

_________________
http://www.allshoresolutions.com
http://phpmatrimonialcode.com


Top
 Profile  
 
PostPosted: Sat May 05, 2012 4:48 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat May 05, 2012 6:28 am
Posts: 9
no this domain is working fine I was talking about smartforexfunds.com


Top
 Profile  
 
PostPosted: Sat May 05, 2012 6:21 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat May 05, 2012 6:28 am
Posts: 9
if I reinstall Joomal form scratch will that solve the problem and if I select the same database while installing without loading the sample data use the same prefix will I get the same website content correctly?


Top
 Profile  
 
PostPosted: Sat May 05, 2012 6:35 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Jun 07, 2011 1:01 pm
Posts: 22
Location: US
http://smartforexfunds.com/index.php/en/ shows error
"gfmtccom_smartdb.m6fu8_categories' doesn't exist" this mean either you have deleted the database or unable to connect to db.

see this screenshot http://prntscr.com/8wdy6
There are several ways to deal with this problem but in your case, I suggest to backup your database and reinstall the joomla from scratch and create the categories same like as your previous database.

then you can copy the data from old database to new one. This can be done using phpmyadmin by entering data manually or execute a mysql query (if you know sql) or you can read by searching for 'select' and 'insert into' commands.

_________________
http://www.allshoresolutions.com
http://phpmatrimonialcode.com


Top
 Profile  
 
PostPosted: Sat May 05, 2012 7:13 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat May 05, 2012 6:28 am
Posts: 9
that is sounds scary for me!

I cant just use the same databse while installing joomla?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 



Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group