PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
porcupinepc
Involved
Involved


Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA

PostPosted: Wed Jul 21, 2004 9:16 pm Reply with quote Back to top

I am now with a new hosting company with more web space. I just installed RC1
Manually updated the database and edited the config.php

I can get to the index.php page now problem. I went to :http://www.porcupinepc.com/nuke/admin.php and set myself up. Now when i try to go to admin screen to setup the board, i get access denied.

Joe
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
CodyG
PHP-Portal Project


Joined: Jan 02, 2003
Posts: 561
Location: Vancouver Island

PostPosted: Wed Jul 21, 2004 9:26 pm Reply with quote Back to top

None of your default blocks are set up correctly either. I'd have another look at your db setup. You say "update the database" ... but you do mean you created and populated, right? Are you doing a fresh install?
View user's profile Send private message
porcupinepc
Involved
Involved


Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA

PostPosted: Thu Jul 22, 2004 8:59 am Reply with quote Back to top

With the new hosting company i now have, i have the ability to have 10 SQL databases.

I have setup a brand new database for nuke.

I manually uploaded the sql file which worked fine. I then edited the config.php file and entered my database info.

When i type in
Only registered users can see links on this board!
Get registered or login to the forums!
I get the index.php screen.
When i try to create a super user, it says "access denied"
If i click on a active module, it displays:

You can't access this file directly...

Also, in the installer, this appears:

Connected successfully to your MySQL Server!


Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/p/o/r/porcpc/html/nuke/install/index.php on line 66

Note: This user does not have Create Database Permissions for this MySQL server. Either select another user/pass combination or you will need to create the database first and then come back to this utility to create the tables.


Joe
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2363

PostPosted: Thu Jul 22, 2004 9:45 am Reply with quote Back to top

The installer message just means that the installer does not have permission to create a database. Meaning to use it you'll have to have an existing one to populate.

Verify the authors table was populated with your super user information. If it is then try clearing your browser cache.
View user's profile Send private message
porcupinepc
Involved
Involved


Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA

PostPosted: Thu Jul 22, 2004 11:48 am Reply with quote Back to top

Ive tried installing PHP Nuke 7.4 and same thing. With 7.4, i am listed as GOD. But when i log in and try to go to the admin menu, i get access denied.

Joe
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
digibeet
Regular
Regular


Joined: Jul 08, 2004
Posts: 96
Location: Amsterdam, the Netherlands

PostPosted: Thu Jul 22, 2004 1:19 pm Reply with quote Back to top

Hi porcupimepc,

did you change the gfx config in config.php from 0 to 7 ?

did you change the cookie code in modules/youraccount/index.php as the readme in NSN sentinel tells you to?

4. Your Account Bug
-------------------
In Your Account's index.php file you will find 4 placements of:
getusrinfo($user);
if (($userinfo[username] != $cookie[1]) AND ($userinfo[user_password] != $cookie[2])) {

You should replace it with:
cookiedecode($user);
getusrinfo($user);
if ((is_user($user)) AND ($userinfo[username] == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) {

This was my problem, and this fixed it.

I have tried if Sentinel is installed on your site with a know php-nuke exploit, probebly yo will receive an message of illegal use... Wink

Greets,

Fred Mr. Green
View user's profile Send private message Visit poster's website
porcupinepc
Involved
Involved


Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA

PostPosted: Thu Jul 22, 2004 3:38 pm Reply with quote Back to top

I did everything you mentioned in your previous message but i continue to get "access denied"

Joe
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
alienx
New Member
New Member


Joined: Aug 11, 2004
Posts: 1

PostPosted: Thu Aug 12, 2004 7:24 am Reply with quote Back to top

digibeet wrote:
Hi porcupimepc,

did you change the gfx config in config.php from 0 to 7 ?

did you change the cookie code in modules/youraccount/index.php as the readme in NSN sentinel tells you to?

4. Your Account Bug
-------------------
In Your Account's index.php file you will find 4 placements of:
getusrinfo($user);
if (($userinfo[username] != $cookie[1]) AND ($userinfo[user_password] != $cookie[2])) {

You should replace it with:
cookiedecode($user);
getusrinfo($user);
if ((is_user($user)) AND ($userinfo[username] == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) {

This was my problem, and this fixed it.

I have tried if Sentinel is installed on your site with a know php-nuke exploit, probebly yo will receive an message of illegal use... Wink

Greets,

Fred Mr. Green


hi

porcupine: have u got ur problem fixed? mind to tell me how u fixed it?

digibeet: i have tried all the steps too and still the problem exist Sad anyway i found this on my 7.3 ravenscript
if ((is_user($user)) AND (strtolower($who) == strtolower($cookie[1])) AND (strtolower($userinfo['username']) == strtolower($cookie[1])) AND ($userinfo['user_password'] == $cookie[2])) {
instead of
if ((is_user($user)) AND ($userinfo[username] == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { , as mentioned on your post. is this the problem?


raven or anyone else : when i did the sec fix 7.3 and 2.5 patch by chatserv i had this problem, and i try to solve it by using raven scripts, and this is still the problem.. i wonder why not many people having this problem, must be something i did wrong, but i dont know what. i try to reinstall, repatch, delete cookies, restart my webserver n pc but still unsuccesfull.

(note: everytime i change the patch, i did it with clean install of original 7.3 bcoz i dont want them to mix up)

anyway, i havent uploaded it to the net first as im still playing around with php in my laptop (apache triad installed), maybe i will try to upload it and see if the same problem exist in the 'real' webserver.

any suggestion of how this problem can be solved is really really appreciated

chris
View user's profile Send private message
porcupinepc
Involved
Involved


Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA

PostPosted: Thu Aug 12, 2004 8:06 am Reply with quote Back to top

PHP Nuke i ended up finding out was not compatible with the hosting company i had, once agaon i changed companies and now Ravens's latest Distro is working perfect.

Joe
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
iamasteve
New Member
New Member


Joined: Jan 08, 2005
Posts: 9

PostPosted: Sun Jan 09, 2005 7:19 pm Reply with quote Back to top

Could the problem possibly be that this distro is not compatible with MySQL 3.23? That is what I'm thinking...
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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-2008 by Raven
Proud to be listed at Lobo Links Web Directory

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 Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

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

zerosum