Support Forum
at this point, you should probably create a temp account for us and pm the details to us if that is acceptable... the account should be a wp admin and have sp admin caps, so we can take a closer look... if good, pm to myself and yellow swordfish...
Visit Cruise Talk Central and Mr Papa's World
replied in pm... account needs to be set up more...
also, that is a nasty problem with the timezone based on your wp timezone setting... have opened a ticket for research on that... something going haywire with a UTC-7 setting in your wp timezone... most folks use an actual city, so probably why we havent run across that... for now, I switched your setting to an equivalent city with same utc offset...
not sure best way around that currently... and I disabled the w3tc plugin for now so its not getting in the way (it was)... but now the real pages are showing more errors...
more in pm...
Visit Cruise Talk Central and Mr Papa's World
can you try a quick code change for me?
go to simple-press/forum/database/sp-db-statistics.php and find routine sp_set_last_visited()... go to about line 312 and fine this code:
$date_time_zone_selected = new DateTimeZone(sp_esc_str($opts['timezone_string'])); $userOffset = timezone_offset_get($date_time_zone_selected, date_create()); $wptz = get_option('timezone_string');
can you try changing it to:
if (preg_match('/^UTC[+-]/', $opts['timezone_string']) ) { # correct for manual UTC offets $userOffset = preg_replace('/UTC\+?/', '', $opts['timezone_string']) * 3600; } else { # get timezone offset for user $date_time_zone_selected = new DateTimeZone(sp_esc_str($opts['timezone_string'])); $userOffset = timezone_offset_get($date_time_zone_selected, date_create()); } $wptz = get_option('timezone_string');
and see if that fixes that issue for existing users and guests... i dont really have any chance at this late hour to set up a proper test for it...
or it you want to provide us with ftp access we could try the change... getting late though so needs to be quick or wait for Andy to come back in AM...
Visit Cruise Talk Central and Mr Papa's World
slight mod for the replace code:
if (preg_match('/^UTC[ \t+-]/', $opts['timezone_string'])) { # correct for manual UTC offets $userOffset = preg_replace('/UTC\+?/', '', $opts['timezone_string']) * 3600; } else { # get timezone offset for user $date_time_zone_selected = new DateTimeZone(sp_esc_str($opts['timezone_string'])); $userOffset = timezone_offset_get($date_time_zone_selected, date_create()); } $wptz = get_option('timezone_string');
Visit Cruise Talk Central and Mr Papa's World
okay, the last change has fixed the timezone error... and logout error...
and with cached pages no longer being served, users are able to post... as evident by the test posts (one new topic and one reply) I left...
Visit Cruise Talk Central and Mr Papa's World
so up to you if you want to re enable those caching and js manipulating plugins... just be sure they dont server cached pages like they were...
Visit Cruise Talk Central and Mr Papa's World
to be clear... all sp forum pages appear on a single wp page... which is why you cannot cache it... that single wp page is dynamically generated... if you cache the wp page, the forum dynamic page generation cannot happen...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)