Pagina 1 van 1

Auto Lock MOD, Version: 1.0.0

Geplaatst: 15 feb 2006, 10:05
door maico
Hoi,
Na het instaleren van deze mod (2 x opnieuw gedaan) blijf ik met de zelfde fout zitten.
Could not obtain list of topics to lock

DEBUG MODE

SQL Error : 1109 Unknown table 'p' in where clause

SELECT t.topic_id FROM maico_posts p, maico_topics t WHERE t.forum_id = 22 AND t.topic_vote = 0 AND t.topic_type <> 2 AND t.topic_moved_id = 0 AND p.post_id = t.topic_last_post_id UNION SELECT t.topic_id FROM maico_topics t WHERE t.forum_id = 22 AND t.topic_vote = 0 AND t.topic_type <> 2 AND t.topic_moved_id = 0 AND t.topic_last_post_id = 0 AND p.post_time < 1139907441

Line : 61
File : auto_lock.php
Ben aan het zoeken gewees maar het enige wat ik erover kon vinden is:
http://www.phpbbhacks.com/forums/archiv ... crazy.html

Geplaatst: 15 feb 2006, 16:16
door XGE_Lithium
SQL uitgevoerd?;

Code: Selecteer alles

#
#-----[ SQL ]------------------------------------------
#
# Remember to change the prefix if you use something
# different than phpbb_
# 
CREATE TABLE phpbb_forum_auto_lock (
  auto_lock_id mediumint(8) unsigned NOT NULL auto_increment,
  forum_id smallint(5) unsigned NOT NULL default '0',
  auto_lock_days smallint(5) unsigned NOT NULL default '0',
  auto_lock_freq smallint(5) unsigned NOT NULL default '0',
  PRIMARY KEY  (auto_lock_id),
  KEY forum_id (forum_id)
) TYPE=MyISAM;

ALTER TABLE phpbb_forums 
ADD auto_lock_enable TINYINT( 1 ) NOT NULL DEFAULT '0',
ADD auto_lock_next INT( 11 );

INSERT INTO phpbb_config ( config_name , config_value ) VALUES ('auto_lock_enable', '0');
En ook

Code: Selecteer alles

## Included Files: 
##                includes/auto_lock.php
Niet vergeten te uploaden?

Geplaatst: 15 feb 2006, 16:56
door maico
Yep DB is bijgewerkt.
En ook alles geupload.

Inmiddels ben ik al weer wat verder
Als ik de "oude" auto_lock.php upload (overgins ook mod versie 1)
Heb ik de foutmelding niet meer maar hij sluit niet de onderwerpen.

Vreemde is dat 1 mod alles 2 versie:
MOD Version: 1.0.0
Verschillende auto_lock.php`s bij zitten.