View Single Post
  #5  
Old 05-25-2009, 05:38 AM
stardotstar stardotstar is offline
 
Join Date: May 2008
Location: SYD, AU
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As complete a description of my problem as I have been able to word it is here:
https://vborg.vbsupport.ru/showthread.php?t=214190

And I got further with the "bug" that supposedly causes it in openx:
https://vborg.vbsupport.ru/showthread.php?t=214252

In summary; if I have the code to call a localmode banner from openx all my times display in UTC (Except the one at the bottom of the pages which quotes the current time (it is both correct and showing the correct zone) The time is right - just shifted back to UTC (Board is set to +10 and most of my users are too.) Server time is ok as confirmed by many tests.

If I take the code out of the template system the system goes back to normal.

Have a look at my board comparing these two user selectable (guest) styles

http://www.archeli.com.au/forums
arcBLUE
arcLEAN

and you will see immediately what I mean. I added the tz syntax to the board time display to help give the users confidence that it is not a fault with the clock.

It seems that it is some kind of zone setting that openx causes whenever local mode is used - with javascript it is fine but soooo sloooooow...

Best regards and thanks in advance for any help

Will

[update]
Just turning on debug mode I see the following (shows the openx includes)
Code:
Included Files:

    * ./index.php
    * ./global.php
    * ./includes/init.php
    * ./includes/class_core.php
    * ./includes/config.php
    * ./includes/functions.php
    * ./includes/class_hook.php
    * .//var/www/sourcepoint/htdocs/openx/phpadsnew.inc.php
    * .//var/www/sourcepoint/htdocs/openx/init-delivery.php
    * .//var/www/sourcepoint/htdocs/openx/init-delivery-parse.php
    * .//var/www/sourcepoint/htdocs/openx/memory.php
    * .//var/www/sourcepoint/htdocs/openx/variables.php
    * .//var/www/sourcepoint/htdocs/openx/lib/max/Delivery/common.php
    * .//var/www/sourcepoint/htdocs/openx/lib/max/Delivery/cookie.php
    * .//var/www/sourcepoint/htdocs/openx/lib/max/Delivery/remotehost.php
    * .//var/www/sourcepoint/htdocs/openx/lib/max/Delivery/log.php
    * .//var/www/sourcepoint/htdocs/openx/lib/max/Dal/Delivery.php
    * .//var/www/sourcepoint/htdocs/openx/lib/max/Delivery/tracker.php
    * .//var/www/sourcepoint/htdocs/openx/lib/max/Delivery/cache.php
    * .//var/www/sourcepoint/htdocs/openx/lib/OA.php
    * .//var/www/sourcepoint/htdocs/openx/lib/pear/Log.php
    * .//var/www/sourcepoint/htdocs/openx/lib/pear/PEAR.php
    * .//var/www/sourcepoint/htdocs/openx/var/plugins/cache/mergedDeliveryFunctions.php
    * .//var/www/sourcepoint/htdocs/openx/plugins/deliveryLimitations/Client/initClientData.delivery.php
    * .//var/www/sourcepoint/htdocs/openx/lib/OA/Dal/Delivery/mysql.php
    * .//var/www/sourcepoint/htdocs/openx/lib/max/Delivery/adSelect.php
    * .//var/www/sourcepoint/htdocs/openx/lib/max/Delivery/limitations.php
    * .//var/www/sourcepoint/htdocs/openx/lib/max/Delivery/adRender.php
    * .//var/www/sourcepoint/htdocs/openx/plugins/deliveryCacheStore/oxMemcached/oxMemcached.delivery.php
    * .//var/www/sourcepoint/htdocs/openx/plugins/deliveryDataPrepare/oxDeliveryDataPrepare/dataCommon.delivery.php
    * .//var/www/sourcepoint/htdocs/openx/plugins/deliveryLog/oxLogRequest/logRequest.delivery.php
    * .//var/www/sourcepoint/htdocs/openx/plugins/deliveryAdRender/oxMarketDelivery/oxMarketDelivery.delivery.php
    * ./chat/temp/config.srv.php
    * ./chat/inc/langs/en.php
    * ./includes/functions_bigthree.php
    * ./includes/functions_forumlist.php
    * ./includes/functions_calendar.php
    * ./photoplog/thumbnails.php
    * ./includes/photoplog_prefix.php
    * ./photoplog/permissions.php
    * ./includes/adminfunctions.php
    * ./photoplog/functions.php
    * ./includes/functions_newpost.php
    * ./includes/blog_functions_shared.php
Code:
Hooks Called:

    * init_startup
    * fetch_userinfo_query
    * fetch_musername
    * fetch_userinfo
    * cache_permissions
    * style_fetch
    * cache_templates
    * global_start
    * parse_templates
    * notifications_list
    * global_setup_complete
    * forumhome_start
    * forumhome_loggedinuser_query
    * forumhome_loggedinuser
    * cache_ordered_forums
    * forumbit_display
    * forumbit_subforumbit
    * forumbit_subforumbit2
    * forumhome_complete
    * photoplog_thumbnails_start
    * photoplog_thumbnails_sortsql_random
    * photoplog_functions_filelink
    * photoplog_thumbnails_minithumbpics
    * photoplog_thumbnails_minithumbnails
    * photoplog_thumbnails_sortsql_new
    * photoplog_thumbnails_thumbpics
    * photoplog_thumbnails_thumbnails
    * photoplog_thumbnails_complete
I have tried changing the execution order of the two plugins for phpadsnew integration; also the hook location but to no avail.

Any and all ideas or suggestions are most appreciated.
\\'
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01190 seconds
  • Memory Usage 1,792KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete