Cash MOD .. problem O.o ..

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Stormfire_2
Mitglied
Beiträge: 35
Registriert: 30.06.2006 11:18

Cash MOD .. problem O.o ..

Beitrag von Stormfire_2 »

hab den Cashmod mit easymod eingebaut.. tja ... jetzt hab ich diese SCHÖNE (zwinker) Meldung bei jedem der Themen drübersthen noch über dem header halt...


Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(.) is not within the allowed path(s): (/srv/www/httpd/phost/s/com/pytalhost/scorpgfx/web/:/srv/www/httpd/phost/s/com/pytalhost/scorpgfx/tmp/:/srv/www/httpd/phost/s/com/pytalhost/scorpgfx/ses/) in /srv/www/httpd/phost/s/com/pytalhost/scorpgfx/web/includes/template.php on line 77

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/httpd/phost/s/com/pytalhost/scorpgfx/web/includes/template.php:77) in /srv/www/httpd/phost/s/com/pytalhost/scorpgfx/web/includes/page_header.php on line 479

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/httpd/phost/s/com/pytalhost/scorpgfx/web/includes/template.php:77) in /srv/www/httpd/phost/s/com/pytalhost/scorpgfx/web/includes/page_header.php on line 485

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/httpd/phost/s/com/pytalhost/scorpgfx/web/includes/template.php:77) in /srv/www/httpd/phost/s/com/pytalhost/scorpgfx/web/includes/page_header.php on line 486



WAT IS LOS?

kann mir wer helfen per ICQ am besten meine: 301-740-690
Stormfire_2
Mitglied
Beiträge: 35
Registriert: 30.06.2006 11:18

Beitrag von Stormfire_2 »

//fortschritt: habe die vom page_header wegbekommen .. aber des template.php teil geht einfach ned weg.. :(
SoLo1905

Beitrag von SoLo1905 »

1. phpBB-Knigge durchlesen \Topic Bumping ab 24 stunden und ansonsten die edit funktion benutzen

Code: Alles auswählen

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(.) is not within the allowed path(s): (/srv/www/httpd/phost/s/com/pytalhost/scorpgfx/web/:/srv/www/httpd/phost/s/com/pytalhost/scorpgfx/tmp/:/srv/www/httpd/phost/s/com/pytalhost/scorpgfx/ses/) in /srv/www/httpd/phost/s/com/pytalhost/scorpgfx/web/includes/template.php on line 77 

kontrolliere in der datei mal ob du alles richtig gemacht hast...
Stormfire_2
Mitglied
Beiträge: 35
Registriert: 30.06.2006 11:18

Beitrag von Stormfire_2 »

schon gelöst...^^
macros
Mitglied
Beiträge: 8
Registriert: 25.07.2006 14:38

Beitrag von macros »

Ich habe das gleiche Problem,
und freue mich gerade über die Antwort des Topicauthors "Schon gelöst"
(sollte mal in die Knigge)

Auf eine PM hat er bisher nicht geantwortet.
macros
Mitglied
Beiträge: 8
Registriert: 25.07.2006 14:38

Beitrag von macros »

Ich habe mal die Sachen rausgeschrieben:

Template.php Zeile 77:

Code: Alles auswählen

	/**
	 * Sets the template root directory for this Template object.
	 */
	function set_rootdir($dir)
	{
		if (!is_dir($dir))                           // das ist 77
		{
			return false;
		}

		$this->root = $dir;
		return true;
	}
Hinweis: vielleicht liegt es daran, das wenn ich per Ftp auf den Webspace zugreife ich die Dateien in einen Ordner namen html verschieben muss, damit sie unter der Domain erreichbar sind.
Also html/index.php = www.10a.rshost.de/index.php

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web254/html/includes/template.php:77) in /home/www/web254/html/viewtopic.php on line 565

Code: Alles auswählen

if ( $userdata['session_logged_in'] )
{
	$tracking_topics = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_t']) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_t']) : array();
	$tracking_forums = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f']) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f']) : array();

	if ( !empty($tracking_topics[$topic_id]) && !empty($tracking_forums[$forum_id]) )
	{
		$topic_last_read = ( $tracking_topics[$topic_id] > $tracking_forums[$forum_id] ) ? $tracking_topics[$topic_id] : $tracking_forums[$forum_id];
	}
	else if ( !empty($tracking_topics[$topic_id]) || !empty($tracking_forums[$forum_id]) )
	{
		$topic_last_read = ( !empty($tracking_topics[$topic_id]) ) ? $tracking_topics[$topic_id] : $tracking_forums[$forum_id];
	}
	else
	{
		$topic_last_read = $userdata['user_lastvisit'];
	}

	if ( count($tracking_topics) >= 150 && empty($tracking_topics[$topic_id]) )
	{
		asort($tracking_topics);
		unset($tracking_topics[key($tracking_topics)]);
	}

	$tracking_topics[$topic_id] = time();

	setcookie($board_config['cookie_name'] . '_t', serialize($tracking_topics), 0, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);  
// das ist 565 ^
}
Warning: Cannot modify header information - headers already sent by (output started at /home/www/web254/html/includes/template.php:77) in /home/www/web254/html/includes/page_header.php on line 481
Warning: Cannot modify header information - headers already sent by (output started at /home/www/web254/html/includes/template.php:77) in /home/www/web254/html/includes/page_header.php on line 487

Code: Alles auswählen

if (!empty($HTTP_SERVER_VARS['SERVER_SOFTWARE']) && strstr($HTTP_SERVER_VARS['SERVER_SOFTWARE'], 'Apache/2'))
{
	header ('Cache-Control: no-cache, pre-check=0, post-check=0'); 
//481 ^
}
else
{
	header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
}
header ('Expires: 0'); //487
header ('Pragma: no-cache');

$template->pparse('overall_header');
Ich hoffe, jetzt kann mir jemand weiterhelfen.
Antworten

Zurück zu „phpBB 2.0: Mod Support“