Part of the EllisLab Network
pMachine Pro has been replaced by ExpressionEngine, our full featured web publishing solution. Please consider upgrading.
You can download pMachine Pro here: Download pMachine Pro  |  Download Language Packs
   
 
Intermittant pm_inc problem
Posted: 03 December 2006 02:39 PM   [ Ignore ]  
Summer Student
Total Posts:  2
Joined  2006-12-03

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!

Profile
 
 
Posted: 03 December 2006 02:48 PM   [ Ignore ]   [ # 1 ]  
Summer Student
Total Posts:  2
Joined  2006-12-03

My apologies—I had thought I was in the tech forum when I posted this…

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 233, on December 18, 2007 12:04 AM
Total Registered Members: 60646 Total Logged-in Users: 0
Total Topics: 73034 Total Anonymous Users: 0
Total Replies: 393777 Total Guests: 59
Total Posts: 466811    
Members ( View Memberlist )
Active Members: