PDF Memory
  • January 1970 Edit

    Hi Guys
    I folllwed the article on PDF mailing, and got quiet far. Somehow I need to increase the PDF memory, can someone tell me where I can do that.
    Please Advise :(

  • RubenRuben August 2007

    you don't have to increase your "pdf memory", there's no such animal. My guess is that might need to increase the amount of memory php is allowed to use, set "memory_limit" in your php.ini to an appropriate level. If this is not the answer you are looking for, please post an actual error message and a description of what does not work.

  • DangerBoyDangerBoy August 2007

    [b]Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 19456 bytes) in /usr/www/users/dangerk/simple/pdf/fpdf/font/Helvetica-iso-8859-1.php on line 8[/b]
    Thats the error I receive, please note I am using a hosting company..
    Thanks
    DB

  • RubenRuben August 2007

    You need to ask the hoster to increase the php "memory_limit" size to more than the current 20M.

  • justinjustin August 2007

    Hey Danger,

    refer http://www.simpleinvoices.org/index.php?page=Documentation#pdf

    for info on how to change your php.ini settings to get pdf working

    note: not all hosts allow access to php.ini

    Cheers

    Justin

    SmarterInvoices.com :: Simple Invoices hosting | SixHQ.com :: Simple Invoices custom development | justin.kelly.org.au
  • DangerBoyDangerBoy August 2007

    Hey Guys
    Thanks for the advice, I managed to my hosting company to increase the php.ini to 32M, and it works perfectly now. :D :D
    The only problem is that I have to password protect the directory as the si_user query, which sets a login page, allows you in with no user name and password, which is a big security loop for me.
    And when I password protect the directory, pdf export and pdf mailing have 401 errors, I did hear Apilisia mention that it will be sorted in the next edition.
    So till then.
    Ciao for now......

  • justinjustin August 2007

    Hey Danger

    re your security issue

    edit config/config.php

    set
    $MD5Auth = True; /*To turn of md5 auth set $MD5Auth to True*/
    #$MD5Auth = FALSE; /*To Turn off md5 auth set $MD5Auth to FALSE */
    #$ChallengeLife = 480; /*To turn on ChallengeLife set this to 480*/
    $ChallengeLife = 0; /*To turn off ChallengeLife set this to 0 */


    download
    http://pajhome.org.uk/crypt/md5/md5.js

    and place it in your include/md5 directory

    edit login.php

    and change line 115 from
    <script src="./include/md5/md5-2.2alpha.js"></script> --
    to
    <script src="./include/md5/md5.js"></script>

    now refresh your browser and retry

    let me know if this fixes your issue

    Cheers

    Justin

    SmarterInvoices.com :: Simple Invoices hosting | SixHQ.com :: Simple Invoices custom development | justin.kelly.org.au
  • DangerBoyDangerBoy August 2007

    :'( I have done this , and rechecked twice, however it does not solve the issue..

  • justinjustin August 2007

    Hey Kavesh,

    email me a link to your install of Simple Invoices - and i'll take a look at it

    Cheers

    Justin

    SmarterInvoices.com :: Simple Invoices hosting | SixHQ.com :: Simple Invoices custom development | justin.kelly.org.au
  • DangerBoyDangerBoy August 2007

    Hi Justin
    I changed the MD5 to true and now, it works perfectly.....WOoo Hoooo
    Thanks
    DB

  • justinjustin August 2007

    Thanks Kavesh

    glad to hear it works!!!

    youve spotted a security problem with the current release of Simple Invoices - ive fixed this in svn and will do a security release this week once i've tested it some more

    Cheers

    Justin

    SmarterInvoices.com :: Simple Invoices hosting | SixHQ.com :: Simple Invoices custom development | justin.kelly.org.au

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

Categories