View Issue Details

IDProjectCategoryView StatusLast Update
0006783phplist applicationInstallationpublic18-02-08 14:16
ReporterRothgar 
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
PlatformUnixOSFreeBSDOS Version5.3
Product Version2.10.2 
Target Version2.10.7Fixed in Version2.10.3 
Summary0006783: Errors about unknown variables
DescriptionHi Guys,

I get the following errors when trying to view help files:

Line 3 of admin/help/index.php
Notice: Undefined index: ConfigFile

Line 6 of admin/help/index.php
Notice: Undefined index: CONFIG

Now I do have errors verbose and I believe I have run into these problems in the past with some of my own files. I don't know if my method is correct but what I did was the following:

At the top of my file:
$ConfigFile = (isset($_SERVER['ConfigFile'])) ? $_SERVER['ConfigFile'] : "";

Then you could change your Line 3 and 6 to be similar to:
if (is_file($ConfigFile)) {

This should get rid of the errors anyway. Not sure if you want to use this method or not as I believe I saw bevan just change the $er variables or similar, however $er doesn't exist in the help "index.php"

Regards,
Jason
Additional InformationIn relation to similar issues 0006156
TagsNo tags attached.

Relationships

related to 0003721 closed phplist 2.10.x 
related to 0006156 resolvedmichiel Error with ut.php 

Activities

There are no notes attached to this issue.