Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 08:29 am EST
Geeklog Forums
installing geeklog on lycos.fr
Status: offline
merkurie
Forum User
Newbie
Registered: 05/13/05
Posts: 4
hi!
i've been trying to install geeklog on lycos.fr and have run into a few problems:
- in my account's phpinfo(), register_globals is listed as On, but when i try to run install.php, it says it's Off, and i get this warning:
Warning: ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons in /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/public_html/admin/install/install.php on line 107
- when i try to run the check.php, i get these warnings:
Warning: ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons in /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/public_html/lib-common.php on line 120
Warning: ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons in /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/public_html/lib-common.php on line 135
An SQL error has occured. Please see error.log for details.
has anyone run into these problems before?
thanks!
i've been trying to install geeklog on lycos.fr and have run into a few problems:
- in my account's phpinfo(), register_globals is listed as On, but when i try to run install.php, it says it's Off, and i get this warning:
Warning: ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons in /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/public_html/admin/install/install.php on line 107
- when i try to run the check.php, i get these warnings:
Warning: ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons in /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/public_html/lib-common.php on line 120
Warning: ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons in /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/public_html/lib-common.php on line 135
An SQL error has occured. Please see error.log for details.
has anyone run into these problems before?
thanks!
7
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
If those are all the restrictions, it should still be possible to install and use Geeklog. You may not be able to use all of the features, though.
In the default configuration, Geeklog uses ini_set to set the path to its PEAR packages. If you rely on Lycos having PEAR installed, you can change $_CONF['have_pear'] = true; in config.php to work around that.
Also, the install script uses ini_get to determine if register_globals is on - you could try commenting out that call. The same applies to lib-common.php, where Geeklog checks for safe_mode being on (again, with ini_get) to see if it can use the timezone hack.
Actually, I fail to see how ini_get could be a security issue. How is a PHP script supposed to find out something about the environment it's running in if they block the function that was specifically introduced for that purpose?
HTH
bye, Dirk
In the default configuration, Geeklog uses ini_set to set the path to its PEAR packages. If you rely on Lycos having PEAR installed, you can change $_CONF['have_pear'] = true; in config.php to work around that.
Also, the install script uses ini_get to determine if register_globals is on - you could try commenting out that call. The same applies to lib-common.php, where Geeklog checks for safe_mode being on (again, with ini_get) to see if it can use the timezone hack.
Actually, I fail to see how ini_get could be a security issue. How is a PHP script supposed to find out something about the environment it's running in if they block the function that was specifically introduced for that purpose?
HTH
bye, Dirk
10
9
Quote
Status: offline
merkurie
Forum User
Newbie
Registered: 05/13/05
Posts: 4
hi! thanks for the responses... so i checked to see if the lycos php has pear and in the configure command, it says:
'./configure' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-zlib=/usr' '--with-bz2=/usr' '--with-tiff-dir=/usr' '--with-zip=/usr/local' '--with-gd=/usr' '--with-ttf=/usr/include/freetype2/freetype' '--with-freetype-dir=/usr' '--with-mhash=/usr/local/' '--with-dom=/usr' '--with-ming=/usr' '--without-pear' '--enable-gd-native-ttf' '--enable-calendar' '--enable-bcmath' '--enable-safe-mode' '--enable-memory-limit' '--enable-trans-sid' '--disable-posix' '--disable-sockets' '--with-mysql=/usr/' '--enable-force-cgi-redirect' '--with-clibpdf' '--with-gettext' '--with-mcrypt=/usr/' '--with-mcal-dir=/usr/' '--enable-mbstring' '--enable-mbregex' '--with-iconv'
so does that mean php4u doesn't have pear and i can't set $_CONF['have_pear"] to true? or does it matter?
in lib-common.php, if $_CONF['have_pear'] is false, it tries to do this on line 120:
and on line 134:
if( ini_set( 'include_path', $_CONF['path_pear'] . $separator
. $curPHPIncludePath ) === false )
{
COM_errorLog( 'ini_set failed - there may be problems using the PEAR classes.', 1);
}
since ini_get and ini_set are disabled, is it possible to get around these calls?
is this important?
'./configure' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-zlib=/usr' '--with-bz2=/usr' '--with-tiff-dir=/usr' '--with-zip=/usr/local' '--with-gd=/usr' '--with-ttf=/usr/include/freetype2/freetype' '--with-freetype-dir=/usr' '--with-mhash=/usr/local/' '--with-dom=/usr' '--with-ming=/usr' '--without-pear' '--enable-gd-native-ttf' '--enable-calendar' '--enable-bcmath' '--enable-safe-mode' '--enable-memory-limit' '--enable-trans-sid' '--disable-posix' '--disable-sockets' '--with-mysql=/usr/' '--enable-force-cgi-redirect' '--with-clibpdf' '--with-gettext' '--with-mcrypt=/usr/' '--with-mcal-dir=/usr/' '--enable-mbstring' '--enable-mbregex' '--with-iconv'
so does that mean php4u doesn't have pear and i can't set $_CONF['have_pear"] to true? or does it matter?
in lib-common.php, if $_CONF['have_pear'] is false, it tries to do this on line 120:
Text Formatted Code
$curPHPIncludePath = ini_get( 'include_path' );and on line 134:
Text Formatted Code
if( ini_set( 'include_path', $_CONF['path_pear'] . $separator
. $curPHPIncludePath ) === false )
{
COM_errorLog( 'ini_set failed - there may be problems using the PEAR classes.', 1);
}
since ini_get and ini_set are disabled, is it possible to get around these calls?
is this important?
6
8
Quote
Status: offline
merkurie
Forum User
Newbie
Registered: 05/13/05
Posts: 4
tried installing just to see what would happen. got these errors, which reference back to line 120 of lib-common.php...
Warning: ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons in /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/public_html/lib-common.php on line 120
Warning: ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons in /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/public_html/lib-common.php on line 135
Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/public_html/lib-common.php:120) in /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/system/lib-sessions.php on line 188
Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/public_html/lib-common.php:120) in /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/system/lib-sessions.php on line 200
Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/public_html/lib-common.php:120) in /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/public_html/lib-common.php(973) : eval()'d code on line 1
in case that adds to any clarification or detracts... =/
Warning: ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons in /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/public_html/lib-common.php on line 120
Warning: ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons in /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/public_html/lib-common.php on line 135
Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/public_html/lib-common.php:120) in /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/system/lib-sessions.php on line 188
Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/public_html/lib-common.php:120) in /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/system/lib-sessions.php on line 200
Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/public_html/lib-common.php:120) in /data/members/free/multimania/fr/m/e/r/merkurie/htdocs/geeklog/public_html/lib-common.php(973) : eval()'d code on line 1
in case that adds to any clarification or detracts... =/
11
7
Quote
All times are EST. The time is now 08:29 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content