Seite 1 von 1

[Pruning_add_Move_Close] prunemove_install_sql.php

Verfasst: 15.08.2004 01:09
von Andy120
Wen ich diese Datei aufrufe kommt folgende Warnung :(

Code: Alles auswählen

Warning: main(): Unable to access ./../../../extension.inc in /var/www/web102/html/index/phpbb2.0.6/prunemove_install_sql.php on line 34

Warning: main(./../../../extension.inc): failed to open stream: No such file or directory in /var/www/web102/html/index/phpbb2.0.6/prunemove_install_sql.php on line 34

Warning: main(): Failed opening './../../../extension.inc' for inclusion (include_path='.:/usr/local/php4/share/pear') in /var/www/web102/html/index/phpbb2.0.6/prunemove_install_sql.php on line 34

Warning: main(): Unable to access ./../../../config. in /var/www/web102/html/index/phpbb2.0.6/prunemove_install_sql.php on line 35

Warning: main(./../../../config.): failed to open stream: No such file or directory in /var/www/web102/html/index/phpbb2.0.6/prunemove_install_sql.php on line 35

Warning: main(): Failed opening './../../../config.' for inclusion (include_path='.:/usr/local/php4/share/pear') in /var/www/web102/html/index/phpbb2.0.6/prunemove_install_sql.php on line 35

Warning: main(): Unable to access ./../../../includes/constants. in /var/www/web102/html/index/phpbb2.0.6/prunemove_install_sql.php on line 36

Warning: main(./../../../includes/constants.): failed to open stream: No such file or directory in /var/www/web102/html/index/phpbb2.0.6/prunemove_install_sql.php on line 36

Warning: main(): Failed opening './../../../includes/constants.' for inclusion (include_path='.:/usr/local/php4/share/pear') in /var/www/web102/html/index/phpbb2.0.6/prunemove_install_sql.php on line 36

Warning: main(): Unable to access ./../../../includes/db. in /var/www/web102/html/index/phpbb2.0.6/prunemove_install_sql.php on line 37

Warning: main(./../../../includes/db.): failed to open stream: No such file or directory in /var/www/web102/html/index/phpbb2.0.6/prunemove_install_sql.php on line 37

Warning: main(): Failed opening './../../../includes/db.' for inclusion (include_path='.:/usr/local/php4/share/pear') in /var/www/web102/html/index/phpbb2.0.6/prunemove_install_sql.php on line 37

Fatal error: Call to a member function on a non-object in /var/www/web102/html/index/phpbb2.0.6/prunemove_install_sql.php on line 42
Was läuft da nicht richtig?

Verfasst: 15.08.2004 01:12
von PhilippK
Liegt die Datei im richtigen Verzeichnis? (sollte drei Ebenen unterm Forums-Stamm sein)

Gruß, Philipp

Verfasst: 15.08.2004 01:49
von Andy120
Es heisst ja nur:
##############################################################
## MOD Title: Pruning_add_Move_Close
## MOD Author: QCO < simon@httpsmog.de > (Simon Englisch) http://www.httpsmog.de
## MOD Description: Addes a feature to the pruning which allows to automaticly close or move and close topics
## MOD Version: 1.0.1
##
## Installation Level: Intermediate
## Installation Time: 9 minutes.
## Files To Edit: includes/constants.php
## includes/prune.php
## admin/admin_forums.php
## language/lang_english/lang_admin.php
## language/lang_german/lang_admin.php
## templates/subSilver/admin/forum_edit_body.tpl
## Included Files: prunemove_install_sql.php
## Generator: MOD Studio.net [Beta 3c 1.2.1306.29431]
mehr nicht :-? Ich kapier das jetzt voll nicht :(

Verfasst: 15.08.2004 01:56
von Leuchte
Änder in der Datei $phpbb_root_path

Code: Alles auswählen

define('IN_PHPBB', 1);
$phpbb_root_path = './../../../';

?>
Oder die Query per phpMyAdmin ausführen

Code: Alles auswählen

ALTER TABLE phpbb_forum_prune ADD prune_type TINYINT(2) UNSIGNED DEFAULT '0' NOT NULL;
ALTER TABLE phpbb_forum_prune ADD move_to SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL;

Verfasst: 15.08.2004 02:30
von Andy120
geht irgentwie auch nicht :(

Verfasst: 15.08.2004 02:55
von Leuchte
Wie heisst es so schön: "'Geht nicht' ist keine Fehlermeldung!"