Habe mir den Smartor Photo Album Mod eingebaut.
db update ohne probleme durchgeführt.
alles schien perfekt, doch plötzlich kann ich nichts mehr schreiben im Forum, es kommt seltsamerweise folgender Error:
Das stimmt aber nicht, die ads_Tabelle gibt es!!Could not query ad information
DEBUG MODE
SQL Error : 1146 Table 'kissfanshop.ADS_TABLE' doesn't exist
SELECT a.ad_code FROM ADS_TABLE a WHERE a.ad_id=1
Line : 1637
File : /usr/export/www/vhosts/funnetwork/hosting/kissfanshop/phpbb2/viewtopic.php
[ externes Bild ]
Zeile 1637 in viewtopic:
Ich habe das Photo Album auf 3 Boards installiert. Bei 2 kam dieser Fehler, bei einem dritten ungemoddeten Board, wo ich exakt die gleiche Installation durchgeführt hatte, gibt es keinen Error.// Again this will be handled by the templating
// code at some point
//
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
if ( $i == 0)
{
$sql = "SELECT a.ad_code
FROM " . ADS_TABLE . " a
WHERE a.ad_id=1";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not query ad information', '', __LINE__, __FILE__, $sql);
Kann mir das bitte wer erklären?

edit: der ads_table kommt von einem anderen Mod (bannere ad after first post):
aber der stimmt ja, was hat der mit dem Photo Album zu tun???CREATE TABLE `phpbb_ads` (
`ad_type` VARCHAR( 10 ) NOT NULL ,
`ad_id` TINYINT( 5 ) NOT NULL ,
`ad_code` TEXT NOT NULL ,
`ad_name` TINYINT( 25 ) NOT NULL,
UNIQUE (
`ad_id`
)
);
INSERT INTO `phpbb_ads` ( `ad_type` , `ad_id` , `ad_code`, `ad_name` )
VALUES (
'first_post', '1', 'Your banner code goes here', 'Defualt'
);
[ externes Bild ]