Author |
Message |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Thu Nov 06, 2008 12:10 pm |
|
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? |
|
|
|
 |
999
Regular


Joined: Sep 12, 2006
Posts: 58
Location: Dsm, IA
|
Posted:
Thu Nov 06, 2008 12:39 pm |
|
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. |
|
|
|
 |
Raven

|
Posted:
Thu Nov 06, 2008 9:59 pm |
|
|
|
 |
suicidaldreams
New Member


Joined: Nov 01, 2008
Posts: 15
|
Posted:
Fri Nov 07, 2008 2:39 am |
|
|
|
 |
Raven

|
Posted:
Fri Nov 07, 2008 7:45 am |
|
I thought I had added this to the FAQ but apparently not
I will be adding it  |
|
|
|
 |
Raven

|
Posted:
Fri Nov 07, 2008 7:55 am |
|
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

|
Posted:
Fri Nov 07, 2008 10:02 am |
|
Yes, it allowed me to enter a -
by the way, There isn't a way to allow a space, is there? |
|
|
|
 |
Raven

|
Posted:
Fri Nov 07, 2008 10:04 am |
|
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

|
Posted:
Fri Nov 07, 2008 11:09 am |
|
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. |
|
|
|
 |
|