![]() |
Included PHP changes time on posts
Hi all:
I have a small puzzling issue with what should be a simple PHP inclusion. I have included a php file (a simple snippet to call an OpenX an ad) a per documentation http://www.vbulletin.com/docs/html/t..._externalfiles The post times are now 4 hours late (i.e., if you just finished publishing a post, its time is 4 hours later than the time indicated at the bottom of the page for the local time). Disabling the plugin cures the problem. I have pasted the plugin and the php below: Code:
ob_start(); Where the php file is just an OpenX ad call: PHP Code:
|
Go through your added code (like you are adding alocal.php) and see if TIMENOW gets redefined or if any time variable is used at all. It could be a conflict in variable names.
|
Apparently it's a known bug in OpenX, as I learned.
|
All times are GMT. The time now is 03:52 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|