Page 1 of 1

Administrator Lost!!!

Posted: Sat Feb 10, 2007 9:04 am
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

Re: Administrator Lost!!!

Posted: Sat Feb 10, 2007 11:34 am
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

fixright.php

Posted: Sun Feb 11, 2007 8:25 am
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????

Re: fixright.php

Posted: Mon Feb 12, 2007 1:37 pm
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