Auto Lock MOD, Version: 1.0.0

Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
maico
Berichten: 562
Lid geworden op: 04 jan 2004, 18:26

Auto Lock MOD, Version: 1.0.0

Bericht door maico » 15 feb 2006, 10:05

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

Gebruikersavatar
XGE_Lithium
Berichten: 1278
Lid geworden op: 26 okt 2005, 19:28
Locatie: Heythuysen
Contacteer:

Bericht door XGE_Lithium » 15 feb 2006, 16:16

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?

maico
Berichten: 562
Lid geworden op: 04 jan 2004, 18:26

Bericht door maico » 15 feb 2006, 16:56

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.

Gesloten