Seite 1 von 1

Problem mit Mod ( Privatmessegas über ACP lesen)

Verfasst: 04.03.2005 21:08
von shizo
also, bei mir funktioniert der mod ganz gut, aber wenn ich auf archiv klick oder archivieren will, kommt das:

Code: Alles auswählen

Allgemeiner Fehler
Fehler beim Zugriff auf PN-Archiv Tabelle.

DEBUG MODE

SQL Error : 1146 Table 'unregistriert.phpbb_privmsgs_archive' doesn't exist

Line : 598
File : /usr/export/www/vhosts/funnetwork/hosting/unregistriert/admin/admin_priv_msgs.php
ich muss ja irgendeine datei dür DB update ausführen, aber welche?

mfg
alex

Verfasst: 04.03.2005 21:11
von Leuchte
KB:sql_error

Verfasst: 04.03.2005 21:15
von shizo
ok, danke, aber:
Lösung: Tabelle laut Anleitung erstellen
ist die lösung das hier?
phpBB arbeitet mit Konstanten, die in der Datei includes/constants.php festgelegt werden. Sie sind nach folgendem Muster aufgebaut:
Zitat:
define('CONFIG_TABLE', $table_prefix.'config');

* - die PHP-Funktion define() - http://de.php.net/define
* - die Konstante
* - der Wert

Nach diesem Prinzip kann statt dem Tabellennamen (in unserem Fall) die Konstante CONFIG_TABLE als Platzhalter verwendet werden.
(Neben Tabellen wird auch die Authorisierung mit Konstanten definiert (USER => 0, ADMIN => 1, MOD => 2)).

das kapier ich nämlich nicht ...

sry, aber könntest du mir das erklären bitte?

Verfasst: 04.03.2005 21:17
von Leuchte
Nein, das ist die Lösung :D
Lösung: Tabelle laut Anleitung erstellen
Bei dem Mod gab es entweder einen SQL-Abschnitt in der Install.Anleitung (siehe KB:18, KB:pma_faq) oder eine Update-Datei die du ausführen musst, damit die Tabelle(n) angelegt werden.
Näheres steht aber in der Anleitung

Verfasst: 04.03.2005 22:11
von shizo
schau mal, das is der mod:

Code: Alles auswählen

############################################### 
##   Hack Title:   Admin Private Message Manager 
##   Hack Version:   1.5.1
##   Author:      Nivisec (support@nivisec.com)
##   Description:   An Admin panel plug-in that allows
##                  the management of Private Messages
##                  on the board.  You may sort by
##                  a variety of options, delete any
##                  PMs you choose, or optionally archive
##                  them for later use.
##
##   Compatibility:   2.0.4 - 2.0.6, php4
## 
##   Installation Level: Easy
##   Installation Time: 3 minutes
## 
##   Author Notes:
##     Once installed, you will have two new admin panel
##     options under the "User Admin" area.
##
##     You should add a clause to your user registration area
##     saying you are using this hack, as well as alert current
##     users you have installed it.  Otherwise, this may be
##     illegal according to the current ToS the user signed up
##     for and your country of hosting.
##
##     YOU MAY THINK YOU ARE SEEING MULTIPLE MESSAGES WHEN ALL
##     FILTER IS BEING USED.  This is not the case, phpBB creates
##     two messages for each PM once it has been read.  One for the
##     reader and one for the sender.
## 
##   Support:      http://www.phpbbhacks.com/forums 
##   Copyright:      ©2002-2003 Admin Private Message Manager 1.3x - Billy Sauls
## 
############################################### 
##   You downloaded this hack from phpBBHacks.com, the #1 source for phpBB related downloads. 
##   Please visit http://www.phpbbhacks.com/forums for support. 
############################################### 
## 
############################################### 
##   This hack is released under the GPL License. 
##   This hack can be freely used, but not distributed, without permission. 
##   Intellectual Property is retained by the hack author(s) listed above. 
############################################### 
##   In the /goodies directory you can find:
##     * version checker information
##     * disabling the archive feature
##     * disabling the show IPs feature
##     * how to update from previous versions
###############################################
#-----[ UPLOAD ]------------------------------------------ 
#   If you are having trouble understanding this section, read
#   the goodies/understanding_upload.txt file.
#
nivisec_install.php to /
nivisec_schema/*.* to nivisec_schema/
admin/*.* to admin/
templates/subSilver/admin/*.* to templates/subSilver/admin/
language/lang_english/*.* to language/lang_english/

# 
#-----[ RUN ]------------------------------------------ 
#   If you do not want the archive feature enabled, read
#   the goodies/disabling_archive.txt file first!
#
install/nivisec_install.php

#End 
und das hier:

Code: Alles auswählen

#-----[ RUN ]------------------------------------------ 
#   If you do not want the archive feature enabled, read
#   the goodies/disabling_archive.txt file first!
#
install/nivisec_install.php
hab ich schon gemacht und dann gelöscht, dann brauch ichs ja nimmer -.-

und ich hab ka welche datei ich ausführen muss ... :'(

Verfasst: 04.03.2005 22:12
von Leuchte
Die Datei hast du ausgeführt? Dann sollte obige Meldung eigentlich nicht kommen.
Welche Meldung wurde denn beim Aufruf der Datei ausgegeben, bzw. was wird ausgegeben, wenn du die Datei noch einmal ausführst?

Verfasst: 04.03.2005 22:14
von shizo
das warn ja die nivisec dateien und dann hies es ich kann die löschen ...

also: erst ging gar nix, dann hab ich das mit nivisec ausgeführt, dann ging alles bis auf das archiv.

Verfasst: 05.03.2005 03:01
von Kubi84
Hi,

ich habe den Mod eben installiert. Allerdings kam ich mit der Anleitung auch nicht klar. Ich habe es dann so gemacht:

es muss bei dir im Zip-File von deinem Mod die Datei "nivisec_schema\nivesec_install.sql" geben. Die führst du einfach im PHPMyAdmin aus.

Kubi

Verfasst: 05.03.2005 11:18
von shizo
juhu, es geht! danke danke ! ^^

Verfasst: 05.03.2005 13:49
von Leuchte
#-----[ UPLOAD ]------------------------------------------
nivisec_install.php to /
nivisec_schema/*.* to nivisec_schema/
Wenn man sich an die Anleitung hält, geht es auch so..