PDA

View Full Version : What's the problem here?


RoCKeRzX
1-27-03, 08:13 PM
Hi, my site is running phpnuke 5.5 for the past 6 mths & are working fine, until lately, users were unable to login to their account with this message 'Sorry, you can't access this file directly...' when they've entered the username/password & hit the login buttons. New user are also unable to complete their registration with the same message appearing when they hit the submit button. I've looked for solutions at nuke forums, but there's nothing i can find there.

Anyone here could help? TY in advance.

mjp
1-27-03, 08:26 PM
Your problem is probably related to the php upgrade. Check this site for some fix suggestions: http://pownuke.com/

mjp

RoCKeRzX
1-27-03, 08:56 PM
hi, i read everything at http://pownuke.com/index.php & make changes on the files required, but it seems nothing is working. :(

Jade Dragon
1-27-03, 09:06 PM
I'm looking at the site. Tried the registration and comes up with "Sorry you can't access this file directly"

never encountered this specific error, but a couple things to try.

Reloading the "Your Account" module and any mod scripts for accounts. Could possibly be a corupt file. OR could be a corupt table on the db. Also Check the permissions on the files, just as an off chance.

Will help look for more info.

JD

RoCKeRzX
1-27-03, 09:11 PM
Hi jade, actually i've done that several times, reuploading a fresh mainfile.php, index.php etc.. but still gets the same error. I believes this had something to do with the php upgrades. ??

Jade Dragon
1-27-03, 09:13 PM
which server are you on?

I'll take a look at the code. Not familiar with 5.x Nuke but I'll give it a shot.

RoCKeRzX
1-27-03, 09:16 PM
asteroid.powweb.com.

thks in advance for your help. ;)

Jade Dragon
1-27-03, 09:32 PM
Found a vague reference to change in servers php.

try this in the mainfile.php

you could try the following:
In mainfile.php at the very top just add the following lines:


if (!ini_get("register_globals")) {
$php_ver = phpversion();
$php_ver = explode(".", $php_ver);
$phpver = "$php_ver[0]$php_ver[1]";
if ($phpver >= 41) {
$PHP_SELF = $_SERVER['PHP_SELF'];
import_request_variables('GPC');
}
}


Backup a copy of the main file before you do this.

will keep looking for a definite answer.

JD

RoCKeRzX
1-27-03, 09:36 PM
Hi jake, i've found this articles at nuke forum. Wonder if it is useful to you in trying to solves my problems. Honestly i'm very bad with codes..so help me pls....take a look

http://www.nukeforums.com/forums/viewtopic.php?topic=9899&forum=9

RoCKeRzX
1-27-03, 09:38 PM
I'll try that, ty

RoCKeRzX
1-27-03, 09:45 PM
Originally posted by Jade Dragon
Found a vague reference to change in servers php.

try this in the mainfile.php



Backup a copy of the main file before you do this.

will keep looking for a definite answer.

JD

I've tried & it doesn't work either. :(

Jade Dragon
1-27-03, 10:32 PM
Ok I've seen all the references of login erors to php 4.3.0 but have yet to see the fix for them.

This is beyond my skills at the moment. I will keep looking though, and post anything I may find.

Sorry I couldn't help you more.

JD

RoCKeRzX
1-28-03, 04:50 AM
Anyway thks alot Jake, i almost wanna give up..i'm maintaining/updating 4 other nuke sites with the same version running at ICDSOFT.COM servers & never faces this kind of problem..wonder y???

Rhymes
1-30-03, 03:16 PM
I have the same problem also.

www.Battleoftheoutlaws.com

Im running nuke 6.x and yes I already did the other upgrade were you take out the quotes a week ago.

I cant login in, when I login into the admin account (god also) it brings me to the admin choices but when I click one it asks me to relog in.

I think it might be a global problem...what server iam on?? No idea How do I find out?

Rhymes

ciscokid
1-31-03, 11:59 AM
You are not the only one my sites are doing the samething since Neptune was upgraded yesterday to PHP 4.3

Jade Dragon
1-31-03, 12:01 PM
you can find out which http server you are on by going to ops and clicking on HTTP tab.

JD