It is currently Sun Nov 22, 2009 6:08 pm

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Undefined index errors on new install
PostPosted: Mon Dec 22, 2008 2:10 pm 
Offline

Joined: Mon Dec 22, 2008 1:53 pm
Posts: 2
Just downloaded Beta v .6.1 and I am unable to login. I run through he initial setup, entering the database name, DB Admin password, Administrator name and password, and the encryption password. I am told the setup was successful, and click on the link to login. I receive:

Array ( [error] => You are not currently logged in. Please login. [redir] => index.php [baconmap] => efv98stano7pjmmt78j1h74o04 ) Array ( [baconid] => 00c8167a172cdc6447c27cf8b994b75e [user] => danny.wall@health-first.org [userid] => 2 [ip] => 127.0.0.1 [level] => ARR )

Checking the apache access and error logs, I receive several errors about Undefined index:

access_log
[Mon Dec 22 14:39:25 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: id in /srv/www/baconmap/includes/functions.php on line 1847, referer: http://localhost/baconmap/setup.php
[Mon Dec 22 14:39:25 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: level in /srv/www/baconmap/index.php on line 151, referer: http://localhost/baconmap/setup.php
[Mon Dec 22 14:39:25 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: level in /srv/www/baconmap/index.php on line 159, referer: http://localhost/baconmap/setup.php
[Mon Dec 22 14:39:25 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: user in /srv/www/baconmap/index.php on line 216, referer: http://localhost/baconmap/setup.php
[Mon Dec 22 14:39:32 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: id in /srv/www/baconmap/includes/functions.php on line 1847, referer: http://localhost/baconmap/login.php?err ... =index.php
[Mon Dec 22 14:39:47 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: id in /srv/www/baconmap/includes/functions.php on line 1847, referer: http://localhost/baconmap/login.php?err ... =index.php

error_log
[Mon Dec 22 14:39:25 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: id in /srv/www/baconmap/includes/functions.php on line 1847, referer: http://localhost/baconmap/setup.php
[Mon Dec 22 14:39:25 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: level in /srv/www/baconmap/index.php on line 151, referer: http://localhost/baconmap/setup.php
[Mon Dec 22 14:39:25 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: level in /srv/www/baconmap/index.php on line 159, referer: http://localhost/baconmap/setup.php
[Mon Dec 22 14:39:25 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: user in /srv/www/baconmap/index.php on line 216, referer: http://localhost/baconmap/setup.php
[Mon Dec 22 14:39:32 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: id in /srv/www/baconmap/includes/functions.php on line 1847, referer: http://localhost/baconmap/login.php?err ... =index.php
[Mon Dec 22 14:39:47 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: id in /srv/www/baconmap/includes/functions.php on line 1847, referer: http://localhost/baconmap/login.php?err ... =index.php

Any ideas what the problem could be? I have tried this on Ubuntu 8.10 Server 64 bit and 32 bit BLFS.

ubuntu:
Apache 2.2.9-7ubuntu3
php5-mysql 5.2.6-2ubuntu4
mysql 5.0.67-0ubuntu6

Thanks


Top
 Profile  
 
 Post subject: Re: Undefined index errors on new install
PostPosted: Mon Dec 22, 2008 2:13 pm 
Offline

Joined: Mon Dec 22, 2008 1:53 pm
Posts: 2
The error above was from the BLFS server, and is located at the top of my browser after trying to login.

Array ( [error] => You are not currently logged in. Please login. [redir] => index.php [baconmap] => efv98stano7pjmmt78j1h74o04 ) Array ( [baconid] => 00c8167a172cdc6447c27cf8b994b75e [user] => danny.wall@health-first.org [userid] => 2 [ip] => 127.0.0.1 [level] => ARR )

On the Ubuntu server, I get this error when trying to login:

Array ( [redir] => index.php [email] => danny@health-first.org [userpw] => <mypassword> [baconmap] => 6bd8416b1d33f1273904916dcd2f3664 ) Array ( [baconid] => 5e08040f87a6bf513a35c49020b5e37a [user] => danny@health-first.org [userid] => 2 [ip] => 127.0.0.1 [level] => 0 )
Warning: Cannot modify header information - headers already sent by (output started at /var/www/baconmap/login.php:50) in /var/www/baconmap/login.php on line 125

I should probably state that they are two completely different setups, with separate databases and web servers. The different email and usernames are expected.


Top
 Profile  
 
 Post subject: Re: Undefined index errors on new install
PostPosted: Tue Dec 23, 2008 1:05 pm 
Hi,

The BaconMap crew is taking a break for the holidays so we will get to this issue as time allows. We do appreciate your comments but the solution may not be available until the first week of January 2009. If someone else found the solution please post it to this forum so the others can apply it.

Thank you for your patience.

Abel


Top
  
 
 Post subject: Re: Undefined index errors on new install
PostPosted: Wed Dec 24, 2008 11:06 pm 
Offline

Joined: Tue Dec 23, 2008 8:37 pm
Posts: 1
HI ai am also having the same errors. I am running Baconmap on Windows, Apache , PHP and MYSQL Machine. Due to this error unable to login to the system.


Top
 Profile  
 
 Post subject: Re: Undefined index errors on new install
PostPosted: Mon Jan 05, 2009 2:12 pm 
Offline
Site Admin

Joined: Mon Jun 23, 2008 1:42 pm
Posts: 51
Location: NMSU - Las Cruces, New Mexico
Hello everyone,

I apologize for taking so long to get back to you. I was out of state during the Holidays and my computer at the University was unavailable. The login problem looks as though I bundled an older version of the files into the new release by mistake.

I've uploaded a fix HERE. Just unzip the files in the archive to your baconmap installation and they should overwrite the old files and take care of the errors. Please let me know if you continue to have any problems.

Thanks for using (or trying to use) Baconmap. :)

-Ed

_________________
Ed Zenisek - NMSU Research
Lead BaconMap Developer and all around good guy.


Top
 Profile  
 
 Post subject: Re: Undefined index errors on new install
PostPosted: Wed Oct 28, 2009 12:37 pm 
Offline

Joined: Wed Oct 28, 2009 12:23 pm
Posts: 1
Thanks!
-Anna





[url=http://www.fre.org/]access_log
[Mon Dec 22 14:39:25 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: id in /srv/www/baconmap/includes/functions.php on line 1847, referer:[/url] free annual credit reportshttp://localhost/baconmap/setup.php
[Mon Dec 22 14:39:25 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: level in /srv/www/baconmap/index.php on line 151, referer: free credit reportshttp://localhost/baconmap/setup.php
[Mon Dec 22 14:39:25 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: level in /srv/www/baconmap/index.php on line 159, referer: fico scorehttp://localhost/baconmap/setup.php
[Mon Dec 22 14:39:25 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: user in /srv/www/baconmap/index.php on line 216, referer: annualcreditreport.comhttp://localhost/baconmap/setup.php
[Mon Dec 22 14:39:32 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: id in /srv/www/baconmap/includes/functions.php on line 1847, referer: http://localhost/baconmap/login.php?err ... =index.php
[Mon Dec 22 14:39:47 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: id in /srv/www/baconmap/includes/functions.php on line 1847, referer: http://localhost/baconmap/login.php?err ... =index.php


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
SubLite Theme By Echo -=Designs By Echo=- © 2007-2008 Echo
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group