Visualizzazione risultati 1 fino 18 di 18

Discussione: Problema con la configurazione

  1. #1
    Guest

    Exclamation Problema con la configurazione

    Ciao a tutti, volevo sapere una cosa:
    come posso configurare questa parte del file config.php nella sezione "2 path"? Sono un po' in difficoltà...

    // You only need to change this if you moved or renamed the public_html
    // directory. In that case, you should specify the complete path to the
    // directory (i.e. without the $_CONF['path']) like this:
    // $_CONF['path_html'] = '/path/to/your/public_html/';
    $_CONF['path_html'] = $_CON ['path'] . '/path/to/your/public_html/';


    E se è giusta, quele delle due parti devo configurare? se il mio indirizzo di dove sta la public_html è questo, come lo metto?

    /membri/virtualforum/geeklog-1.3.11

  2. #2
    L'avatar di mythologia
    mythologia non è connesso Moderatore
    Data registrazione
    05-01-2004
    Messaggi
    2,614

    Predefinito

    $_CONF['path_html'] = '/membri/virtualforum/geeklog-1.3.11/';

    Credo che così andrà bene

  3. #3
    Guest

    Predefinito

    ma va modificata la prima o la seconda opzione?

  4. #4
    L'avatar di mythologia
    mythologia non è connesso Moderatore
    Data registrazione
    05-01-2004
    Messaggi
    2,614

  5. #5
    Guest

    Predefinito

    ma mi da questo errore...

    Fatal error: Call to undefined function: db_query() in /membri/virtualforum/geeklog-1.3.11/public_html/admin/install/install.php on line 280

  6. #6
    L'avatar di mythologia
    mythologia non è connesso Moderatore
    Data registrazione
    05-01-2004
    Messaggi
    2,614

    Predefinito

    quello è un problema del codice, prova a postare il codice di install.php

  7. #7
    Guest

    Predefinito

    ok:MI DA ERRORE ALL'ULTIMA RIGA.

    ' . LB; $retval .= '' . LB; $retval .= '
    ' . LB; $retval .= '
    Geeklog Installation (Step 1 of 2)
    ' . LB; $retval .= '
    Welcome to Geeklog ' . VERSION . '. Of all the choices of open-source weblogs we are glad you have chosen to install Geeklog. With Geeklog version ' . VERSION . ' you will be able to experience rich features, easy administration and an extendable platform that is fast and, most importantly, secure! Ok, enough of the marketing rant...now for the installation! You are only 3 short steps from having Geeklog running on your system.' . LB; $retval .= "
    If you haven't already done so, you should edit config.php prior to running this script. This script will then apply the database structures for both fresh installations and upgrades." . LB; $retval .= '
    Upgrading
    ' . LB; $retval .= '
    Before we get started it is important that if you are upgrading an existing Geeklog installation you back up your database AND your file system. This installation script will alter your Geeklog database. Also, if you are upgrading from version 1.3 or older you may need your old lib-database.php file so be sure to save a copy of this file. YOU HAVE BEEN WARNED!
    Also, this script will only upgrade you from 1.2.5-1 or later to version ' . VERSION . '. If you are running a version of Geeklog older than 1.2.5-1 then you will need to manually upgrade to 1.2.5-1 using the scripts in /path/to/geeklog/sql/updates/. This script will do incremental upgrades after this version (i.e. when 1.4 comes out this script will be able to upgrade from 1.2.5-1, 1.3.x directly to 1.4).
    Please note this script will not upgrade any beta or release candidate versions of Geeklog. '; $globals_off = false; $old_php = false; $phpv = explode ('.', phpversion ()); $phpv[2] = substr ($phpv[2], 0, 1); // get rid of 'pl1' etc. if (($phpv[0] < 4) || (($phpv[0] == 4) && ($phpv[1] < 1))) { $old_php = true; } if (!ini_get ('register_globals')) { $globals_off = true; } if ($globals_off || $old_php) { $retval .= '
    Important!
    ' . LB; if ($old_php) { $retval .= '
    Note: Geeklog requires PHP 4.1.0 or newer to run. Please upgrade your PHP or ask your hosting service to do it (this is actually in your own interest, as old versions of PHP have security issues).
    ' . LB; } if ($globals_off) { $retval .= '
    Warning: You have register_globals = Off in your php.ini. However, Geeklog requires register_globals to be on. Before you continue, please set it to on and restart your web server.
    ' . LB; } } $retval .= '
    Installation Options
    ' . LB; $install_options = 'New Database'.LB; $install_options .= 'Upgrade Database'.LB; $retval .= '
    ' . LB; $retval .= '
    ' . LB; $retval .= 'Installation Type: '.LB; $retval .= '
    Path to Geeklog\'s config.php: '.LB; $retval .= '
    Hint: The complete path to this file is ' . $thisFile; if (!empty ($glPath) && !$posted) { $retval .= 'and it appears your Path to Geeklog is ' . $glPath; } $retval .= ''; $retval .= '
    ' . LB; $retval .= '
    ' . LB; $retval .= '' . LB; $retval .= '
    ' . LB; $retval .= '

  8. #8
    L'avatar di mythologia
    mythologia non è connesso Moderatore
    Data registrazione
    05-01-2004
    Messaggi
    2,614

    Predefinito

    Prova così:

    ' . LB; $retval .= '' . LB; $retval .= '
    ' . LB; $retval .= '
    Geeklog Installation (Step 1 of 2)
    ' . LB; $retval .= '
    Welcome to Geeklog ' . VERSION . '. Of all the choices of open-source weblogs we are glad you have chosen to install Geeklog. With Geeklog version ' . VERSION . ' you will be able to experience rich features, easy administration and an extendable platform that is fast and, most importantly, secure! Ok, enough of the marketing rant...now for the installation! You are only 3 short steps from having Geeklog running on your system.' . LB; $retval .= "
    If you haven't already done so, you should edit config.php prior to running this script. This script will then apply the database structures for both fresh installations and upgrades." . LB; $retval .= '
    Upgrading
    ' . LB; $retval .= '
    Before we get started it is important that if you are upgrading an existing Geeklog installation you back up your database AND your file system. This installation script will alter your Geeklog database. Also, if you are upgrading from version 1.3 or older you may need your old lib-database.php file so be sure to save a copy of this file. YOU HAVE BEEN WARNED!
    Also, this script will only upgrade you from 1.2.5-1 or later to version ' . VERSION . '. If you are running a version of Geeklog older than 1.2.5-1 then you will need to manually upgrade to 1.2.5-1 using the scripts in /path/to/geeklog/sql/updates/. This script will do incremental upgrades after this version (i.e. when 1.4 comes out this script will be able to upgrade from 1.2.5-1, 1.3.x directly to 1.4).
    Please note this script will not upgrade any beta or release candidate versions of Geeklog. '; $globals_off = false; $old_php = false; $phpv = explode ('.', phpversion ()); $phpv[2] = substr ($phpv[2], 0, 1); // get rid of 'pl1' etc. if (($phpv[0] < 4) || (($phpv[0] == 4) && ($phpv[1] < 1))) { $old_php = true; } if (!ini_get ('register_globals')) { $globals_off = true; } if ($globals_off || $old_php) { $retval .= '
    Important!
    ' . LB; if ($old_php) { $retval .= '
    Note: Geeklog requires PHP 4.1.0 or newer to run. Please upgrade your PHP or ask your hosting service to do it (this is actually in your own interest, as old versions of PHP have security issues).
    ' . LB; } if ($globals_off) { $retval .= '
    Warning: You have register_globals = Off in your php.ini. However, Geeklog requires register_globals to be on. Before you continue, please set it to on and restart your web server.
    ' . LB; } } $retval .= '
    Installation Options
    ' . LB; $install_options = 'New Database'.LB; $install_options .= 'Upgrade Database'.LB; $retval .= '
    ' . LB; $retval .= '
    ' . LB; $retval .= 'Installation Type: '.LB; $retval .= '
    Path to Geeklog\'s config.php: '.LB; $retval .= '
    Hint: The complete path to this file is ' . $thisFile; if (!empty ($glPath) && !$posted) { $retval .= 'and it appears your Path to Geeklog is ' . $glPath; } $retval .= ''; $retval .= '
    ' . LB; $retval .= '
    ' . LB; $retval .= '' . LB; $retval .= '
    ' . LB; $retval .= '';

  9. #9
    Guest

    Predefinito

    la pagina è bianca dell'installazione non viene fouri niente....

  10. #10
    L'avatar di mythologia
    mythologia non è connesso Moderatore
    Data registrazione
    05-01-2004
    Messaggi
    2,614

  11. #11
    Guest

    Predefinito

    adesso mi da sto errore:

    Parse error: parse error, unexpected T_STRING in /membri/virtualforum/geeklog-1.3.11/public_html/admin/install/install.php on line 222

  12. #12
    L'avatar di mythologia
    mythologia non è connesso Moderatore
    Data registrazione
    05-01-2004
    Messaggi
    2,614

    Predefinito

    prova così allora

    $ret = $retval;

    echo $ret;

    (da aggiungere alla fine)

  13. #13
    Guest

    Predefinito

    lo stesso errore.... la riga è l'ultima...

    ' . LB; $retval .= '' . LB; $retval .= '
    ' . LB; $retval .= '
    Geeklog Installation (Step 1 of 2)
    ' . LB; $retval .= '
    Welcome to Geeklog ' . VERSION . '. Of all the choices of open-source weblogs we are glad you have chosen to install Geeklog. With Geeklog version ' . VERSION . ' you will be able to experience rich features, easy administration and an extendable platform that is fast and, most importantly, secure! Ok, enough of the marketing rant...now for the installation! You are only 3 short steps from having Geeklog running on your system.' . LB; $retval .= "
    If you haven't already done so, you should edit config.php prior to running this script. This script will then apply the database structures for both fresh installations and upgrades." . LB; $retval .= '
    Upgrading
    ' . LB; $retval .= '
    Before we get started it is important that if you are upgrading an existing Geeklog installation you back up your database AND your file system. This installation script will alter your Geeklog database. Also, if you are upgrading from version 1.3 or older you may need your old lib-database.php file so be sure to save a copy of this file. YOU HAVE BEEN WARNED!
    Also, this script will only upgrade you from 1.2.5-1 or later to version ' . VERSION . '. If you are running a version of Geeklog older than 1.2.5-1 then you will need to manually upgrade to 1.2.5-1 using the scripts in /path/to/geeklog/sql/updates/. This script will do incremental upgrades after this version (i.e. when 1.4 comes out this script will be able to upgrade from 1.2.5-1, 1.3.x directly to 1.4).
    Please note this script will not upgrade any beta or release candidate versions of Geeklog. '; $globals_off = false; $old_php = false; $phpv = explode ('.', phpversion ()); $phpv[2] = substr ($phpv[2], 0, 1); // get rid of 'pl1' etc. if (($phpv[0] < 4) || (($phpv[0] == 4) && ($phpv[1] < 1))) { $old_php = true; } if (!ini_get ('register_globals')) { $globals_off = true; } if ($globals_off || $old_php) { $retval .= '
    Important!
    ' . LB; if ($old_php) { $retval .= '
    Note: Geeklog requires PHP 4.1.0 or newer to run. Please upgrade your PHP or ask your hosting service to do it (this is actually in your own interest, as old versions of PHP have security issues).
    ' . LB; } if ($globals_off) { $retval .= '
    Warning: You have register_globals = Off in your php.ini. However, Geeklog requires register_globals to be on. Before you continue, please set it to on and restart your web server.
    ' . LB; } } $retval .= '
    Installation Options
    ' . LB; $install_options = 'New Database'.LB; $install_options .= 'Upgrade Database'.LB; $retval .= '
    ' . LB; $retval .= '
    ' . LB; $retval .= 'Installation Type: '.LB; $retval .= '
    Path to Geeklog\'s config.php: '.LB; $retval .= '
    Hint: The complete path to this file is ' . $thisFile; if (!empty ($glPath) && !$posted) { $retval .= 'and it appears your Path to Geeklog is ' . $glPath; } $retval .= ''; $retval .= '
    ' . LB; $retval .= '
    ' . LB; $retval .= '' . LB; $retval .= '
    ' . LB; $retval .= ';
    ' . echo $retval;

  14. #14
    Guest

    Predefinito

    qualcuno mi risponde.... è importante!

  15. #15
    L'avatar di mythologia
    mythologia non è connesso Moderatore
    Data registrazione
    05-01-2004
    Messaggi
    2,614

    Predefinito

    ' . LB; $retval .= '' . LB; $retval .= '
    ' . LB; $retval .= '
    Geeklog Installation (Step 1 of 2)
    ' . LB; $retval .= '
    Welcome to Geeklog ' . VERSION . '. Of all the choices of open-source weblogs we are glad you have chosen to install Geeklog. With Geeklog version ' . VERSION . ' you will be able to experience rich features, easy administration and an extendable platform that is fast and, most importantly, secure! Ok, enough of the marketing rant...now for the installation! You are only 3 short steps from having Geeklog running on your system.' . LB; $retval .= "
    If you haven't already done so, you should edit config.php prior to running this script. This script will then apply the database structures for both fresh installations and upgrades." . LB; $retval .= '
    Upgrading
    ' . LB; $retval .= '
    Before we get started it is important that if you are upgrading an existing Geeklog installation you back up your database AND your file system. This installation script will alter your Geeklog database. Also, if you are upgrading from version 1.3 or older you may need your old lib-database.php file so be sure to save a copy of this file. YOU HAVE BEEN WARNED!
    Also, this script will only upgrade you from 1.2.5-1 or later to version ' . VERSION . '. If you are running a version of Geeklog older than 1.2.5-1 then you will need to manually upgrade to 1.2.5-1 using the scripts in /path/to/geeklog/sql/updates/. This script will do incremental upgrades after this version (i.e. when 1.4 comes out this script will be able to upgrade from 1.2.5-1, 1.3.x directly to 1.4).
    Please note this script will not upgrade any beta or release candidate versions of Geeklog. '; $globals_off = false; $old_php = false; $phpv = explode ('.', phpversion ()); $phpv[2] = substr ($phpv[2], 0, 1); // get rid of 'pl1' etc. if (($phpv[0] < 4) || (($phpv[0] == 4) && ($phpv[1] < 1))) { $old_php = true; } if (!ini_get ('register_globals')) { $globals_off = true; } if ($globals_off || $old_php) { $retval .= '
    Important!
    ' . LB; if ($old_php) { $retval .= '
    Note: Geeklog requires PHP 4.1.0 or newer to run. Please upgrade your PHP or ask your hosting service to do it (this is actually in your own interest, as old versions of PHP have security issues).
    ' . LB; } if ($globals_off) { $retval .= '
    Warning: You have register_globals = Off in your php.ini. However, Geeklog requires register_globals to be on. Before you continue, please set it to on and restart your web server.
    ' . LB; } } $retval .= '
    Installation Options
    ' . LB; $install_options = 'New Database'.LB; $install_options .= 'Upgrade Database'.LB; $retval .= '
    ' . LB; $retval .= '
    ' . LB; $retval .= 'Installation Type: '.LB; $retval .= '
    Path to Geeklog\'s config.php: '.LB; $retval .= '
    Hint: The complete path to this file is ' . $thisFile; if (!empty ($glPath) && !$posted) { $retval .= 'and it appears your Path to Geeklog is ' . $glPath; } $retval .= ''; $retval .= '
    ' . LB; $retval .= '
    ' . LB; $retval .= '' . LB; $retval .= '
    ' . LB; $retval .= ';
    echo $retval;

    prova così

  16. #16
    Guest

    Predefinito

    Scusate, la riga dove mi da errore è l'ultima di questo corpo di testo

    -->
    </style>
    <!--[if gte mso 9]><xml>
    <o:shapedefaults v:ext="edit" spidmax="1027"/>
    </xml><![endif]--><!--[if gte mso 9]><xml>
    <o:shapelayout v:ext="edit">
    <o:idmap v:ext="edit" data="1"/>
    </o:shapelayout></xml><![endif]-->
    </head>

    ' . LB;
    $retval .= '

  17. #17
    L'avatar di mythologia
    mythologia non è connesso Moderatore
    Data registrazione
    05-01-2004
    Messaggi
    2,614

    Predefinito

    Prova così

    Codice PHP:
    -->
    </
    style>
    <!--[if
    gte mso 9]><xml>
    <
    o:shapedefaults v:ext="edit" spidmax="1027"/>
    </
    xml><![endif]--><!--[if gte mso 9]><xml>
    <
    o:shapelayout v:ext="edit">
    <
    o:idmap v:ext="edit" data="1"/>
    </
    o:shapelayout></xml><![endif]-->
    </
    head>

    ' . LB;
    $retval .= '';

  18. #18
    Guest

    Predefinito

    grazie adesso provo!

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •