greatergreen.com
Welcome, Guest. Please login or register.
2010-09-05, 08:18:12

Login with username, password and session length
Search:     Advanced search
Due to spammers, new user registrations must now be approved. If you are trying to register, and have not been approved, please have a friend that is already on the board send me a PM... Sammie
1943 Posts in 249 Topics by 232 Members
Latest Member: PA-Dore
* Home Help Search Login Register
+  greatergreen.com
|-+  greatergreen.com
| |-+  FBD
| | |-+  FBDj Admin area
« previous next »
Pages: [1] Print
Author Topic: FBDj Admin area  (Read 529 times)
Des
Newbie
*
Posts: 12


View Profile
« on: 2009-12-14, 17:47:22 »

Have some troubles with admins area. After entering login and password it shows

Quote
Update Aircraft Matchup
Squadron Maintenance
Admin Maintenance
Scheduled Events Calendar

after clicking to any link of menu have login and password form again. what's wrong?
Logged
-al---
Newbie
*
Posts: 11


View Profile
« Reply #1 on: 2009-12-14, 18:14:48 »

Have some troubles with admins area. After entering login and password it shows

Quote
Update Aircraft Matchup
Squadron Maintenance
Admin Maintenance
Scheduled Events Calendar

after clicking to any link of menu have login and password form again. what's wrong?

I THINK this is a result of cookies not saving properly on your machine. I had this issue also but as I only played with the stats and did not run any kind of server I just edited out the stat files and removed the login check Wink Doesn't really help, I know Wink
« Last Edit: 2009-12-14, 18:39:29 by -al--- » Logged
Des
Newbie
*
Posts: 12


View Profile
« Reply #2 on: 2009-12-14, 18:50:21 »

 Cheesy
So if any one have other ideas, welcome
Logged
Des
Newbie
*
Posts: 12


View Profile
« Reply #3 on: 2009-12-19, 04:01:13 »

have solved!
in adminlogin2.php you jyst need to proove cookie control string to
Quote
setcookie("auth", "1");
Logged
-al---
Newbie
*
Posts: 11


View Profile
« Reply #4 on: 2009-12-19, 04:09:55 »

See? I told you it was cookies  Cheesy
Glad you sorted it out Smiley
Logged
T_O_A_D
Newbie
*
Posts: 1


View Profile
« Reply #5 on: 2010-07-27, 09:15:33 »

have solved!
in adminlogin2.php you jyst need to proove cookie control string to
Quote
setcookie("auth", "1");


Is this still valid?

I'm still learning here, I spent the last two weekends trying to figure this out.

And I've got the same problem, but not sure about html, I'm a Diesel Technician not a IT guy.

I'm assuming you just replace this line,

(!$_COOKIE["auth"] == "1")

with yours above?

Quote
<?php
/*************************************************
file: adminlogin2.php
Date: 10-Nov-2008
Author: WildWillie - Outback Computer Consultants, Inc.
description: Administrator Page for FBDj Stats
**************************************************/
require('./config.php');
$page_title = "Stats Administration";
//check for required fields from the form
if (!$_COOKIE["auth"] == "1")
{
   if ( (!isset($_POST["username"])) || (!isset($_POST["password"])))
   {
      header("Location: adminlogin.php");
     exit;

now that I have it backed up, I'll just try it.

Nope, just gave a blank white page.

Just sitting here waiting at this point.
« Last Edit: 2010-07-27, 09:23:21 by T_O_A_D » Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!