[rt.blitzed.org #200] staff site news editing replaces entire content with "0"
"Dean Earley via RT" <[email protected]>
| Newsgroups | gmane.network.irc.blitzed.web |
|---|---|
| Message-ID | <[email protected]> |
<URL: http://rt.blitzed.org:80/Ticket/Display.html?id=200 > > > > This is probably some problem related to global variables and php > > > upgrades or something, coinciding with the move to nubian. > > > > php_flag does not seem to work on nubian's .htaccess > > Or are .htaccess deactivated for staff.blitzed.org? > > Yes as you point out: > > $ cat /data/www/staff.blitzed.org/.htaccess > #WIKI > Redirect /wiki http://staff.blitzed.org > php_flag register_globals On > php_flag magic_quotes_gpc On > > Dean has expressed a wish to make it work without register_globals / > magic_gpc_quotes so I shall do the AllowOverride stuff but comment > out those two lines. All the code I checked didn't seem to rely on those settings so I didn't touch them. The problem was down to a printf line using %d instead of %s to format the item text. -- Dean Earley AKA IZS ([email protected]) irc: irc://irc.blitzed.org/ web: http://personal.earlsoft.co.uk Phone: +44 (0)1489 789742 Mobile: +44 (0)780 8369596