My configuration is Joomla 2.5.3 / VM 2.02
I get the following error:
vmError: Cannot store pdf, directory not writeable /home/user/public_html/***/invoices/
JUser: :_load: Can't load user with ID: 52
In VM Configuration/Templates/Media File Settings against "Path for Sale" i have entered the full server path to my download directory (Permissions are set to 755).
I have also tried to set the specific serverpath permissions to 777. After that i get the following error:
==============
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /home/user/domains/website/public_html/libraries/tcpdf/tcpdf.php on line 7543
Warning: fopen(/home/user/domains/website/public_html/libraries/tcpdf/cache/img_c98a8007673c92d82d29f181336948cc) [function.fopen]: failed to open stream: Permission denied in /home/user/domains/website/public_html/libraries/tcpdf/tcpdf.php on line 7554
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/user/domains/website/public_html/libraries/tcpdf/tcpdf.php on line 7555
Warning: fclose() expects parameter 1 to be resource, boolean given in /home/user/domains/website/public_html/libraries/tcpdf/tcpdf.php on line 7556
Warning: unlink(/home/user/domains/website/public_html/libraries/tcpdf/cache/img_c98a8007673c92d82d29f181336948cc) [function.unlink]: No such file or directory in /home/user/domains/website/public_html/libraries/tcpdf/tcpdf.php on line 7561
TCPDF ERROR: [Image] Unable to get image: /home/user/domains/website/public_html/libraries/tcpdf/cache/img_c98a8007673c92d82d29f181336948cc
=============
What could be the problem?
Thanks
Is this any use? http://forum.virtuemart.net/index.php?topic=98633.0
The PHP warnings are all to do with creating the pdf - you can turn off the warings in Joomla 2.5 Gobla config/server/server settings
Which language on the site? I believe there are some isses with the pdf function for some languages.
Thanks for the reply.
I have turned off the warnings but that left me with the following error and without invoice pdf's :
TCPDF ERROR: [Image] Unable to get image: /home/user/domains/website/public_html/libraries/tcpdf/cache/img_c98a8007673c92d82d29f181336948cc
Language is Dutch.
Partly found the answer.
When i disable the (shipment)logo (xxx.jpg) that is attached to the shipping method, i do not get any errors and the pdf is being created.
Unfortunately i want to configure my website(i.c. cart) with the shipment logo.
What to do?
vmError: Warning extension of the image is a png, tpcdf has problems with that in the header, choose a jpg or gif.
vminvoice is not good looking anymore, after updating VM to v2.0.6.
I have just had the same problem:
vmError: Warning extension of the image is a png, tpcdf has problems with that in the header, choose a jpg or gif.
J1.7 and VM 2.0.6
Quote from: Clocked0ne on May 15, 2012, 13:12:33 PM
I have just had the same problem:
vmError: Warning extension of the image is a png, tpcdf has problems with that in the header, choose a jpg or gif.
J1.7 and VM 2.0.6
First you need to update your Joomla to the latest version, because v1.7 is end of life.
Second, don't use PNG format, but JPG or GIF for the picture of the Payment Method in Virtuemart.
I understand you want to use PNG, because of the transparant background, but it is not supported.
Thanks, it may be 'end of life' but I'm not going to update to 2.5 just for one issue - 2.5 wasnt supported correctly when I started building the site and with all the problems of VM2 as is... well an upgrade can wait as far as I'm concerned. Especially since it means a template redesign!
I will change the image file format for the payment methods, I don't actually need the transparency, I chose PNG because it was smaller filesize.
edit: Actually, both images are GIF format, so this is not the problem!
Not updating to the latest version, is your own responsebility. But if you don't update, don't ask for support.
Thanks, you're about as helpful as everyone else then... funny, I wasn't even asking for support, just reiterating the problem - I thought that there was full support in VM2 for Joomla 1.7 - if you seriously expect everyone to jump to 2.5 instantly when there are still lots of bugs you are delusional. Jumping onto VM2 was gamble enough given how development has panned out. There's a bug in the software but you would rather not be told because a customer hasn't instantly updated their core software to a later version, despite there being many other issues outweighing this?
You obviously don't run or manage many live sites. Keep dreaming the dream.
Sorry
I hope you understand that updating is important, because of bugs and security issues..
If you don't update, the bugs and vulnerabilities are still there...
There is a chance that the websites of your customers will be hacked soon, there are enough exploits on the internet.
So it is not professional if you don't update soon. Also Google is sending e-mails to Google Analytics customers, that Joomla v1.7 is not safe.
Of course, you are right there - this is why I am running VM2.0.6 and will upgrade all stable releases. I do intend to update at some point, but I disagree that it is right for all users to upgrade the Joomla core straight away when there is no guarantee of the issue going away or the platform remaining as stable with VM2. As I am running a live site it is not practical to migrate to 2.5 until I am certain of it all working correctly, it needs work and testing. Having read a little further it seems J1.7 templates should be the same as 2.5, I assumed they were the same as 1.5, so this is one less problem to deal with.
Sorry if I was being harsh, it just feels sometimes like people would rather brush an issue under the carpet than resolve it for everyone, I've seen this a lot lately.
You are right, first update Joomla and all 3rd party Extensions in a Test Environment. If everything is bug free, then go live in a Production Environment.
I'm sorry if i was not friendly :-[
Because of the need of support from the forum, the guys at the forum have to be more friendly than normal.
A good tip: Joomla v2.5 has a good update feature. And fix errors in the database.
I updated to 2.5.4 following your advice, it was pain free :) Thanks.
This problem still persists, but I think may be fixed in latest 2.0.7b - I will wait for the next Stable.
Which payment method are you using? I use ccIdeal, not Paypal.
I have great support from ccIdeal. They have made an new update and fixed the bugs...
My client opted to use Cardsave, which works flawlessly and so I have disabled Paypal as there are issues with it adding on additional VAT to the total (http://forum.virtuemart.net/index.php?topic=102687.0). They had the plugin developed within a couple of weeks.
Quote from: Clocked0ne on May 16, 2012, 21:10:54 PM
My client opted to use Cardsave, which works flawlessly and so I have disabled Paypal as there are issues with it adding on additional VAT to the total (http://forum.virtuemart.net/index.php?topic=102687.0). They had the plugin developed within a couple of weeks.
Is the newest version of Cardsave installed? Do they have a new version available?
Because you need also update the 3rd party extensions and Virtuemart Plugins.
I deal with error:
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /your_server_pathl/public_html/libraries/tcpdf/tcpdf.php on line 7543
by comment line 7543 (curl_setopt($cs, CURLOPT_FOLLOWLOCATION, true);) in /libraries/tcpdf/tcpdf.php.
It helps to store invoces correctly.
I was having the same png image error and it is in the main vendor in the shop. The main vendor logo can not be a png.
Should this still be happening? I updated an installation with the latest vm (3.0.84) yesterday, but still the same problem persists (payment invoices are returning the image error which stops the PDF from being generated, which stops the status being updated to 'confirmed', which stops the notification for my paypal payment plugin).
In testing after the update, the image logo for the payment plugin was saved. Previously I had gotten rid of the image (somehow, I can't recall), and things seemed to work. But on resaving the plugin parameters, it is impossible not to select an image.
Is there a way to have no image for the payment, so that at least the payment will work properly?
Thank for any tips.
Anthony
edit - oops, my plugin isn't a core vm paypal plugin. We've hacked it to not output the image, so no probs.