PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  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
Raven
Site Admin/Owner


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

PostPosted: Thu Nov 06, 2008 12:10 pm Reply with quote Back to top

I'm thinking that this may be a cookie issue. Try this.

Close down ALL browser instances.
Open up a new browser instance.
Do not go to any site.
Clear the cache.
Delete ALL cookies even remotely related to the domain.
Close the browser instance.
Open a new browser instance.
Go to the url of the site that is not working correctly.

Does the admin login work now?

If not are you also logged in as a regular user? If not, login as a regular user using the same admin name. I'm assuming you are using the same name for the user and the admin?

After successful login as a regular user with the same name as the admin, try logging in as admin.

Yes or No?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
999
Regular
Regular


Joined: Sep 12, 2006
Posts: 58
Location: Dsm, IA

PostPosted: Thu Nov 06, 2008 12:39 pm Reply with quote Back to top

In admin.php (or whatever name if you renamed it), on line 85, change
Code:
      if (isset($aid) && (ereg('[^a-zA-Z0-9@_.]',trim($aid)))) {

to
Code:
      if (isset($aid) && (ereg('[^a-zA-Z0-9@_-.]',trim($aid)))) {

See if you can login now.
View user's profile Send private message Visit poster's website MSN Messenger
Raven
Site Admin/Owner


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

PostPosted: Thu Nov 06, 2008 9:59 pm Reply with quote Back to top

Only registered users can see links on this board!
Get registered or login to the forums!


And actually it's been answered so many times Laughing. Thanks to 999 for remembering this!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
suicidaldreams
New Member
New Member


Joined: Nov 01, 2008
Posts: 15

PostPosted: Fri Nov 07, 2008 2:39 am Reply with quote Back to top

bingo!

Nice job 999!
View user's profile Send private message
Raven
Site Admin/Owner


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

PostPosted: Fri Nov 07, 2008 7:45 am Reply with quote Back to top

I thought I had added this to the FAQ but apparently not Rolling Eyes

I will be adding it Wink
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Raven
Site Admin/Owner


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

PostPosted: Fri Nov 07, 2008 7:55 am Reply with quote Back to top

Btw, when you went through the setup.php phase of the Installation, it should have displayed what characters we allowed to be used in both the user and admin names. The settings are controlled in the INSTALLATION/ravenstallerConfigFile.php file. The default for admin name is "[a-zA-Z0-9-_!@\$\*]*". Notice that - is allowed. So, if the setup screen allowed you to enter a dash in the name then the logic in admin.php is incorrect. Please advise ASAP - Thanks!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
suicidaldreams
New Member
New Member


Joined: Nov 01, 2008
Posts: 15

PostPosted: Fri Nov 07, 2008 10:02 am Reply with quote Back to top

Yes, it allowed me to enter a -

by the way, There isn't a way to allow a space, is there?
View user's profile Send private message
Raven
Site Admin/Owner


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

PostPosted: Fri Nov 07, 2008 10:04 am Reply with quote Back to top

okay, then I've a feeling I never committed my code changes to the SVN release <sigh>. Thanks for reporting this! We'll include the fix in the upcoming v2.30.01 fix pack.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
suicidaldreams
New Member
New Member


Joined: Nov 01, 2008
Posts: 15

PostPosted: Fri Nov 07, 2008 11:09 am Reply with quote Back to top

No prob. Nice piece of work overall Raven.

I'll hit up yahoo and find out if there is anything more in regards to the whole "sever not reporting correctly" thing, though if the rumor mill is correct, a reinstall may be needed sometime soon anyway. Seems Y might finally upgrade the php on their servers.
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-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