Administration Suite problem
Administration Suite problem
hello,
i am starting to use Serendipity 1.0.4 and PHP 4.3.9 for my blog. today i was making some changes in settings, uf, and now when i logged in my administration suite, in the left of screen i have only Frontpage, Back to Weblog and Logout marks. where i lost others? damn, i can not to solve this problem.
can somebody help me?
many thanks.
cheers...
i am starting to use Serendipity 1.0.4 and PHP 4.3.9 for my blog. today i was making some changes in settings, uf, and now when i logged in my administration suite, in the left of screen i have only Frontpage, Back to Weblog and Logout marks. where i lost others? damn, i can not to solve this problem.
can somebody help me?
many thanks.
cheers...
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Administration Suite problem
Hi!
You supposedly either removed yourself from all usergroups, or you enable the option "Right to publish entries: NO" which will effectively remove you from all access.
You will now have to use a tool like phpMyAdmin and execute this query:
If that doesn't work, please report back here 
Best regards,
Garvin
You supposedly either removed yourself from all usergroups, or you enable the option "Right to publish entries: NO" which will effectively remove you from all access.
You will now have to use a tool like phpMyAdmin and execute this query:
Code: Select all
UPDATE serendipity_authors SET right_publish = 1
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/
# 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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
If you don't have phpMyAdmin, then try to create a simple file called "fixright.php" in your serendipity directory with this code:
Then you can call the URL via http://yourhost/fixright.php which should fix the right on its own, allowing you to properly relogin.
Best regards,
Garvin
If you don't have phpMyAdmin, then try to create a simple file called "fixright.php" in your serendipity directory with this code:
Code: Select all
include 'serendipity_config.inc.php';
serendipity_db_query("UPDATE {$serendipity['dbPrefix']}authors SET right_publish = 1");
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/
# 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/
you will be thinking of me that i am total fool, but...
this is my login screen
in which directory i must create file? and how i add the code?
you mean like this?
then i can not open the page.
again sorry for my darkness.
this is my login screen
Code: Select all
http://kavo.mnml.nl/blog/serendipity_admin.phpyou mean like this?
Code: Select all
http://kavo.mnml.nl/blog/fixright.phpagain sorry for my darkness.
Create that file using Notepad or something. And don't we have to use <?php ... ?> ?
If you try to open the file and get your frontpage, you have to edit your .htaccess-file too:
If you try to open the file and get your frontpage, you have to edit your .htaccess-file too:
Code: Select all
rewriteengine Off
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Davy is right, change the script to read this:
Then save it as "fixright.php" and upload it via FTP into your "blog" subdirectory. Then call http://kavo.mnml.nl/blog/fixright.php via your browser.
Best regards,
Garvin
Davy is right, change the script to read this:
Code: Select all
<?php
include 'serendipity_config.inc.php';
serendipity_db_query("UPDATE {$serendipity['dbPrefix']}authors SET right_publish = 1");
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/
# 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/
i did it.
when i call
its done and its all clear on the site 
when i call
Code: Select all
http://kavo.mnml.nl/blog/fixright.php-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
That's okay, the php script doesn't give any output! Did you check to relogin? It should hopefully work again?
If not, use this PHP script instead
Then you should see some output, a listing of all available authors?
Regards,
Garvin
That's okay, the php script doesn't give any output! Did you check to relogin? It should hopefully work again?
If not, use this PHP script instead
Code: Select all
include 'serendipity_config.inc.php';
print_r(serendipity_db_query("UPDATE {$serendipity['dbPrefix']}authors SET right_publish = 1"));
print_r(serendipity_db_query("SELECT * FROM {$serendipity['dbPrefix']}authors");
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/
# 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/
done, still dont works
i use this code
i have to add "<?php" at the begining of code and "?>" at the end?
i use this code
Code: Select all
include 'serendipity_config.inc.php';
print_r(serendipity_db_query("UPDATE {$serendipity['dbPrefix']}authors SET right_publish = 1"));
print_r(serendipity_db_query("SELECT * FROM {$serendipity['dbPrefix']}authors"); i did code this way:
then saved to blog folder via FTP
then i call from IE:
when i logged in Administration Suite its all still the same, i can not do anything, just log off.
i feel feckless
Code: Select all
<?php include 'serendipity_config.inc.php';
print_r(serendipity_db_query("UPDATE {$serendipity['dbPrefix']}authors SET right_publish = 1"));
print_r(serendipity_db_query("SELECT * FROM {$serendipity['dbPrefix']}authors"); ?>then i call from IE:
Code: Select all
http://kavo.mnml.nl/blog/fixright.phpi feel feckless
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Hm, that fixright.php file still seems faulty, I'm sorry. Please try this:
I'm sorry that I didn't post the right snippet; there was a PHP parse error, and your host does not show PHP errors, that's why you got a blank page 
HTH,.
Garvin
Hm, that fixright.php file still seems faulty, I'm sorry. Please try this:
Code: Select all
<?php
include 'serendipity_config.inc.php';
print_r(serendipity_db_query("UPDATE {$serendipity['dbPrefix']}authors SET right_publish = 1"));
print_r(serendipity_db_query("SELECT * FROM {$serendipity['dbPrefix']}authors")); ?>
HTH,.
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/
# 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/
thank you for be patient with me
. i changed the code. now i see this when i call fixright.php file:
but when i try to log in, i still have not rights for make New Entry to my blog and so.
Code: Select all
1Array ( [0] => Array ( [0] => Kavo [realname] => Kavo [1] => Kavo [username] => Kavo [2] => 9b9a31ab7f9b66c5c442ba0dff3db164 [password] => 9b9a31ab7f9b66c5c442ba0dff3db164 [3] => 1 [authorid] => 1 [4] => 1 [mail_comments] => 1 [5] => 1 [mail_trackbacks] => 1 [6] => ...... [email] => ...... [7] => 255 [userlevel] => 255 [8] => 1 [right_publish] => 1 ) )
Last edited by kavo on Fri Jan 26, 2007 1:25 pm, edited 1 time in total.