warning: parse_ini_file() ! Sigh !

bobchina - August 30, 2007 - 10:42

Drupal 5.1 The first edition, has not made any modification
web Space : www.000webhost.com
All tables of contents right attribute is 777 (All)

Wrong detailed information:
warning: parse_ini_file() has been disabled for security reasons in /home/a1441623/public_html/includes/module.inc on line 195.

php Does not have Movement in Safe pattern!
www.000webhost.com Spatial support situation (Chinese language)
May examine in here http://www.cscheats.cn/2/index.php

Consults, how I should solve this problem?

I come from China Drupal community,We there material are extremely few!
My English is not good, therefore does not have the means to seek tovery many outstanding modules
Please recommend to me an outstanding picture module.

The request is such
1:The permission inserts a picture,The picture may be comes from the exterior connection, That one kind only has in on passes on the picture after own server. I am do not need. My most pictures Comes from exterior connection.
The best situation is: This module is the visible edition tool .....

If my article published in the wrong place Please forgive

hi

laylay - November 27, 2007 - 23:25

imho there are 3 alternatives on this issue:

- contact your hosting service provider and ask them to permit parse_ini_file() function in php.ini.

- you may write some php code displacing that function. you can find detailed information on this page: http://tr2.php.net/parse_ini_file

for instance click this: http://tr2.php.net/manual/en/function.parse-ini-file.php#57075

copy and paste parse_ini_file_quotes_safe() function into your includes/modules.inc

then find $info = parse_ini_file($filename); line and replace it with $info = parse_ini_file_quotes_safe($filename);

- or you may use previous version of drupal

ugur

 
 

Drupal is a registered trademark of Dries Buytaert.