Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
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
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
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