Author |
Message |
|
OK, thanks, I did as you suggested. I downloaded and ran the script at www.carbonize.co.uk/AG. I cut and pasted my database password in the config.inc.php file under $GB_DB["pass"], and I pasted the password into the field on the reset screen. When I clicked submit, I got: "Could not reset the username and password because: " and then nothing else.
What can I try next?
Thank you much for your time, I appreciate it.
stevendude
|
|
|
Thank you. I did already know the URL for the admin. I get the login screen when I go there. I came to this message board yesterday and looked at some previous messages to try to figure this out. I went into PHPMyAdmin and ran a SQL statement that was supposed to reset the userid/password to test/123. But I can not get in using that.
This is what is in book_auth:
1 test 773359240eb9a1d9 7d8b85294e2e060b83f596a4fc5561ce 20051015110401
I assume that password equates to 123. But when I use test and 123 it doesn't let me in.
Thanks for your help. What to try next?
stevendude
|
|
|
Hi. My guestbook wsa hacked, something about Popo and a black screen. I looked around in PHPMyAdmin and could find it. I brought up admin.php and got the right screen but couldn't get into the 'easy admin' to delete any posts (black screen again). I did delete some in PHPMyAdmin. But I changed the userID and password to test and 123 and now I can't get into then admin at all. Argh!
Now I have two problems. Can't get into admin and still need to fix the hack! Can someone please help?
http://www.obsessed-with-music.com/koobtseug/
Thank you so much...
stevendude
|
|
|
Thank you, that would be great. Another developer told me that he thought, that anything that I did an fopen() for, would automatically be closed when the script terminates. Other than sloppy coding, is this true?
But yes, it there is a better way that is fine too.
|
|
|
Thanks for any help.
My hosting company is giving me the run-a-round.
Is there a fix for this fclose being disabled?
Can I use something else instead?
And, please be patient with me, what happens if I just delete that line(s) and don't fclose at all (will it work)?
|
|
|
I have emailed my hosting company about why they are disabling fclose, have not heard back yet. Thank you for any work-around you can provide.
|
|
|
That file is a little different. The error is from the fclose in this chunk of code (below). How can I fix this one? Thanks!!
function generate_new_session_id($user_id) {
srand((double)microtime()*1000000);
$session = md5 (uniqid (rand()));
$unix_time = time();
$config="<?php\n";
$config.="\$auth['session']=\"$session\";\n";
$config.="\$auth['uid']=\"$user_id\";\n";
$config.="\$auth['expire']=\"$unix_time\";\n";
$config.="?>";
$fp = fopen("$this->include_path/session.php","w");
flock($fp, 2);
fwrite($fp, $config);
flock($fp, 3);
fclose($fp);
return $session;
}
|
|
|
I just downloaded and installed the poll becasue I want to quit using the Bravenet poll that I currently use. I changed permissions as per the readme file. But when I access mydomain/poll/admin I get the following errors:
Warning: fclose() has been disabled for security reasons in /home/obsessed/public_html/poll/include/class_template.php on line 75
Warning: Cannot modify header information - headers already sent by (output started at /home/obsessed/public_html/poll/include/class_template.php:75) in /home/obsessed/public_html/poll/admin/common.inc.php on line 15
Warning: Cannot modify header information - headers already sent by (output started at /home/obsessed/public_html/poll/include/class_template.php:75) in /home/obsessed/public_html/poll/admin/common.inc.php on line 16
Warning: Cannot modify header information - headers already sent by (output started at /home/obsessed/public_html/poll/include/class_template.php:75) in /home/obsessed/public_html/poll/admin/common.inc.php on line 17
Warning: Cannot modify header information - headers already sent by (output started at /home/obsessed/public_html/poll/include/class_template.php:75) in /home/obsessed/public_html/poll/admin/common.inc.php on line 18
The login box shows below that but a graphic is missing. Please help!
Thank you
Stevendude
www.obsessed-with-music.com
|
|
|
Thank you SO much, that worked!
The URL was *not* longer than 200 characters, but for some reason your fix worked so I am happy.
Thanks again!!
stevendude
|
|
|
Thank you so much for any help you may be able to provide. I do appreciate it.
stevendude
|
|
|
Hi. I am trying to add a comment to a post in my guestbook. The comment I want to add has a URL in it, for instance:
"Hi. Go to www.something.com/some/place.htm for more info."
I keep getting:
"Your message contains some invalid words. Please correct it and re-submit."
There are no invalid words. When I replace the slashes with a different character, the comment works fine. But I want to have a URL in a comment. How can I do this? Does anyone know?
Thanks in advance...
stevendude
|
|
|