Selecting these links results in:
Fatal error: Call to a member function on a non-object in E:\Program Files\phpMyFAQ\inc\functions.php on line 1823
Works normally under 1.5.3.
1.5.4 "Add Content" and "Ask Question" B
Moderator: Thorsten
Hi,
did you enabled LDAP-Support?
bye
Thorsten
did you enabled LDAP-Support?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Don't think so.
The Admin "Edit configuration" indicates that LDAP support is disabled (the default). Is this what you mean?
Hi,
this error occurs, when LDAP is enabled. Can you post the last 15 lines of the file inc/config.php here?
bye
Thorsten
this error occurs, when LDAP is enabled. Can you post the last 15 lines of the file inc/config.php here?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hmmmm.
Running update.php with this version was uneventful (claimed to complete normally). But config.php looks like update.php inserted some bogus things:
// Ban these IPs
$PMF_CONF["bannedIP"] = "";
// Should the template engine parse PHP code? (default: disabled)
$PMF_CONF["parse_php"] = "<br />
<b>Notice</b>: Undefined index: parse_php in <b>E:\Program Files\phpMyFAQ\install\update.php</b> on line <b>303</b><br />";
// Activate mod_rewrite support? (default: disabled)
$PMF_CONF["mod_rewrite"] = "<br />
<b>Notice</b>: Undefined index: mod_rewrite in <b>E:\Program Files\phpMyFAQ\install\update.php</b> on line <b>304</b><br />";
// Do you want to enable LDAP support? (default: disabled)
$PMF_CONF["ldap_support"] = "<br />
<b>Notice</b>: Undefined index: ldap_support in <b>E:\Program Files\phpMyFAQ\install\update.php</b> on line <b>305</b><br />";
?>
// Ban these IPs
$PMF_CONF["bannedIP"] = "";
// Should the template engine parse PHP code? (default: disabled)
$PMF_CONF["parse_php"] = "<br />
<b>Notice</b>: Undefined index: parse_php in <b>E:\Program Files\phpMyFAQ\install\update.php</b> on line <b>303</b><br />";
// Activate mod_rewrite support? (default: disabled)
$PMF_CONF["mod_rewrite"] = "<br />
<b>Notice</b>: Undefined index: mod_rewrite in <b>E:\Program Files\phpMyFAQ\install\update.php</b> on line <b>304</b><br />";
// Do you want to enable LDAP support? (default: disabled)
$PMF_CONF["ldap_support"] = "<br />
<b>Notice</b>: Undefined index: ldap_support in <b>E:\Program Files\phpMyFAQ\install\update.php</b> on line <b>305</b><br />";
?>
Re: Hmmmm.
Hi,
that's no good:
bye
Thorsten
that's no good:
Please try to save the the config one more time in the admin section and try it again. If that didn't worked, please remove the errors by hand from the config.php file.fish wrote:// Should the template engine parse PHP code? (default: disabled)
$PMF_CONF["parse_php"] = "<br />
<b>Notice</b>: Undefined index: parse_php in <b>E:\Program Files\phpMyFAQ\install\update.php</b> on line <b>303</b><br />";
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Fixed this Manually
Edited config.php manually to read
.
.
.
.
// Should the template engine parse PHP code? (default: disabled)
$PMF_CONF["parse_php"] = "";
// Activate mod_rewrite support? (default: disabled)
$PMF_CONF["mod_rewrite"] = "";
// Do you want to enable LDAP support? (default: disabled)
$PMF_CONF["ldap_support"] = "";
?>
and it seems to work okay. Apparently update.php clobbered it; resetting from Admin section either sets it to TRUE or eliminates these lines altogether.
.
.
.
.
// Should the template engine parse PHP code? (default: disabled)
$PMF_CONF["parse_php"] = "";
// Activate mod_rewrite support? (default: disabled)
$PMF_CONF["mod_rewrite"] = "";
// Do you want to enable LDAP support? (default: disabled)
$PMF_CONF["ldap_support"] = "";
?>
and it seems to work okay. Apparently update.php clobbered it; resetting from Admin section either sets it to TRUE or eliminates these lines altogether.
Hi,
I'll fix the update script.
bye
Thorsten
I'll fix the update script.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist