1
Hi All
I've recently upgraded my server hardware and operating system, and have come across some weird problems which I first thought was the result of being hacked (discussed
here). I soon realised that this wasn't the case, and narrowed the problem down to a problem the smarty caching system had with my theme (discussed
here). I have since been able to determine that the problem was due to my theme being corrupt, and it must've become corrupt some time ago as I had to go back to a backup from 2 months ago to get a working version. The reason that this corruption never showed up earlier was due to my extensive use f the XOOPS caching system.
Anyway, that problem now seems to be sorted. However, I now have another one. It seems that I have a lot of double listings of items. In particlar double listings of recently online users in the online history block, double listings in the downloads and weblinks modules. Another thing I noticed is that these double listings only occur for items/users that were present prior to my upgrade. Any user/item added since the upgrade appear as normal.
I've tried going though the database line by line, and there are no double listings there, so I assumed it to be some sort of problem with the XOOPS caching system. I disabled all caching on modules and blocks, deleted everything in the template_c directory and tried refreshing the site but the double listings are still there. I turned the PHP Debug feature on, and just on loading the front page I'm given 4 warning messages saying the following;
Warning [PHP]: unlink(D:/path/to/xoops/cache\db%3Asystem_block_online.html): Permission denied in file D:\path\to\xoops\class\smarty\Smarty.class.php line 2059I've tripple checked the permissions on the entire site directory and its contents and the IUSR_MACHINENAME user account used by IIS has read & write permissions to it all. The only difference I can see in the error abouve is that the first path has / to seperate the path, whereas the second path uses \. I'm close to wits end on this one, so if anyone could think of anything that I perhaps haven't tried I'd really appreciate it. Thanks.