Can not proceed with installation

2010-11-15
2012-12-11
  • Tapan Trivedi

    Tapan Trivedi - 2010-11-15

    Hi

    I am trying to install on Ubuntu 10.10 with latest versions of Apache / MySQL/PHP5 and Tutos.

    I reached till execution of scheme.php and got stuck. After spending last two days - I managed to turn on PHP errors in php.ini file and go the following..

    Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/tutos/php/webelements.p3 on line 1484 Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/tutos/php/webelements.p3 on line 1499 Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/tutos/php/webelements.p3 on line 1506 Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/tutos/php/webelements.p3 on line 1510 Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/tutos/php/webelements.p3 on line 1517 Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/tutos/php/webelements.p3 on line 1524 Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/tutos/php/webelements.p3 on line 1528 Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/tutos/php/webelements.p3 on line 1535 Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/tutos/php/webelements.p3 on line 1539 Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/tutos/php/webelements.p3 on line 1546 Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/tutos/php/webelements.p3 on line 1553 Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/tutos/php/webelements.p3 on line 1557 Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/tutos/php/webelements.p3 on line 1566
    $tutos = "tutos"; $tutos = "localhost"; $tutos = "root"; $tutos = "password"; $tutos = 2 ; $tutos = "tutos-mysql"; $tutos = "repository"; $tutos = 1;

    The last line is my config.php file.

    Can anyone point out what next ?

    I am a new to PHP and hence may ask most basic Q's so apologies for that in advance.

    -Tapan

     
  • Will Watts

    Will Watts - 2010-11-16

    The 'Deprecated' messages can be ignored. The webelements.p3 file contains some out-of-date syntax that should be updated for PHP5 when Gero gets a chance, but is harmless.

    I don't understand how you are getting your config file in the output, though. Have you had a look at the source of the page (Ctrl-U displays it in most browsers) to see if that provides any further clues?

    You have switched on debugging
    $tutos  = 1;
    Are you getting any logs created in - I think - /tmp/debug.out
    If so, what do they say?

    Will

    What URL are you running? Have you accomplished all the steps listed at http://www.tutos.org/homepage/install_easy.html

     
  • someone

    someone - 2011-08-07

    How  do I get rid of this:

    ( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\Tutos\tutos\php\webelements.p3 on line 1581
    Call Stack
    # Time Memory Function Location
    1 0.0017 519840 {main}( ) ..\mytutos.php:0

    ( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\Tutos\tutos\php\webelements.p3 on line 1588
    Call Stack
    # Time Memory Function Location
    1 0.0017 519840 {main}( ) ..\mytutos.php:0

    ( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\Tutos\tutos\php\webelements.p3 on line 1592
    Call Stack
    # Time Memory Function Location
    1 0.0017 519840 {main}( ) ..\mytutos.php:0

    ( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\Tutos\tutos\php\webelements.p3 on line 1599
    Call Stack
    # Time Memory Function Location
    1 0.0017 519840 {main}( ) ..\mytutos.php:0

    ( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\Tutos\tutos\php\webelements.p3 on line 1606
    Call Stack
    # Time Memory Function Location
    1 0.0017 519840 {main}( ) ..\mytutos.php:0

    ( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\Tutos\tutos\php\webelements.p3 on line 1610
    Call Stack
    # Time Memory Function Location
    1 0.0017 519840 {main}( ) ..\mytutos.php:0

    ( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\Tutos\tutos\php\webelements.p3 on line 1617
    Call Stack
    # Time Memory Function Location
    1 0.0017 519840 {main}( ) ..\mytutos.php:0

    ( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\Tutos\tutos\php\webelements.p3 on line 1621
    Call Stack
    # Time Memory Function Location
    1 0.0017 519840 {main}( ) ..\mytutos.php:0

    ( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\Tutos\tutos\php\webelements.p3 on line 1628
    Call Stack
    # Time Memory Function Location
    1 0.0017 519840 {main}( ) ..\mytutos.php:0

    ( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\Tutos\tutos\php\webelements.p3 on line 1635
    Call Stack
    # Time Memory Function Location
    1 0.0017 519840 {main}( ) ..\mytutos.php:0

    ( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\Tutos\tutos\php\webelements.p3 on line 1639
    Call Stack
    # Time Memory Function Location
    1 0.0017 519840 {main}( ) ..\mytutos.php:0

    ( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\Tutos\tutos\php\webelements.p3 on line 1648
    Call Stack
    # Time Memory Function Location
    1 0.0017 519840 {main}( ) ..\mytutos.php:0
    08/07 13:41 Login

    Please login
    Username
    Password
    Help
    The message of today

    Congratulations

    you have managed to install TUTOS.

    This is the default message of today.

    To change the message of today:

    Create a file /html/motd.html

    A empty (0 Byte) motd.html will show nothing.

    A link to an executable will cause the output of the excutable to be shown.
        Try for example:
        ln -fs /usr/bin/fortune /html/motd.html

    Have fun.

    See TUTOS wiki for uptodate documentation.

    TUTOS 1.7.20101228 

     
  • Gero Kohnert

    Gero Kohnert - 2011-08-07

    Hi someonespecial,

    the messages you see do happen because PHP has set some functionality to deprecated after TUTOS had a chance to react on it with the latest Release.
    The easiest way in this special case is to go and modify some places in the sourcecode.

    Ypo will find in the file webelements.php some code like  $foo = &new(….
    Just remove the & before new. The lines too look for are all mentioned in the warnings you see 1581,1588 etc.

    After saving the file you should be able to go on.

     

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

Sign up for the SourceForge newsletter:





No, thanks