Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-11 03:42:03

nateVeronica
New Member
Registered: 2004-07-05
Posts: 2

Warning: parse_ini_file() has been disabled for security reasons in ..

Hi I’m wondering what why I sometimes get this message:

Warning: parse_ini_file() has been disabled for security reasons in //textpattern/lib/txplib_misc.php on line 639

I sometimes receive this message, when i’ve added a new section/category, that sort of thing. Sometimes when I add a new article. It doesn’t seem to cause an issue, and does complete the task.

I’m using textpattern 4.0.2

Offline

#2 2005-11-11 03:46:44

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Warning: parse_ini_file() has been disabled for security reasons in ..

Textpattern uses that function, and your host doesn’t allow it to be used. It’s used for localisation, making valid url titles out of non-english titles.

Offline

#3 2005-11-11 04:45:08

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Warning: parse_ini_file() has been disabled for security reasons in ..

I’m at a loss to understand what those “security reasons” might be. Only thing I can think of is that they’re trying to protect against poorly designed applications that keep passwords in unprotected INI files.


Alex

Offline

#4 2005-11-14 12:44:26

torpedo009
New Member
From: Singapore
Registered: 2004-07-12
Posts: 2
Website

Re: Warning: parse_ini_file() has been disabled for security reasons in ..

Just a small addition, this happens to me too, except it’s line 613 instead and (so far) only occurs when creating new sections..

Offline

#5 2005-11-14 12:56:02

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Warning: parse_ini_file() has been disabled for security reasons in ..

You should get in contact with your host and tell them that you need them to stop disabling random php functions. There is no “benefit” (security or otherwise) for your host in disabling “parse_ini_file()” anyway, my guess is that it was on “oversight/accident” that the function got disabled (due to the name, which could be interpreted to mean other things).

Offline

#6 2005-11-17 13:24:26

torpedo009
New Member
From: Singapore
Registered: 2004-07-12
Posts: 2
Website

Re: Warning: parse_ini_file() has been disabled for security reasons in ..

Thanks, now I know it’s not a problem on my side..

Offline

Board footer

Powered by FluxBB