#912 Wiki:Export Page doesn't work, Safe Mode: can't set var. TZ

v1.8RC
closed
nobody
7
2005-03-17
2003-10-11
No

When I try to export a Wiki Page, it doesn't work and I
obtain this message :

Warning: Safe Mode: Cannot set environment variable
'TZ' - it's not in the allowed list in
/data/www/.../tiki/lib/Date/TimeZone.php on line 256

Warning: Safe Mode: Cannot set environment variable
'TZ' - it's not in the allowed list in
/data/www/.../tiki/lib/Date/TimeZone.php on line 258

Warning: Cannot add header information - headers
already sent by (output started at
/data/www/.../tiki/lib/Date/TimeZone.php:256) in
/data/www/.../tiki/tiki-export_wiki_pages.php on line 13

Warning: Cannot add header information - headers
already sent by (output started at
/data/www/.../tiki/lib/Date/TimeZone.php:256) in
/data/www/.../tiki/tiki-export_wiki_pages.php on line 14
Date: Jeu, 09 Oct 2003 00:21:00+00:00 Mime-Version: 1.0
(Produced by Tiki) Content-Type:
application/x-tikiwiki; pagename=HomePage; flags="";
author=[... other informations about the Wiki page ...]

I try "export all versions" when I edit the page with
the same results.

phpinfo gives me :

PHP 4.2.2

Configure command : './configure'
'--with-config-file-path=/vhffs/apache/conf/php4'
'--with-mysql' '--enable-memory-limit'
'--enable-versioning'
'--with-apxs=/vhffs/apache/bin/apxs' '--with-imap'
'--with-mcrypt' '--with-zlib' '--enable-ftp'
'--with-freetype-dir=/usr/include/freetype2/freetype'
'--enable-xml' '--enable-xslt' '--enable-wddx'
'--with-sablot-js' '--with-xslt-sablot' '--with-dom'
'--with-dom-xslt' '--with-dom-exslt' '--with-xmlrpc'
'--with-gd' '--with-png-dir=/usr'
'--with-freetype-dir=/usr'

Server API Apache

Thread Safety : disabled

Discussion

  • Jean-Philippe Georget

    Logged In: YES
    user_id=347074

    A bad hack

    Comment lines 256 and 258 in lib/Date/TimeZone.php.

     
  • Jean-Philippe Georget

    Logged In: YES
    user_id=347074

    I've got the same bug with 1.7.3. I use the same workaround.

     
  • Jean-Philippe Georget

    • labels: 544455 --> Feature Partially Broken
    • milestone: 337038 --> v1.8RC
     
  • Jean-Philippe Georget

    Logged In: YES
    user_id=347074

    There is no problem anymore with 1.8RC3.

     
  • Jean-Philippe Georget

    • status: open --> closed
     
  • Jean-Philippe Georget

    Logged In: YES
    user_id=347074

    Sorry but the bug is still there.

    The file to modify is now lib/pear/Date/TimeZone.php

    Side effect of this change, "global time" in the head of
    each page is not localized anymore. I don't know if it was
    the case with 1.7.x.

     
  • Jean-Philippe Georget

    • priority: 5 --> 7
    • status: closed --> open
     
  • bertrand Gugger

    bertrand Gugger - 2005-03-17

    Logged In: YES
    user_id=379264

    Hello,
    This is a broadcast message for all open bugs left before 2004/01/05.
    We hope it was checked but no bug update took place.
    The bug you reported may have been fixed.
    Additionally, if you are using an older form of TikiWiki,
    it is highly recommended you update at least to 1.8.5
    with new security fixes.

    So we open a procedure over the 2 next weeks:
    Please, check your bug or request.
    If you feel it's not relevant anymore, then close it.
    But, if you mind it's still current,
    we invite you to open a new fresh request.

    At the end of this period,
    an automatic cleaning with notifications will take place.

    Tikily yours,
    --
    Tikiwiki Bugs Cleaners
    (contact ---> toggg)

     
  • bertrand Gugger

    bertrand Gugger - 2005-03-17
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks