MyBB Community Forums

Full Version: Empty Forums List After Upgrade
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I've just upgraded from 1.1.6 to 1.2.1 and my index.php (renamed to forums.php) shows no forums, only categories.

http://www.mpscripts.net/forums.php

http://www.mpscripts.net/forumdisplay.php?fid=1 <-- works fine, shows sub-forums
http://www.mpscripts.net/forumdisplay.php?fid=2 <-- works fine, shows the threads.

I haven't changed anything in forums.php I don't think, so does anyone have any ideas?
Couple of things, first, when I attempted to register at your site, the image verification didn't work. When I view the image and got a IN_MYBB not defined. That tells me some of the files are old. Have you completely deleted(or overwritten) your files(excluding inc/config.php and inc/settings.php) and uploaded all of the 1.2.1 files?
I did have some errors when uploading the files via ftp, but I thought I'd gone back and sorted them, I'll check the files again.

EDIT: The captha issue is fixed now, its because I imported my old theme and it referenced the old image.php instead of the new cactcha.php.

But I still have no forums showing so any ideas about that?

http://www.mpscripts.net/forumdisplay.php?fid=2 <-- Thread titles show, but not last post info

http://www.mpscripts.net/showthread.php?tid=95 <-- threads give invalid forum errors

EDIT: After further investigation, the error is caused by the get_forums function in functions.php.

The line '$forum_cache = $cache->read("forums");' returns nothing. But when i view the cache in the admin cp, its ok, so thats weird
Try Rebuilding your cache's
Tikitiki Wrote:Try Rebuilding your cache's
The line '$forum_cache = $cache->read("forums");' returns nothing. But when i view the cache in the admin cp, its ok, so thats weird

The cache looked fine, but i've just rebuilt it anyway and still the same prob Sad
Are you using database based or file based cache?
Christian Wrote:Are you using database based or file based cache?
Files
Make sure your cache directory is CHMOD 777. Can you take a look in your cache directory and see if any of the caches exists, and the content exists?
DennisTT Wrote:Make sure your cache directory is CHMOD 777. Can you take a look in your cache directory and see if any of the caches exists, and the content exists?

cache directory is already 777 and the cache files exist and contain the correct data.
Have you tried changing the data caching method to database to see if the problem is fixed? (Try rebuilding the cache after you switch the caching method)
Pages: 1 2