I’ve been using pMachine for quite a while now for my own website and have also installed it on a sort of hobbyist site I’m involved with. The blog portion works perfectly fine on this other installation, but I have the main page of the site pulling and displaying the first couple of blogposts as highlights.
I have the include line in my index.php file. And about 405 or 50% of the time, it works just fine. But the other 50-60% of the time, I get the standard “you don’t have your settings right in pm_inc.php” message… Even more weird is that it worked perfectly fine for 6 months and just recently started doing this. I can find no pattern to it at all, and my debugging statements indicate the $pm_path variable is being set correctly every time.
Has anyone experienced something similar? Any idea how to fix it?
I’ve temporarily replaced the error message with a sort of loop of if statements that makes the pm_inc file re-execute itself up to 5 times in a row, and that has gotten the percentage of correct displays up much higher, but that’s a crappy solution, of course, and it’s not 100%.
Anyone have any ideas??? Thanks!
