Myspace Backgrounds - Loans - Cell Phone - Buy Anything On eBay - Cheap Flights

PDA

View Full Version : Installation Problem with Movable Type and MTIncludePlus


merrick
Dec 8th 2004, 5:14 pm
Hi,

my site is having problems displaying the ad_network.php file via MTIncludePlus - MT 2.6.6.1. I have setup the file fine on the rest of the site that is not powered by Movable Type and it works fine. I can include a text file via the MTIncludePlus tag and have the contents of that file show up on the blog, but the network ads just don't show up on the blog portion of the site powered by Movable Type - seems like it is not interpretting the php.

My code is as follows:

<MTIncludeURL timeout="10">http://www.mysite.com/ad_network.php</MTIncludeURL>

Anyone else had this problem, or have any ideas on how to solve it?

Thanks.

digitalpoint
Dec 8th 2004, 5:16 pm
The ad_network.php file is slightly different for a moveable type setup (basically so it echos the ad out on the request). Generate a 2nd ad_network.php file from the Moveable Type setup instructions and name it ad_network2.php and reference that one from the Moveable Type plug-in and you should be fine (both files can use the same ad_network_ads.txt file).

merrick
Dec 8th 2004, 5:50 pm
Thanks, I should have thought of that. I knew that was the case initially - hence the separate setups but forgot in the process.