Administrator Lost!!!

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Voske
Posts: 2
Joined: Sat Feb 10, 2007 9:01 am

Administrator Lost!!!

Post by Voske »

How can i get back my administrator rights. I've changed the editor rights for a user and now I've lost my admin rights. I can't do anything anymore.
Can I do something on the server with the installation files????
Thanks
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Administrator Lost!!!

Post by garvinhicking »

Hi!

What do you mean, you lost your admin rights? You can't log in any more? Does it tell you your password is wrong?

If you explain what exactly happens we can try to help you.

My first clue would be you reset the option "Forbid creating entries". Search the forum for "no_create" and/or "right_publish", as you might need to reset those options via MYSQL.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Voske
Posts: 2
Joined: Sat Feb 10, 2007 9:01 am

fixright.php

Post by Voske »

I've searched a bit and now I've created succesfull the file fixright.php.

This is what I get:
Array
(
[0] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminCategories
[property] => adminCategories
[4] => false
[value] => false
)

[1] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminCategoriesDelete
[property] => adminCategoriesDelete
[4] => false
[value] => false
)

[2] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminCategoriesMaintainOthers
[property] => adminCategoriesMaintainOthers
[4] => false
[value] => false
)

[3] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminComments
[property] => adminComments
[4] => true
[value] => true
)

[4] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminEntries
[property] => adminEntries
[4] => true
[value] => true
)

[5] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminEntriesMaintainOthers
[property] => adminEntriesMaintainOthers
[4] => true
[value] => true
)

[6] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminImages
[property] => adminImages
[4] => true
[value] => true
)

[7] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminImagesAdd
[property] => adminImagesAdd
[4] => true
[value] => true
)

[8] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminImagesDelete
[property] => adminImagesDelete
[4] => true
[value] => true
)

[9] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminImagesDirectories
[property] => adminImagesDirectories
[4] => true
[value] => true
)

[10] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminImagesMaintainOthers
[property] => adminImagesMaintainOthers
[4] => true
[value] => true
)

[11] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminImagesSync
[property] => adminImagesSync
[4] => true
[value] => true
)

[12] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminImagesView
[property] => adminImagesView
[4] => true
[value] => true
)

[13] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminImagesViewOthers
[property] => adminImagesViewOthers
[4] => true
[value] => true
)

[14] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminImport
[property] => adminImport
[4] => false
[value] => false
)

[15] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminPlugins
[property] => adminPlugins
[4] => false
[value] => false
)

[16] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminPluginsMaintainOthers
[property] => adminPluginsMaintainOthers
[4] => false
[value] => false
)

[17] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminTemplates
[property] => adminTemplates
[4] => false
[value] => false
)

[18] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminUsers
[property] => adminUsers
[4] => false
[value] => false
)

[19] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminUsersCreateNew
[property] => adminUsersCreateNew
[4] => false
[value] => false
)

[20] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminUsersDelete
[property] => adminUsersDelete
[4] => false
[value] => false
)

[21] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminUsersEditUserlevel
[property] => adminUsersEditUserlevel
[4] => false
[value] => false
)

[22] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminUsersGroups
[property] => adminUsersGroups
[4] => false
[value] => false
)

[23] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminUsersMaintainOthers
[property] => adminUsersMaintainOthers
[4] => false
[value] => false
)

[24] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => adminUsersMaintainSame
[property] => adminUsersMaintainSame
[4] => false
[value] => false
)

[25] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => blogConfiguration
[property] => blogConfiguration
[4] => false
[value] => false
)

[26] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => personalConfiguration
[property] => personalConfiguration
[4] => true
[value] => true
)

[27] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => personalConfigurationNoCreate
[property] => personalConfigurationNoCreate
[4] => false
[value] => false
)

[28] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => personalConfigurationRightPublish
[property] => personalConfigurationRightPublish
[4] => false
[value] => false
)

[29] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => personalConfigurationUserlevel
[property] => personalConfigurationUserlevel
[4] => false
[value] => false
)

[30] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => siteConfiguration
[property] => siteConfiguration
[4] => false
[value] => false
)

[31] => Array
(
[0] => 3
[groupid] => 3
[1] => 1
[authorid] => 1
[2] => 3
[id] => 3
[3] => userlevel
[property] => userlevel
[4] => 255
[value] => 255
)

)
Array
(
[0] => Array
(
[0] => 1
[id] => 1
[1] => USERLEVEL_EDITOR_DESC
[name] => USERLEVEL_EDITOR_DESC
)

[1] => Array
(
[0] => 2
[id] => 2
[1] => USERLEVEL_CHIEF_DESC
[name] => USERLEVEL_CHIEF_DESC
)

[2] => Array
(
[0] => 3
[id] => 3
[1] => USERLEVEL_ADMIN_DESC
[name] => USERLEVEL_ADMIN_DESC
)

)
Array
(
[0] => Array
(
[0] => username
[name] => username
[1] => Voske
[value] => Voske
[2] => 1
[authorid] => 1
)

[1] => Array
(
[0] => password
[name] => password
[1] =>
[value] =>
[2] => 1
[authorid] => 1
)

[2] => Array
(
[0] => check_password
[name] => check_password
[1] =>
[value] =>
[2] => 1
[authorid] => 1
)

[3] => Array
(
[0] => realname
[name] => realname
[1] => Ken De Vos
[value] => Ken De Vos
[2] => 1
[authorid] => 1
)

[4] => Array
(
[0] => userlevel
[name] => userlevel
[1] => 255
[value] => 255
[2] => 1
[authorid] => 1
)

[5] => Array
(
[0] => email
[name] => email
[1] => info@huisdierinfopunt.be
[value] => info@huisdierinfopunt.be
[2] => 1
[authorid] => 1
)

[6] => Array
(
[0] => lang
[name] => lang
[1] => nl
[value] => nl
[2] => 1
[authorid] => 1
)

[7] => Array
(
[0] => wysiwyg
[name] => wysiwyg
[1] => true
[value] => true
[2] => 1
[authorid] => 1
)

[8] => Array
(
[0] => eyecandy
[name] => eyecandy
[1] => true
[value] => true
[2] => 1
[authorid] => 1
)

[9] => Array
(
[0] => mail_comments
[name] => mail_comments
[1] => true
[value] => true
[2] => 1
[authorid] => 1
)

[10] => Array
(
[0] => mail_trackbacks
[name] => mail_trackbacks
[1] => false
[value] => false
[2] => 1
[authorid] => 1
)

[11] => Array
(
[0] => no_create
[name] => no_create
[1] => false
[value] => false
[2] => 1
[authorid] => 1
)

[12] => Array
(
[0] => right_publish
[name] => right_publish
[1] => true
[value] => true
[2] => 1
[authorid] => 1
)

[13] => Array
(
[0] => moderateCommentsDefault
[name] => moderateCommentsDefault
[1] => false
[value] => false
[2] => 1
[authorid] => 1
)

[14] => Array
(
[0] => allowCommentsDefault
[name] => allowCommentsDefault
[1] => true
[value] => true
[2] => 1
[authorid] => 1
)

[15] => Array
(
[0] => publishDefault
[name] => publishDefault
[1] => publish
[value] => publish
[2] => 1
[authorid] => 1
)

[16] => Array
(
[0] => showMediaToolbar
[name] => showMediaToolbar
[1] => false
[value] => false
[2] => 1
[authorid] => 1
)

)

What now pls????
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: fixright.php

Post by garvinhicking »

Hi!

Which fixright.php did you execute?

Do you have phpMyAdmin access, did you check the 'no_create' option in your serendipity_config DB table for your authorid?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply