Help with instaling pdf file

0
I installed dompdf file and everything is ok, but I get this note in my administration:

We've detected that you've uploaded the DomPDF package, but your PHP variable magic_quotes_gpc is set to ON, and you need to set it to OFF in order for the PDF button to appear. You can change this PHP value on the php.ini file. Your php.ini file is located in /usr/local/lib/php.ini

Checked all my files but can not find php.ini with magic qoutes, fine one php ini but there is no option to turn off or on any magic qoute,
can you help me please?
Responses (10)
  • Accepted Answer

    Thursday, July 25 2013, 03:31 PM - #Permalink
    0
    you can simply add the command if it's not on the php.ini file:

    magic_quotes_gpc = Off
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 25 2013, 04:20 PM - #Permalink
    0
    that did not help, maybe I need to ad some special characters at the begining and end of magic qoutes.
    Here is my php.ini file (hope I can publish him)

    register_globals = Off

    allow_url_fopen = Off
    upload_max_filesize = 20M

    extension_dir = /

    [Zend]
    zend_optimizer.optimization_level=15
    zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
    zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
    zend_optimizer.version=3.3.3

    zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
    zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
    magic_quotes_gpc = Off

    is that ok, can you check ?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 25 2013, 04:23 PM - #Permalink
    0
    it looks ok. are you editing the right php.ini file?
    is the value being loaded (you can check this on joomla backend global configuration, "php information" section)

    maybe you could ask your hosting provider about this?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 25 2013, 04:27 PM - #Permalink
    0
    I dont know is that the right php.ini file, that is the only one i can find, is located in public_html , first files

    Where in joomla backend global I cna check that? In global configuration? In global configuration I can not find anything related with php??
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 25 2013, 04:29 PM - #Permalink
    0
    I find php info, there is ok, here is paste from my php
    Magic Quotes Uključeno / onn /uključeno mean on
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 25 2013, 04:30 PM - #Permalink
    0
    it's in System Information, sorry.

    no, that's not the php.ini file you have to edit. the one that your server is loading is this one: /usr/local/lib/php.ini

    that's why I tell you to ask your hosting provider about this..
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 25 2013, 04:30 PM - #Permalink
    0
    ops I just realize it must be off, in my php configuration is still on
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 25 2013, 04:31 PM - #Permalink
    0
    does joomla have diferent php.ini file?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 25 2013, 04:54 PM - #Permalink
    0
    I asked my host to modify php.ini file, hope they will do that fast and corectly.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 25 2013, 05:09 PM - #Permalink
    0
    ok, host modified my php.ini file , that is ok now
    Sadly my pdf file look quite weird but will open new topic about that, first I will go to check on line documentation of creating pdf file corectly
    thank you for your help
    The reply is currently minimized Show
Your Reply