Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Question [Gelöst] ObjectClarity Kunena Discussbot: Warning: file_exists()

More
17 years 2 months ago - 17 years 2 months ago #5798 by Tranceport
Nein habe ich nicht, das Problem hängt ja nicht mit dem Kunena Template zusammen, sondern disussbot.php versucht das \Mambot verzeichnis zu öffnen/bearbeiten, was aber anscheinend nicht erlaubt ist. Also vielleicht eher ein chmod Problem?

// Intruder Alerts
if (!(defined( '_JEXEC' ) || defined('_VALID_MOS') )) {
die( 'Direct Access to this location is not allowed.' );
} else {
$isJoomla10X = file_exists($mosConfig_absolute_path.'/mambots'); <--Zeile 23
if (!defined('KDB_JOOMLA_1_0_X')) {
define ('KDB_JOOMLA_1_0_X', $isJoomla10X);
}

Zeile 23 ist ja der Übeltäter, aber was wird bezweckt? Wird überprüft, ob Joomla in der Version 1.0.x installiert wurde (Problem mit aktivierten Legacy?)
Last edit: 17 years 2 months ago by Tranceport.

Please Log in or Create an account to join the conversation.

More
17 years 2 months ago #5809 by 4umfreak
I'm reading this via translate.google.com/

It's not a chmod issue, it's the fact that "$mosConfig_absolute_path" is not yet defined.
Code:
if (!(defined( '_JEXEC' ) || defined('_VALID_MOS') )) { die( 'Direct Access to this location is not allowed.' ); } else { // *********** Add this line ****** global $mosConfig_absolute_path; $isJoomla10X = file_exists($mosConfig_absolute_path.'/mambots'); <--Zeile 23 if (!defined('KDB_JOOMLA_1_0_X')) { define ('KDB_JOOMLA_1_0_X', $isJoomla10X); }

Please Log in or Create an account to join the conversation.

More
17 years 2 months ago - 17 years 2 months ago #5811 by Tranceport
Thank you for your post!
I try to fix it =)
Last edit: 17 years 2 months ago by Tranceport.

Please Log in or Create an account to join the conversation.

More
17 years 2 months ago #5812 by 4umfreak
Add the line just below the "*********** Add this line ******" marker.
That should do it.

-M

Please Log in or Create an account to join the conversation.

More
17 years 2 months ago #5813 by Tranceport
Yeah, good work ;-)
It works fine now, thanks a lot!

Please Log in or Create an account to join the conversation.

Time to create page: 0.437 seconds