Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help
Author Message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

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

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
999
Regular
Regular



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

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

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







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

[ Only registered users can see links on this board! Get registered or login! ]

And actually it's been answered so many times Laughing. Thanks to 999 for remembering this!
 
suicidaldreams
New Member
New Member



Joined: Nov 01, 2008
Posts: 15

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

bingo!

Nice job 999!
 
View user's profile Send private message
Raven







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

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

I will be adding it Wink
 
Raven







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

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!
 
suicidaldreams







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

Yes, it allowed me to enter a -

by the way, There isn't a way to allow a space, is there?
 
Raven







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

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.
 
suicidaldreams







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

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.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help

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 ©