miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Specific miniBB Support Forums / Specific /  
 

Step 1 and auto install successful - Login Error:Undefined index: caseComp in bb_cookie.php Line 28

 
Author BarrySumpter
Partaker
#1 | Posted: 29 Sep 2012 03:14 
Hi all,

35 years in IT. Retired.
Noob to miniBB.

Trying to setup miniBB 3.0 on windows xp sp3 on IIS 5.1.
Already worked my way thru setting up PHP and mySQL.
Already added the miniBB database to mySQL.
Successfully worked thru miniBB install Step 1 and auto install.
All successful.
Followed link to login at bottom of successful auto install page.
the signin page is the bb_admin.php page renamed to bb_signin.php
If I type in an INcorrect username and/or password,
as expected I get : Sorry! It appears there were wrong username and/or password typed. Please, try again!

But when I enter a correct username and passoword from the setup_options.php, I get:

>>>>
-------

for 2 seconds then:

PHP Notice: Undefined index: caseComp in M:\Inetpub\wwwroot\Forums\bb_cookie.php on line 28

line 28:
if(isset($GLOBALS['loginsCase']) and $GLOBALS['loginsCase']) { $caseComp1=$GLOBALS['caseComp'].'('; $caseComp2=')'; $usernameSql=strtolower($username); } else { $caseComp1=''; $caseComp2=''; $usernameSql=$username; }


I've read thru the install docos and every post for "login" and have tried all suggestions to no avail.
i.e.
Admin Login troubles
(cookies are working ok)

Manual
($metaLocation is uncommented)

Any positive constructive suggestion would be greatly appreciated.

All my best,
Barry G. Sumpter

Author BarrySumpter
Partaker
#2 | Posted: 29 Sep 2012 06:57 
Started from scratch.
Still the same error.
Any help or acknowledgement would be greatly appreciated.

if(isset($GLOBALS['loginsCase']) and $GLOBALS['loginsCase']) { $caseComp1=$GLOBALS['caseComp'].'('; $caseComp2=')'; $usernameSql=strtolower($username); } else { $caseComp1=''; $caseComp2=''; $usernameSql=$username; }

bb_functions.php
...
if($DB=='mysql' or $DB=='pgsql') $caseComp='lower'; elseif($DB=='mssql') $caseComp='lcase';

I added this:
$caseComp='lower';

no more errors just can't get past the login screen now.
wrong username and/or password.

signin again:
This area requires your Administrative account details. Please, sign-in!


...

Author Paul
Lead Developer 
#3 | Posted: 29 Sep 2012 22:21 
You shall enter admin's login and password as they provided under setup_options.php.

What did you specify as for $DBType setting in the similar file?

Author BarrySumpter
Partaker
#4 | Posted: 30 Sep 2012 00:27 
Hi Paul

Many thanks for the response.

I've tried the values assigned to $admin_usr and $admin_pwd
And just to be sure the values assigned to $DBuser and $DBpwd

I find no reference to $DBType in minibb files, nor in my iis server files, nor in the minibb documents.

The only thing I can think of that would be releated to DB Type would be he character set of the minibb db when first setup with MySQL Workbench.

I've tried a charset/collation on 'Server Default' and 'latin1'.


However I have found on the internet references to changing character type / collation:
5317-php-change-mysql-database-tables-collation-to-utf8
$dbtype == 'mysql'
$dbcharset == 'utf8'
$dbcollation == 'utf8_general_ci'

I've started from scratch again creating the minibb db in mySQL workbench as utf8 and utf8_general_ci.
to no avail
i.e. can't seem to get past the admin login page

Author BarrySumpter
Partaker
#5 | Posted: 30 Sep 2012 02:54 
Hi again all,

A quick update.

I've read thru all the 'Admin' posts again.
And found in the next to the last post telling us to have a go using Netscape Navigator.
Using Netscape Navigator I can access the the admin panel via the admin login and add a forum.

Anyone know how to update minibb or ie or ff to allow admin access/login?

tia

Author Guest
~
#6 | Posted: 1 Oct 2012 00:19 
anyone?

Author BarrySumpter
Partaker
#7 | Posted: 1 Oct 2012 06:51 
Looks like I'm going to have to learn php and debugging just to get this to work properly.
I'd prefer to spend my time in more rewarding endevors.

Author BarrySumpter
Partaker
#8 | Posted: 1 Oct 2012 20:41 
Another update.

Received a new modem from isp for faster access speed.

Setup and working ok.

However, when good lady wife and gorgeous daughter tried to access via wireless - no go.
I don't know why but all my static IP addresses on each machine had been reset
(deducing it to be the modem install) to Obtain IP Address and DNS Automatically.
Even my aTV2 and aTV3.

So all where shut down and one at a time booted and set original static IP Addresses.
All working now.

Now when I test minibb,
FireFox logs onto Admin panel with no issues now.
Netscape Nav just returns to Admin panel login now.
IE just returns to Admin panel login.

So FireFox and Netscape have now switched their behaviours.

This be doin me head in.

Whats up with this?

tia

p.s.

//?????
$main_url='http://localhost/forums';

Also,
my dns redirect (i.e. www.mywebsite.com) to my non-static ipAddress is no longer working.
grrrrr

Author tom322
Active Member
#9 | Posted: 1 Oct 2012 23:26 
For sure, browser has nothing to do with it. IP reset has something to do with modem or your ISP, not miniBB ;)

Author Paul
Lead Developer 
#10 | Posted: 5 Oct 2012 15:24 
I suppose you are kidding us? :))

Where did you get the Netscape Navigator available?
What kind of all the 'Admin' posts again have you read thru?
Why shall you give access to the admin panel of forums to all of your family members?

My suggestion, as always, is - if you would like to get a proper answer, give a proper question first.

P.S. I was about $DB setting, meaning where you set the type of database module used, but it seems it was a wrong question, oops...

Author BarrySumpter
Partaker
#11 | Posted: 6 Oct 2012 03:03 
Hi tom322,
yes, port forwarding getting mixed up with bridging from new cable modem to old cable modem.
Removed old cable modem, stopped bridging, and re-addressed the port forwarding on new cable modem.
All fixed. Screaming at 100 mbps.

Hi Paul,
Thanks heaps for taking the time to reply.
It's good we're both keeping ouf since of humor.
Life's too short to take things so seriously.

Not sure where you're responses are coming from. LOL.
My posts are always so clear to me. ;)

I was hoping other end users who have had this issue with IIS 5.1 and/or cookies and/or miniBB would post their solutions.

Netscape Navigator was retrieved from the internet.
Could have been from an archive.
NN did pop up n let me know its been superseded. And suggested moving to FireFox.
But did get me past the Admin login screen at one stage but no longer.

The Admin posts were found using the miniBB search at the top of this page.
Both Admin and Login were used as search criteria. As well as admin login.
I recall using Google to seach for miniBB and Admin and Login as well.

miniBB access will be given to only my family and friends.
miniBB Admin access if for me only.


Just ask if you need more info.

I'm getting by at the moment using FF.
But the good lady wife will be getting a MB Air this week with her new job.
And will be testing with Safari.

The daughter is finishing year 12 and will be getting another computer for her university.
No telling what browser she will be using in a few months.

Both the wife and daughter will be using iPhone 4 and 5 respectively.
I'm on HTC HD2 Android 2.3
So will soon be testing their browsers as well.

My point being I'd like to be able to use miniBB under iis 5.1 on multiple browsers.

tia

Author Paul
Lead Developer 
#12 | Posted: 6 Oct 2012 15:48 
Obviously, before giving any question, you should provide as many information as possible, but not information related to your family members :)

BarrySumpter:
And found in the next to the last post telling us to have a go using Netscape Navigator.
Sorry, I was not able to get the idea - what kind of page are you about?
Where did you find a note that using NN will help you get into the admin panel?

Something is definitely outdated in our docs, but it's fun if you still were able to get the Netscape Navigator running.
I've thought its development was discontinued years ago! It's now Firefox.

As about login troubles, in general, - it's clearly a cookie/domain issue. Try to play with miniBB's cookie settings, set a specific domain with a leading dot, set a direct path to your domain and so on... it depends on very many factors why you can't login, but it's strictly server's/cookie issue. Specially, you may experience it having an IP address not associated with any domain. It all should work properly when it's installed properly. But on IIS, you may also have other "underwater stones" hidden. Without debugging and not seeing what happens on your server, for me it's not possible to name a reason of it, sorry.

Author BarrySumpter
Partaker
#13 | Posted: 6 Oct 2012 21:25 
Righto.
Thanks for that Paul.
Nothing here I haven't already tried.
Will have another go soon.
Might even see what trouble I can get into with debugging php.

If anyone at all has any positive constructive suggestions,
general or more specific or otherwise,
please post.

tia

Specific miniBB Support Forums / Specific /
 Step 1 and auto install successful - Login Error:Undefined index: caseComp in bb_cookie.php Line 28
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑