Closed Bug 539124 Opened 15 years ago Closed 15 years ago

tiki-trunk.mozilla.com shows old header

Categories

(support.mozilla.org :: Knowledge Base Software, task)

x86
Windows XP
task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: marclaporte, Assigned: laura)

References

()

Details

Sometimes, I get this at the top of the site: "We will be performing
maintenance tonight at 8pm PDT. During this time the site is expected to be
down for approximately an hour." 

This is an old message, which I changed over a week ago.

Sometimes I get "This is the SUMO-Tiki5 testing site. Please report issues
here", which is what I should get.

This message is changed at Admin -> Look & Feel -> General layout options ->
Custom Site Header 
http://tiki-trunk.mozilla.com/tiki-admin.php?page=look

This is stored in the MySQL table -> tiki_preferences

So there is some sort of cache weirdness.
Some additional information:
I can reproduce this by logging out on the main forums page - the first logged out page served has the maintenance header.  I note it also has the "Remember me" checkbox which is now disabled administratively, so that is definitely coming out of cache somewhere.  It's not coming from the Netscaler, both versions of the page are served with the same HTTP headers.

Will try purging tiki caches and see if that helps.
PS if you then refresh the page you seem to get the correct one.
Purging caches did not seem to help. I can still reliably reproduce using the scenario above.

Shyam, can you run
select * from tiki_preferences where name = 'sitemycode';

Also, do you have any thoughts on where else this might be coming from?  Memcache is not yet turned on.
I also note you can't log in properly from this weird cached page.  Although the form points at tiki-login.php, after logging in you end up on tiki-login_scr.php and have to log in again.
mysql> select * from tiki_preferences where name = 'sitemycode';
+------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| name       | value                                                                                                                                                                |
+------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| sitemycode | <div align="center"><b>This is the SUMO-Tiki5 testing site. Please report issues <a href="https://wiki.mozilla.org/Support/TikiTrunkTestingNotes">here</a></b></div> | 
+------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
Blocks: 539126
Assignee: nobody → laura
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.