Hey guys. I'm trying look at my created invoices with the "export to PDF" button and this is what comes up.
Fatal error: Out of memory (allocated 19922944) (tried to allocate 41 bytes) in /home_dir/simpleinvoices/include/pdf/css.margin.inc.php on line 9
Any ideas?? :? I had it working on my local server. Then I moved it to an of site remote dedicated server...maybe that assists in some how to getting to the solution.
Thanks...
P.S. - I tried mailing the invoice to myself and this came up... Fatal error: Out of memory (allocated 14417920) (tried to allocate 393216 bytes) in /home_dir/simpleinvoices/include/pdf/css.border.inc.php on line 21
That I kind of realised, but the problem is that I can't get to my php.ini file because it is situated on a remote dedicated server that I do not have rights for viewing anything more than my hosting directory. I can however edit .htaccess files and I tried upping my php memory thru that. Don't know if I did it correctly though, but it didn't help. Or perhaps apache needs a restart for settings to take effect but I can't do that ether.
My phpinfo.php says that I have memory set to 64MB and I might be mistaken but I recon that is more than enough. Still, how would I change the memory available to this aplication without going to php.ini??
I couldn't edit the previous post so this is the P.S.
I picked up that my "max_execution_time = 90" and the suggested value is 90. Could this be causing the problem and if so, how does one change this value without editing the php.ini??
lol, ok after flying in the dark on configuring the .htaccess, I've got it generating my pdf's again (woopdidoo). But now...no more funky & cool logo on the pdf. The logo is there when I print preview it in html, but just a little black squire makes an appearance on the pdf version.
This maybe related? I've got the memory on 64mb and I recon it's not that. Or should I start a new post for this one...?
Bad news I'm afraid. I've now even tried installing the latest version - just finnished and it does this with ALL the logos...even the no logo logo...
I think it might have something to do with the server configuration or maybe even file permissions. I'm installing it on a remote hosting server and I'm not sure how this effects the file permissions. I just know that I have a file permission issue with almost every application I install (that doesn't come with Plesk that is).
I've edited the logo permissions just for kicks but that didn't do no nothin...I'm going to dig into the pdf folder and see if I can find something suspicious...
If you have any ideas on the matter feel free to bud in :P
doens't mean anything to me - we don't have a 403.shtml file in Simple Invoices
one other thing - have a read up on html2pdf documents ( http://www.tufat.com/s_html2ps_html2pdf.htm ) - think there may be some special image setting we aren't using that may help you - just a thought
Out of memory errors - if you edit the php.ini file and a setting straddles a line with the comments overflowing, then we get this error. Also the php script timeout setting should be set to atleast 90 seconds to allow for generating PDF with bundled fonts.