4571 Posts in 1384 Topics by 1376 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1510 Views |
-
Please Help: CMS can't even load: [Warning] parse_ini_file()

2 January 2010 at 7:53pm
I cannot access my admin CMS page in SS.
I get this message:
[Warning] parse_ini_file() has been disabled for security reasons
GET /admin
Line 4 in /home/iturner/public_html/sapphire/parsers/BBCodeParser.phpHere's that Line 4:
<?php
require_once('HTML/HTMLBBCodeParser.php');
/*Seting up the PEAR bbcode parser*/
$config = parse_ini_file('BBCodeParser.ini', true);
$options = &SSHTMLBBCodeParser::getStaticProperty('SSHTMLBBCodeParser', '_options');
$options = $config['SSHTMLBBCodeParser'];
//Debug::show($options);
unset($options);Please help.
Thanks,
Ian
-
Re: Please Help: CMS can't even load: [Warning] parse_ini_file()

3 January 2010 at 6:31am
Where are you installing SilverStripe ?
This message means your hosting server administrator has disabled parse_ini_file() PHP functions. If it's your server, try to find in your php.ini config file the line beginning with "disable_functions" directive like :
disable_functions = exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source
in this example, functions 'exec', 'passthru', etc are disable.
-
Re: Please Help: CMS can't even load: [Warning] parse_ini_file()

3 January 2010 at 5:28pm Last edited: 3 January 2010 5:29pm
Something wrong
-
Re: Please Help: CMS can't even load: [Warning] parse_ini_file()

4 January 2010 at 9:17am
Thanks to all in this community for good support
I emailed my server/host (host2x.com) about this problem and they told me that deleting the parsing syntax might help; I deleted it and now the CMS works again. I do not know the future repercussions doing this will have, but it works for now.
P.S.: I only experienced this problem with the HIGHERGROUND theme...
Oh, and, by the way, THE BLOG MODULES DO NOT WORK-- FOR ANY OF MY 4 SILVER STRIPE-BASED WEB SITES
eslcloud.com
writerflow.com
iturner.org
tritonubf.comThanks again and happy new year
-
Re: Please Help: CMS can't even load: [Warning] parse_ini_file()

5 January 2010 at 2:08am Last edited: 5 January 2010 2:09am
...they told me that deleting the parsing syntax might help; I deleted it...
What have you changed in Silverstripe ?
...THE BLOG MODULES DO NOT WORK-- FOR ANY OF MY 4 SILVER STRIPE-BASED WEB SITES...
What are the problems ?
-
Re: Please Help: CMS can't even load: [Warning] parse_ini_file()

5 January 2010 at 7:27am
Hi Myrdhin,
Thanks for the reply.
I deleted the first 5-6 lines of parsing syntax (near the top) of: public_html/sapphire/parsers/BBCodeParser.php
Like I said, I hope it does not come back to bite me. I also upgraded to 2.3.4 and have no problems anymore. Hmm...
Thanks!
Ian
| 1510 Views | ||
|
Page:
1
|
Go to Top |



