undefined variables, errors

landon

New Member
I'm having issues getting the full MLM up and running.

I have apache logging turned up to DEBUG and found the lm_debug variable and set it true.

I have MLM installed and can login through the MLM login link. As soon as I click anything it doesn't work as follows:

Some of the symptoms I'm seeing - blank pages despite observing HTTP response codes of 200 in the access log, undefined variables on the pages, etc.

I also went through all the lm_settings.php variables and set them up correctly, I believe and will be using MySQL. My MySQL credentials match what I use on the command line for the mysql -u user -p

The dbhost I'm using is localhost.

My server is Apache2 (2.6.35), php is 5.3.3, and server is Ubuntu 9.10.

I put a phpinfo.php file in the lm directory to insure I can execute a PHP file from the same directory where the lm scripts are. It's fine.

Examples of undefined variables:

Notice: Undefined variable: list in /blahblah/lm/lm.php on line 1104

I've changed the directory name in the line above for obfuscation reasons.

Another undefined variable error:
Notice: Undefined variable: result in /vhosts/www.landoncox.com/lm/lm_functions.php on line 15

It seems like there is a major configuration problem or mismatch in the requirements. Are these symptoms of having php5 vs php4?

Where would be a good place to look next? I think I've done all the obvious things already (mysql credentials matching working CLI credentials, directory permissions work as I'm getting 200 responses and can login to MLM, plus those don't have any direct bearing on undefined variables in PHP.)
 

stanbusk

Administrator
Staff member
The undefined variable notifications are not errors, just notifications. About getting a blank page I think there is an entry about that topic here.
 
Top