Welcome, Guest. Please Login or Register.
December 11, 2024, 02:52:05 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  Access Denied « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Access Denied  (Read 39336 times)
Melaa
Noobie
*
Posts: 7


wOOt!

Access Denied
« on: March 26, 2004, 06:44:46 PM »
Reply with quote

YaBB SE Version: 1.5.2 to 1.5.4
PHP Version: 4.1.1
MySQL Version: 3.23.x
Server Platform: Windows 2000, XP, or 2003
Link to Forum: www.muppee.com/yabbse/index.php

Problem Description:
ok so i know this is not exaclt yabbse realed, but it is effecting my yabbse, and i'm about to cry, I need help so bad.
I have had this up and running for about a year now.  Everything was great until I decided to add a second database to my mysql server.  I was able to create the database, but when i went to create tables I kept getting access denied.  So stoopid me decides to reset the root password.  Well in doing that now I am locked out of everything.  The yabbse board gets an access denied message.  I can't see any of the tables in the mysqladmin.  I have tried no password, and the orginally password, and still nothing.  Plus I can't log back in the mysql to try and change the password again.  So the smart me would be like "no problem i can resotre the back up".  But of course i don't have a back up.  So did i loose everything?  Is the only solution to reinstall mysql?  :'(  :'(  :'(  :'(  :'(  :'(  :'(
Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:Access Denied
« Reply #1 on: March 26, 2004, 08:18:17 PM »
Reply with quote

I would recommed going into the mysql directory then into the data directory.

Copy all of the directories in the data folder except for the mysql one and paste them somewhere else as a backup. Then I recommend you uninstall mysql, and then reinstall it. Then after you do so just paste those backuped folders back in the data folder and everything should be back to normal.

Remember after doing so your username and password will be root with a blank password. I recommend you change it as soon as you get it reinstalled.
« Last Edit: March 26, 2004, 08:18:49 PM by Chris Cromer » Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Melaa
Noobie
*
Posts: 7


wOOt!

Re:Access Denied
« Reply #2 on: March 27, 2004, 12:13:14 AM »
Reply with quote

Thanks alot  ;D That worked.

This is the new message i get.  Its on the bottom of the board.  Everything else on the board works well though.

An Error Has Occurred!

2: Unknown(): open(/tmp\sess_f7f79024e3ebd691528791691913d403, O_RDWR) failed: No such file or directory (2)
(Unknown ln 0)

Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:Access Denied
« Reply #3 on: March 27, 2004, 12:15:00 AM »
Reply with quote

That would be a problem with php.ini having the wrong setting in it for the session save path.

Just change it from "/tmp" to a temporary directory that you create.
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Melaa
Noobie
*
Posts: 7


wOOt!

Re:Access Denied
« Reply #4 on: March 27, 2004, 07:04:10 AM »
Reply with quote

Thanks for the help  ;)
Logged
Melaa
Noobie
*
Posts: 7


wOOt!

Re:Access Denied
« Reply #5 on: March 30, 2004, 08:37:34 PM »
Reply with quote

Hey...
I did that, but I'm still getting the error message.  I read the post from [unknown] about how he thought it was a php bug, so i upgraded to version 4.3.3.  But that didn't help.  Any other suggestions
Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:Access Denied
« Reply #6 on: March 30, 2004, 08:47:31 PM »
Reply with quote

It kind of is a php bug in many people's opinion, but it was never fixed. And that bug only affects windows servers... most linux servers don't have that bug.

In php.ini you have to change "/tmp" to a directory that actually exists and is readable/writable.

For instance on my computer I use this:
"C:/Apache/php/tmp" as the temp directory for sessions. Just do something similar and make sure the directories exists and can be written to.
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Melaa
Noobie
*
Posts: 7


wOOt!

Re:Access Denied
« Reply #7 on: March 31, 2004, 02:08:00 AM »
Reply with quote

Cool thanks fixed it  ;D
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Access Denied
« Reply #8 on: March 31, 2004, 04:08:15 AM »
Reply with quote

AH!!  It was fixed, just last night!!

* unknown is very happy about that.

-[Unknown]
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Access Denied « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.057 seconds with 19 queries.