To post messages, you must join the IMS Public Community (free).   |   You also can also join the Common Cartridge Alliance.
IMS GLC Public Forums and Resources
Decrease font size
Increase font size
Topic Title: Issue with the basic lms package
Topic Summary: Some error messages
Created On: 02/10/2012 04:35 AM
Status: Post and Reply
Linear : Threading : Single : Branch
Topic Tools Topic Tools
View topic in raw text format. Print this topic.
 02/10/2012 04:35 AM
User is offline View Users Profile Print this message

Author Icon
jorgeja

Posts: 3
Joined: 02/10/2012

Hi guys!

I'm getting some random errors when i run the basic lms.php code on ads.php

Notice: Undefined index: dbcheck in /Applications/XAMPP/xamppfiles/htdocs/adlist/db.php on line 10

Notice: Undefined index: key_column in /Applications/XAMPP/xamppfiles/htdocs/ims-blti/blti.php on line 70

Notice: Undefined variable: parms in /Applications/XAMPP/xamppfiles/htdocs/ims-blti/blti.php on line 80

Notice: Undefined variable: parms in /Applications/XAMPP/xamppfiles/htdocs/ims-blti/blti.php on line 81

Notice: Undefined index: HTTPS in /Applications/XAMPP/xamppfiles/htdocs/ims-blti/blti.php on line 251

Warning: Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/adlist/db.php:10) in /Applications/XAMPP/xamppfiles/htdocs/ims-blti/blti.php on line 254


Probably just a brain fart from my side, but I would love some input on this.
 02/13/2012 09:51 AM
User is offline View Users Profile Print this message

Author Icon
CharlesSeverance

Posts: 50
Joined: 01/23/2009

Try this updated ZIP file. it looks like you have an older version that does not enclose array lookup keys in quotes.

When and where did you download the code from?

/Chuck

dist.zip
dist.zip  (282 KB)

 02/14/2012 06:20 AM
User is offline View Users Profile Print this message

Author Icon
jorgeja

Posts: 3
Joined: 02/10/2012

Same version as I am running Don't know why I'm getting the notices.
I tried removing notices and error reporting in php.ini, but the code overrides it anyway,
so I removed it from the ads.php code
// error_reporting(E_ALL & ~E_NOTICE);
// ini_set("display_errors", 1);

but that only resulted in "Could not establish context: Could not find context in session"
Running XAMPP stack with PHP 5.3.1.

Oh well, guess I will have to research this some more, will try to use the code change from Olive and see if that works

regards
Jørgen / Norway
 02/14/2012 06:58 AM
User is offline View Users Profile Print this message

Author Icon
jorgeja

Posts: 3
Joined: 02/10/2012

Got it to work with Olives fix. Yay!
Statistics
2933 users are registered to the IMS GLC Public Forums and Resources forum.
There are currently 0 users logged in.

FuseTalk Standard Edition v3.2 - © 1999-2013 FuseTalk Inc. All rights reserved.

By participating in the forum, you agree to the abide by forum rules. You can view the IMS GLC Privacy Statement