setup help
  • just tried setting up newscoop and b
    getting a load of errors I get the same with joomla 1.5. I think it is the configuration of xampp 1.7.4 anyway here are the errors:
    help would be most appreciated.


    Strict Standards: Non-static method DB::connect() should not be called statically in /opt/lampp/htdocs/newscoop/conf/liveuser_configuration.php on line 20

    Strict Standards: Non-static method DB::parseDSN() should not be called statically in /opt/lampp/htdocs/newscoop/include/pear/DB.php on line 520

    Strict Standards: Non-static method DB::isError() should not be called statically in /opt/lampp/htdocs/newscoop/include/pear/DB.php on line 557

    Strict Standards: Non-static method PEAR::isError() should not be called statically in /opt/lampp/htdocs/newscoop/conf/liveuser_configuration.php on line 21

    Strict Standards: Non-static method PEAR_ErrorStack::singleton() should not be called statically in /opt/lampp/htdocs/newscoop/include/pear/PEAR/ErrorStack.php on line 983

    Strict Standards: Redefining already defined constructor for class Event_Dispatcher in /opt/lampp/htdocs/newscoop/include/pear/Event/Dispatcher.php on line 138

    Strict Standards: Non-static method LiveUser::singleton() should not be called statically in /opt/lampp/htdocs/newscoop/conf/liveuser_configuration.php on line 217

    Strict Standards: Non-static method LiveUser::factory() should not be called statically in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/LiveUser.ph p on line 512

    Strict Standards: Non-static method PEAR_ErrorStack::singleton() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/LiveUser.ph p on line 345

    Strict Standards: Non-static method Event_Dispatcher::getInstance() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/LiveUser.ph p on line 357

    Strict Standards: Non-static method LiveUser_Admin::singleton() should not be called statically in /opt/lampp/htdocs/newscoop/conf/liveuser_configuration.php on line 221

    Strict Standards: Non-static method LiveUser_Admin::factory() should not be called statically in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/Admin.php on line 238

    Strict Standards: Non-static method PEAR_ErrorStack::singleton() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/Admin.php on line 185

    Strict Standards: Non-static method LiveUser::authFactory() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/Admin.php on line 270

    Strict Standards: Non-static method LiveUser::loadClass() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/LiveUser.ph p on line 576

    Strict Standards: Non-static method LiveUser::classExists() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/LiveUser.ph p on line 544

    Strict Standards: Non-static method LiveUser::classExists() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/LiveUser.ph p on line 547

    Strict Standards: Non-static method PEAR_ErrorStack::singleton() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/Admin/Auth/ Common.php on line 151

    Strict Standards: Non-static method LiveUser::storageFactory() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/Admin/Auth/ Common.php on line 182

    Strict Standards: Non-static method LiveUser::loadClass() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/LiveUser.ph p on line 625

    Strict Standards: Non-static method LiveUser::classExists() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/LiveUser.ph p on line 544

    Strict Standards: Non-static method LiveUser::classExists() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/LiveUser.ph p on line 547

    Strict Standards: Non-static method PEAR_ErrorStack::singleton() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/Admin/Stora ge.php on line 111

    Strict Standards: Non-static method LiveUser::arrayMergeClobber() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/Admin/Stora ge.php on line 139

    Strict Standards: Non-static method LiveUser::arrayMergeClobber() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/LiveUser.ph p on line 676

    Strict Standards: Non-static method LiveUser::arrayMergeClobber() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/LiveUser.ph p on line 676

    Strict Standards: Non-static method LiveUser::arrayMergeClobber() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/Admin/Stora ge.php on line 144

    Strict Standards: Non-static method LiveUser::arrayMergeClobber() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/Admin/Stora ge.php on line 149

    Strict Standards: Non-static method DB::connect() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/LiveUser/Admin/Stora ge/DB.php on line 110

    Strict Standards: Non-static method DB::parseDSN() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/DB.php on line 520

    Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/DB.php on line 551

    Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/newscoop/include/pear/DB.php on line 557
  • 11 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    hi,

    change error reporting parameter in the php.ini to error_reporting = E_ALL & ~E_STRICT
  • still getting one or two errors


    arning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead in /opt/lampp/htdocs/newscoop/include/pear/Date/TimeZone.php on line 4717

    Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead in /opt/lampp/htdocs/newscoop/include/pear/Date/TimeZone.php on line 4718

    and

    Error: The site alias 'localhost' was not assigned to a publication. Please create a publication and assign it the current site alias.

    would like some help with these if you could

    Thanks
    Dai
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    Dai666 wrote on Sun, 06 February 2011 00:59
    still You are *required* to use the date.timezone setting or the date_default_timezone_set() function.
    You need to set the date.timezone parameter in php.ini file (e.g. date.timezone = Europe/London)
  • [Date]
    ; Defines the default timezone used by the date functions
    ; http://php.net/date.timezone
    date.timezone = Europe/London

    This is what I have in my php.ini file
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    Make sure that there's not another php.ini file somewhere
  • did look all I found was php.ini-pre1.7.2 not sure if this is relevant or
    not

    On 6 February 2011 09:51, Andrey Podshivalov <
    newscoop-support@lists.sourcefabric.org> wrote:

    > Make sure that there's not another php.ini file somewhere
    >

  • What I have noticed is if I turn off Development Value: E_ALL | E_STRICT all
    the errors come back but, when I turn it on just left with those three last
    errors. I hope this helps you. Also there is no development version of
    php,ini file (php.ini-development) on the system even though there is in the
    windows version of xampp 1.7.4

    Ubuntu10.10 php.ini settings:

    ; Default Value: E_ALL & ~E_NOTICE
    Development Value: E_ALL | E_STRICT
    ; Production Value: E_ALL & ~E_DEPRECATED
    ; http://php.net/error-reporting
    error_reporting = E_ALL | E_STRICT

    On 6 February 2011 09:51, Andrey Podshivalov <
    newscoop-support@lists.sourcefabric.org> wrote:

    > Make sure that there's not another php.ini file somewhere
    >

  • that should read

    ; Default Value: E_ALL & ~E_NOTICE
    Development Value: E_ALL | E_STRICT
    ; Production Value: E_ALL & ~E_DEPRECATED
    ; http://php.net/error-reporting
    error_reporting = E_ALL | E_STRICT

    On 6 February 2011 09:51, Andrey Podshivalov <
    newscoop-support@lists.sourcefabric.org> wrote:

    > Make sure that there's not another php.ini file somewhere
    >

  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    I can not reproduce the same on my laptop. It's not a newscoop specific warning. It looks like a xampp's php specific problem instead (according google search). My suggestion is downgrade XAMPP to 1.7.0 with php 5.2.8. version.

  • Thanks for trying I've put in the question on th exampp forum hoping they will come up with an answer
  • The problem is definately xampp1.7.4 just setup newscoop on xampp1.7.3 ok and mowes portable without any problems.