PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
Gazanimal
Hangin' Around


Joined: Nov 29, 2005
Posts: 47

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

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 to the forums!
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: 16987
Location: Kansas

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

Have you run INSTALLATION/installSQL.php? If you use phpMyAdmin, is the nuke_config table there?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Gazanimal
Hangin' Around


Joined: Nov 29, 2005
Posts: 47

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

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 to the forums!
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
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

Verify that the field Default_Theme, in nuke_config table has a valid name of a theme in your themes folder.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Gazanimal
Hangin' Around


Joined: Nov 29, 2005
Posts: 47

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

Default_Theme is set to - fisubice
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

And your themes folder has all the files for fisubice?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

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

Verified your config settings?
View user's profile Send private message Visit poster's website
Gazanimal
Hangin' Around


Joined: Nov 29, 2005
Posts: 47

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

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 to the forums!


After I then try to access the website via
Only registered users can see links on this board!
Get registered or login to the forums!
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
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

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

Prefixes are wrong - they both should be "nuke"

Code:

$prefix = "nuke";
$user_prefix = "nuke";
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

BINGO!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Gazanimal
Hangin' Around


Joined: Nov 29, 2005
Posts: 47

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

balls....lol.

Told you it'd something daft. WIll give it a whirl Very Happy
View user's profile Send private message
Gazanimal
Hangin' Around


Joined: Nov 29, 2005
Posts: 47

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

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
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

As a side note, in v2.1.0 you will be able to change the prefix Smile
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Gazanimal
Hangin' Around


Joined: Nov 29, 2005
Posts: 47

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

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
View user's profile Send private message
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 Back to top

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
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

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

Well that error is exactly what you said. "register_globals" must be ON
You should verity this with your host
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

You can also set register_globals on in your .htaccess file.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Gazanimal
Hangin' Around


Joined: Nov 29, 2005
Posts: 47

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

Raven - do I just add:

set register_globals on

in my .htaccess file to activate?
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

No.

PHP_VALUE register_globals on
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Gazanimal
Hangin' Around


Joined: Nov 29, 2005
Posts: 47

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

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.
View user's profile Send private message
Gazanimal
Hangin' Around


Joined: Nov 29, 2005
Posts: 47

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

Still scratching my head over this.

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

Any help still apreciated. Smile
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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>
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Gazanimal
Hangin' Around


Joined: Nov 29, 2005
Posts: 47

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

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 to the forums!
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.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Gazanimal
Hangin' Around


Joined: Nov 29, 2005
Posts: 47

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

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.
View user's profile Send private message
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum