Kunena 6.2.5 & module Kunena Latest 6.0.7 released

The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

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

More
15 years 1 month ago - 15 years 1 month ago #1 by Tranceport
Schönen guten (Mit)Tag ;-)
ersteinmal das übliche Geschleime ;D : Super Forensoftware + dazugehörige Community!
Jetzt zu meinem Problem, und zwar wird mir nach Installation und Einrichtung des D-Bots (habe es nach der Anleitung im Forum hier installiert) folgende Meldung ausgegeben:
Code:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/mambots) is not within the allowed path(s): (/var/www/vhosts/pichlerseite.de/httpdocs:/tmp) in /var/www/vhosts/pichlerseite.de/httpdocs/plugins/content/kdiscussbot.php on line 23

Hier die Discussbot config:



Bin leider nicht extrem bewandert in PHP und Google gibt mir mit der Suche nur Seiten aus, auf denen das gleiche Problem auftaucht :(
Bin für jede Hilfe dankbar!
Viele Grüße,
Chris
Attachments:
Last edit: 15 years 1 month ago by Lintzy. Reason: [Gelöst]

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

More
15 years 1 month ago - 15 years 1 month ago #2 by Lintzy
Last edit: 15 years 1 month ago by Lintzy.

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

More
15 years 1 month ago - 15 years 1 month ago #3 by Tranceport
dankeschön für die schnelle Antwort. Allerdings haben beide Links ja nichts mit dem DiscussBot zu tun, weswegen die Lösungsvorschläge leider keine Besserung bringen.
Was ich vergessen habe zu erwähnen: Die Fehlermeldung wird auf der Joomla (1.5.9) Startseite angezeigt, bei Deaktivierung des Bots verschwindet diese. Das Forum an sich ist nicht betroffen und verrichtet weiterhin seinen Dienst.
Gruß & Danke
Chris
Last edit: 15 years 1 month ago by Tranceport.

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

More
15 years 1 month ago - 15 years 1 month ago #4 by Lintzy
Wenn es ein Problem von Discussbot ist: Hier im Forum Unter User Constributions hat Mark (der Entwickler) einen Supportthread.

Ausprobiert hast du das code-snippet unter meinen Link nicht, oder?

Edit components/com_kunena/class.kunena.php line 32 to:

Code:
define('KUNENA_JTEMPLATEPATH', KUNENA_JABSPATH. "/templates/" . $mainframe->getTemplate());


www.kunena.com/forum?func=view&catid=50&id=5407#5443

Ist nämlich schon seltsam, dass es eine gleiche Fehlermeldung ist.
Last edit: 15 years 1 month ago by Lintzy.

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

More
15 years 1 month ago #5 by Tranceport
Doch, habe ich ausprobiert, nur leider gab es dadurch keine Änderung :-(
Dann versuch ich es einmal unter diesem Forum, danke für die schnelle Hilfe =)
Viele Grüße,
Chris

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

More
15 years 1 month ago #6 by Lintzy
Hast du das code-snippet eingefügt? Ich hatte meinen Post editiert, weiß nicht,ob du das noch gelesen hast.

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

More
15 years 1 month ago - 15 years 1 month ago #7 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: 15 years 1 month ago by Tranceport.

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

More
15 years 1 month ago #8 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
15 years 1 month ago - 15 years 1 month ago #9 by Tranceport
Thank you for your post!
I try to fix it =)
Last edit: 15 years 1 month ago by Tranceport.

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

More
15 years 1 month ago #10 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.

Time to create page: 0.747 seconds