HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


PHP WARNING [2] parse_ini_file() has been disabled for security reasons

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#58028 (In Topic #12663)
Avatar

Community saint

PHP WARNING [2] parse_ini_file() has been disabled for security reasons

I seem to have a problem



An error has occurred

PHP WARNING [2] parse_ini_file() has been disabled for security reasons in /home/prehisto/public_html/sources/support.php on line 1055 (version: 4.2.2, PHP version: 5.2.11, URL: /~prehisto/site/index.php?page=start)

Here is the stack trace:

Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check ocPortal website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.

File'/home/prehisto/public_html/sources/failure.php'
Line'538'
Function'get_html_trace'
Args

File'/home/prehisto/public_html/sources/global2.php'
Line'807'
Function'_fatal_exit'
Args'PHP WARNING [2] parse_ini_file() has been disabled for security reasons in /home/prehisto/public_html/sources/support.php on line 1055'


File'/home/prehisto/public_html/sources/failure.php'
Line'147'
Function'fatal_exit'
Args'PHP WARNING [2] parse_ini_file() has been disabled for security reasons in /home/prehisto/public_html/sources/support.php on line 1055'


File'/home/prehisto/public_html/sources/global2.php'
Line'678'
Function'_ocportal_error_handler'
Args'warning'

2

'parse_ini_file() has been disabled for security reasons'

'/home/prehisto/public_html/sources/support.php'

1055


Function'ocportal_error_handler'
Args2

'parse_ini_file() has been disabled for security reasons'

'/home/prehisto/public_html/sources/support.php'

1055

array ( 'CACHE_BOT_TYPE' => false, 'agent' => 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)', 'BOT_MAP' => NULL, )


File'/home/prehisto/public_html/sources/support.php'
Line'1,055'
Function'parse_ini_file'
Args'/home/prehisto/public_html/text/bots.txt'


File'/home/prehisto/public_html/sources/urls.php'
Line'185'
Function'get_bot_type'
Args

File'/home/prehisto/public_html/sources/symbols.php'
Line'2,072'
Function'skippable_keep'
Args'keep_session'

'2100632322'


File'/home/prehisto/public_html/sources/symbols.php'
Line'286'
Function'keep_symbol'
Argsarray ( 0 => '0', 1 => '1', )


File'/home/prehisto/public_html/sources/tempcode.php(1362) : eval()\'d code'
Line'17'
Function'evaluate_conventional_variable'
Args'EN'

array ( 0 => 1, )

0

'KEEP'

array ( 0 => '0', 1 => '1', )


File'/home/prehisto/public_html/sources/tempcode.php'
Line'1,362'
Function'eval'

File'/home/prehisto/public_html/sources/tempcode.php'
Line'696'
Function'evaluate'
Class'ocp_tempcode'
Type'->'
Objectobject
Args

File'/home/prehisto/public_html/sources/tempcode.php'
Line'903'
Function'handle_symbol_preprocessing'
Argsarray ( 0 => array ( ), 1 => 0, 2 => 'BLOCK', 3 => array ( 0 => 'block=main_poll', ), )

NULL


File'/home/prehisto/public_html/sources/site.php'
Line'745'
Function'handle_symbol_preprocessing'
Class'ocp_tempcode'
Type'->'
Objectobject
Args

File'/home/prehisto/public_html/site/index.php'
Line'51'
Function'do_site'
Args


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#58030
Avatar

Hello,

Please ask your web host why they've disabled 'parse_ini_file'. It's a part of the PHP language ocPortal is using, but I think some hosts are erroneously disabling it. This said, they may have a reason I am not aware of so if they can show us this, we might be able to consider working around that rather than advising them to reenable it.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#58055
Avatar

Community saint

Chris,

I've received 36 of these this morning and some where related to someone attempting to use the shoutbox.

I've tried to replicate this, but everything seems fine now except for this really annoying cookie I must remove every time I edit something on the site.

I believe that friendly is also using Elief.

It is becoming clear that they have been changing things around on their servers since late last week and this is disrupting our sites. Oh! and I noticed that when this happens (site jamming) the Main Site Zone Header text goes back to an older one that was changed last week. I had cleared all cache after some first page modifications and the addition of a new zone. It just so happens that I'm in the middle of adding lots of new content to my site and the perfectionist in me keeps having to rearrange things until it is satisfactory. But this situation is becoming a huge time waste. I know one thing; if I were to ask my last batch of students to go through this, they would have given up after the first sign of trouble. Signs of the times…maybe.

Sorry to vent about this here, especially when ocPortal has nothing to do with what is happening, but my story might be part of why it is so difficult to get people and small businesses to invest time in creating their own site when it is so easy to pop-up a facebook page. :$

Jean

P.S. I will send Elief a request for explanation.
Back to the top
 
Posted
Rating:
#58058
Avatar

Community saint

The PHP WARNING has gone away without any effort on my part and I now have access to my site again. I believe Islander-aua may be right about Elief messing with their servers and this may be the culprit in a few of the recent 'disturbances in the force'.

I was contemplating, when in the midst of the 'lock-out', if this was a FATAL event and I had to start over with my current website re-do in ocPortal …would I go through the effort and start over again with ocPortal? Slight hesitation but YES, it really is proving itself to be a GREAT PLATFORM and aside from the learning curve, I am really enjoying the robust potential of this CMS. I am convinced and believe that the end result will be well worth the effort and time.

Thankfully I can pick up where I left off last night …so until the next bump in the road…

BTW Chris …when the release of 4.3 ???


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#58060
Avatar

Community saint

friendly said

BTW Chris …when the release of 4.3 ???

I remember Chris mentioning in the past that he doesn't give specific dates and times. This helps in case there are minor touches needing to be made by expected dates. If you notice with other CMS sites who give dates and they expire, people whine and complain. By not giving an expected date, that eliminates some stress for all parties.

Eric DeMars . com
My electronic portfolio and personal site. Uses ocPortal!
Back to the top
 
Posted
Rating:
#58061
Avatar

Community saint

Follow-up from Elief:

Here is a copy of Elief's reply to my ticket:

Hello,

I am very sorry about the problem lately, we have allowed parse_ini_file again. However, we are currently experiencing some issues with MySQL. The site may be loading slow for the next few hours but after everything is resolved it should return to normal.

Best Regards,
Richard Rowan
eLief Web Services
Back to the top
 
Posted
Rating:
#58064
Avatar

Community saint

Islander_aua said

I remember Chris mentioning in the past that he doesn't give specific dates and times.
Good policy for this type of work and I never expected a response (chuckle!!!). It was more an interested shoulder chuck or elbo jab.

The bugs will dart and dash and hide in the dark, you think you got them but still find yourself fighting against the baby bug children of the parent bugs. I think it is amazing the bugs, as they appear, are dealt as quickly as they are. The ocPortal staff are awesome - you included, Chris Graham! I think all would say. Hear, hear!

Never the less I am watching the horizon for signs of the arrival of 4.3. and so are others.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: