Username Password I forgot my details


Fatal Errors

  • guest
  • Guest
  • Newbie
  • 200
  • Sunday 28-03-2010
Readers: 1463 Comments: 2

Hi Again,
On Installing your cms on my server(development) running php 6 / mysql 6 under basic user conditions (no error reports etc) the following errors stopped further loading of the site.
I realise that i am running advanced versions but still its good for you to try to be prepared for when it may occur,
Since these were fatal they are a major problem so i thought i would let you know about it and also the fix i used to continue the loading



Qoute
Fatal error: Call to undefined function get_magic_quotes_gpc() in ......diyincludespost.functions.php on line 88


Change line from
if (!get_magic_quotes_gpc())

to
if (!ini_get('magic_quotes_gpc')) 



Qoute
Fatal error: Call to undefined function get_magic_quotes_gpc() in ......diyadminindex.php on line 78

Change line from
lang('INDEX_MAGIC_QOUTES') => get_magic_quotes_gpc(),

to
lang('INDEX_MAGIC_QOUTES') => ini_get('magic_quotes_gpc')==false ? TRUE : FALSE,


Cheers :)


Signature


  • admin
  • Administrator
  • Newbie
  • 94
  • Sunday 28-03-2010

Thank you very much for the fix. as you said you are using an advanced version of php and I recon that Magic Quotes feature will be removed from php 6.0.0.

Anyway, thatnks for the post, I will fix the issue and the fix will be downloadable throught the admin area.


Signature
Add Post
Add Comment