Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro
Author Message
Gazanimal
Hangin' Around



Joined: Nov 29, 2005
Posts: 47

PostPosted: Tue Jan 17, 2006 5:37 pm Reply with quote

I'm installing the latest Distro & have encountered a weird little problem even though all the installation goes right.

I've set up the MySQL databases & username etc. The InstallSQL runs fine & connects to the database fine with the designated username & password that I created & I can also configure the Website, but as soon as I try to go to the index.php of the website e.g. [ Only registered users can see links on this board! Get registered or login! ] all I get is an error page saying:

Quote:
There seems to be a problem with the MySQL server Configuration Table - It's missing.

If you are installing this for the first time, did you remember to run INSTALLATION/installSQL.php file?

Otherwise, please report this to the Administrator ASAP.

We should be back shortly.


I've read through the installation guide (several times) & the Quick Start & even uploaded the files again but no joy. Am I missing something & being a bit thick or has something gone wrong.

Thanks for any help Wink


Last edited by Gazanimal on Sat Jan 21, 2006 6:59 am; edited 1 time in total 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Jan 17, 2006 10:39 pm Reply with quote

Have you run INSTALLATION/installSQL.php? If you use phpMyAdmin, is the nuke_config table there?
 
View user's profile Send private message
Gazanimal







PostPosted: Wed Jan 18, 2006 7:13 am Reply with quote

Yes, I've run the installSQL.php & it created the tables fine.

I've checked via phpMyAdmin & 105 tables have been created in the _ravennuke database. (Image below)

Image

My version of phpMyAdmin is - 2.6.4-pl2

My MySQL version is - 4.1.14

My PHP version is - 5.0.5

When I created the database & user via my cPanel everything went fine as normal. All through the process everything was fine until I try to view my website [ Only registered users can see links on this board! Get registered or login! ] after I've configured the website (Name / GOD Username etc).
I don't get to configure Sentinel as I can't access the next step.

Any help appreciated. Smile
 
Raven







PostPosted: Wed Jan 18, 2006 7:29 am Reply with quote

Verify that the field Default_Theme, in nuke_config table has a valid name of a theme in your themes folder.
 
Gazanimal







PostPosted: Wed Jan 18, 2006 8:40 am Reply with quote

Default_Theme is set to - fisubice
 
Raven







PostPosted: Wed Jan 18, 2006 9:10 am Reply with quote

And your themes folder has all the files for fisubice?
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Wed Jan 18, 2006 9:21 am Reply with quote

Verified your config settings?

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
Gazanimal







PostPosted: Wed Jan 18, 2006 12:08 pm Reply with quote

Checked the theme folder for fisubice & they're all there.

Checked my config settings & they appear correct.

I re-uploaded all the files in the `html` folder in case something had become corrupted or missing in transfer.

Deleted & recreated the MySQL database & database user. Database is now just hysteria_raven NOT hysteria_ravennuke.

Re-did the installSQL.

Image

Everything went fine.

Re-did the config (passwords blanked out):

Image

The URL for the site is like that as it is an add-on domain to my main domain. It works either like that or as just [ Only registered users can see links on this board! Get registered or login! ]

After I then try to access the website via [ Only registered users can see links on this board! Get registered or login! ] I get the same error as in my first post.

The tables have been created again in the database & also the theme is set to fisubice & all files are present.

My config settings are as follows:

Quote:
$dbhost = "localhost";
$dbuname = "*******";(username blanked - but correct)
$dbpass = "********"; (password blanked - but correct)
$dbname = "hysteria_raven";
$prefix = "hysteria_";
$user_prefix = "hysteria_";
$dbtype = "MySQL";
$sitekey = "********************"; (blanked out)
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";
$tipath = "images/topics/";
$display_errors = true;


Thanks for trying to help guys, I really appreciate it & want to port over to this safer version due to recent hacking events.

Very Happy
 
evaders99







PostPosted: Wed Jan 18, 2006 12:40 pm Reply with quote

Prefixes are wrong - they both should be "nuke"

Code:


$prefix = "nuke";
$user_prefix = "nuke";
 
Raven







PostPosted: Wed Jan 18, 2006 2:16 pm Reply with quote

BINGO!
 
Gazanimal







PostPosted: Wed Jan 18, 2006 3:27 pm Reply with quote

balls....lol.

Told you it'd something daft. WIll give it a whirl Very Happy
 
Gazanimal







PostPosted: Wed Jan 18, 2006 3:29 pm Reply with quote

Works like a charm.

Thanks so much.

I'll let you know if my Nuke-noobness gets the better of me in the future. Smile
 
Raven







PostPosted: Wed Jan 18, 2006 3:40 pm Reply with quote

As a side note, in v2.1.0 you will be able to change the prefix Smile
 
Gazanimal







PostPosted: Wed Jan 18, 2006 6:21 pm Reply with quote

Another wee problem has arisen which is to do with Sentinel.

In the Sentinel Admin settings I get the following error.

HTTPAuth Requires "register_globals" to be ON

I've tried to set the CGI authentication as per the installation instructions but I can never log in as the admin. The request for username & password pops up but when I enter the correct details it still won't let me in. Sad

Any ideas & many thanks from a php n00b in the UK Razz
 
wakey
Hangin' Around



Joined: Dec 18, 2005
Posts: 42
Location: newcastle upon tyne (that is planet earth)

PostPosted: Wed Jan 18, 2006 6:57 pm Reply with quote

ok have you scaned for new admins in the control panel and if so have you asigned a password? that is a good place to start
 
View user's profile Send private message Visit poster's website MSN Messenger
evaders99







PostPosted: Wed Jan 18, 2006 7:54 pm Reply with quote

Well that error is exactly what you said. "register_globals" must be ON
You should verity this with your host
 
Raven







PostPosted: Wed Jan 18, 2006 9:31 pm Reply with quote

You can also set register_globals on in your .htaccess file.
 
Gazanimal







PostPosted: Thu Jan 19, 2006 2:57 pm Reply with quote

Raven - do I just add:

set register_globals on

in my .htaccess file to activate?
 
Raven







PostPosted: Thu Jan 19, 2006 3:11 pm Reply with quote

No.

PHP_VALUE register_globals on
 
Gazanimal







PostPosted: Thu Jan 19, 2006 4:50 pm Reply with quote

Ok, I added that into .htaccess but all I get is 500 Internal Server error.

If I take it out then it's fine but I still can't activate the HTTPAuthentication or CGI Authentication.

I can log into my admin panel fine, then click Sentinel Admin & get in fine (without being asked for username or password).

If I add the line PHP_VALUE register_globals on then I can't get in as it asks for a Username & Password which I enter as per the ones I entered when setting up the Sentinel Admin Username / Password but it won't let me in.

Here's my .htaccess file

Quote:
Options All -Indexes
DirectoryIndex index.php index.htm index.html

# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .ftaccess>
deny from all
</Files>


<Files .staccess>
deny from all
</Files>



# -----------------------------------------------------------------------------------------------------
# Leave this block commented out unless HTTPAuth is NOT available in your NukeSentinel(tm) Admin Panel.
# This code is mainly for use with CGI Authentication and most servers do not require it.
# -----------------------------------------------------------------------------------------------------
#<Files admin.php>
#<Limit GET POST PUT>
#require valid-user
#</Limit>
#AuthName "Restricted"
#AuthType Basic
#AuthUserFile /path/to/your/.staccess
#</Files>
# -----------------------------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------------

# -------------------------------------------
# Start of NukeSentinel(tm) DENY FROM area
# -------------------------------------------


If I uncomment the CGI Authentication code it won't let me into the website at all & I get the internal server error but if I leave it as it is above it's totally fine.

With the code as it is I can access the Sentinel Admin Panel but don't get asked for a username or password to do so. Sad

Weird.
 
Gazanimal







PostPosted: Sat Jan 21, 2006 6:58 am Reply with quote

Still scratching my head over this.

Can't seem to get it to work no matter what I try.

Any help still apreciated. Smile
 
Raven







PostPosted: Sat Jan 21, 2006 10:17 am Reply with quote

So, you're saying if you uncomment these lines and put a valid path to .staccess, you get a 500 error?
Code:
#<Files admin.php>

#<Limit GET POST PUT>
#require valid-user
#</Limit>
#AuthName "Restricted"
#AuthType Basic
#AuthUserFile /path/to/your/.staccess
#</Files>
 
Gazanimal







PostPosted: Sat Jan 21, 2006 1:08 pm Reply with quote

Yes, if I uncomment the line to activate the CGIAuth in the .htaccess file I can't login in...it just loops back to the same login pop-up that asks for "Username" & "Password" for `Restricted Area`.

If I put the password in that I created in the config part for then it won't let me in & just loops back to the same login screen. Sad

So just to clarify:

The .htaccess is set correctly in the Sentinel Admin
The .staccess is set correctly in the Sentinel Admin
The Admin Auth: HTTPAuth Requires "register_globals" to be ON shows in the Sentinel Admin & there is NO drop down box available.
If I uncomment the CGIAuth part in the .htaccess then my designated password/username does not allow me in at all & keeps looping to the same login pop-up.

If I go to my website [ Only registered users can see links on this board! Get registered or login! ] then it asks me to log in as normal & I can do that but when I activate the CGIAuth because HTTPAuth appears not to work then I can't log in at all.

Thanks for the help Raven, really appreciated.
 
Raven







PostPosted: Sat Jan 21, 2006 1:45 pm Reply with quote

Okay, that's not what you said before, that's why I asked for clarity. You said
Quote:
If I uncomment the CGI Authentication code it won't let me into the website at all & I get the internal server error but if I leave it as it is above it's totally fine.
which made it sound like the .htaccess code as shipped was causing a server error.

Now that that is cleared up, the only reason that it will keep bouncing you back is because there is either an encrypted password mismatch or the paths to .htaccess and/or .staccess are not correct.
 
Gazanimal







PostPosted: Sat Jan 21, 2006 4:26 pm Reply with quote

Well I did get the Internal Server error at the time but that was when I add the line:

PHP_VALUE register_globals on

The access paths to the .htaccess files & the .staccess files are fine & they show as correct in the admin panel.

As for the password & username mismatch, they are exactly as I set them in the config & I've tried numerous times & they are correct so I haven't the faintest idea.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©