Loading...
 
Features / Usability

Features / Usability


Forum Last Posts

posts: 73

Hi. I recently updated my 1.7 site to 1.8 and am fairly happy with the results. However, I am having problems with the forum_last_posts module. When I try to assign this module, I get a long stream of errors like this:

Notice: Undefined offset: 10 in /home/mattbart/public_html/tikiwiki/modules/mod-forums_last_posts.php on line 16

Notice: Undefined offset: 11 in /home/mattbart/public_html/tikiwiki/modules/mod-forums_last_posts.php on line 16

Notice: Undefined offset: 12 in /home/mattbart/public_html/tikiwiki/modules/mod-forums_last_posts.php on line 16


Can anyone help me? I really could benefit from using this module.

posts: 2881 United Kingdom

Hi,

try running the tiki_1.7to1.8.sql file again. Some people did report the need to run it a second time.

Damian


posts: 73

Thanks for trying to help, Damian. I ran the script again...Got a swarm of errors like this:

ERROR 1062 at line 871: Duplicate entry 'search_lru_purge_rate' for key 1
ERROR 1062 at line 872: Duplicate entry 'search_lru_length' for key 1
ERROR 1062 at line 873: Duplicate entry 'search_syll_age' for key 1
ERROR 1060 at line 876: Duplicate column name 'anonymous'
ERROR 1060 at line 879: Duplicate column name 'attachments'

The module still doesn't work. :-(


posts: 73
Can anyone help? cry

posts: 1001 Canada

Please contribute to 923810 mod-forums_last_posts: Generates fatal PHP errors
Most helpful debugging seems to be echoing line 10.


posts: 73

Hm...I'm having this problem again after upgrading to 1.8.3.

I completely purged my comments database, and still it hangs up everytime and gives me the stream of errors. Help?


posts: 41 Spain

I installed a 1.8.4 fresh, not updating anything, and got the same problem. Even worse is that I now don't know how to stop it, nobody can now see the wiki, all they get is the stream of errors.


Notice: Undefined offset: 10 in /home/infofrea/htdocs/wiki/modules/mod-forums_last_posts.php on line 16

Notice: Undefined offset: 11 in /home/infofrea/htdocs/wiki/modules/mod-forums_last_posts.php on line 16

Notice: Undefined offset: 12 in /home/infofrea/htdocs/wiki/modules/mod-forums_last_posts.php on line 16

Notice: Undefined offset: 13 in /home/infofrea/htdocs/wiki/modules/mod-forums_last_posts.php on line 16

Notice: Undefined offset: 14 in /home/infofrea/htdocs/wiki/modules/mod-forums_last_posts.php on line 16

Notice: Undefined offset: 15 in /home/infofrea/htdocs/wiki/modules/mod-forums_last_posts.php on line 16

etc etc

I can't go into the modules admin screen to get rid of it, as all I get to see is this stream of errors. Well, at least I've learned one thing: always preview first before saving...

Can I use php admin to switch "forums last posts" off? If so, does somebody know how?

Thanks,

(desperate) lex.

posts: 41 Spain
Okay, it wasn't so hard to find at all using mysql-admin so it's solved. Well, I still can't use the forum last posts, but at least my site is back.