• Resolved Phil

    (@owendevelopment)


    Since updating the plugin, I needed to update my logo but after choosing one, it doesn’t save.

    I’ve tried png and jpg but it doesn’t save. When I revisit settings, there is no logo stored and nothing appears on the invoice at all.

    Was just about to buy the premium version too :/

Viewing 15 replies - 1 through 15 (of 20 total)
  • Hello,
    Just to add to this user posting.
    I have just downloaded the latest plugin and I have latest of all plugin, but I simply cannot save JPG/JPEG or PNG format.

    As soon as I save the “Browse…” btn shows “No file selected”. My guess is that when it works correctly you would see the file name instead

    Shame good plugin to move away from …any chance of fix soon?
    Rgds
    C. Bhurji

    Plugin Author Bas Elbers

    (@baaaaas)

    How big are the images?
    Can someone send me your logo or just another image that is not working?

    This is my brief from my other thread:

    No matter what type of image I select (jpg or png) the logo image will not be stored. The “Browse…” btn keeps showing “No file selected”. I have selected a correct image type and then saved the page but nothing appears on the PDF page. Tried several different images with same results.

    I am not sure how to attach files in this forum, so I have provided you a dropbox link which is our company logo https://www.dropbox.com/s/g5rcyvaumr29j5g/vc1.png?dl=0

    Rgd
    C. Bhurji

    Thread Starter Phil

    (@owendevelopment)

    The one that was working before (that now won’t re-upload/save) is a .png, 384?×?68px, 5kb.

    Sorry but that is one small image!

    I tried resizing what I just send you and even at 100x60px the size is 25KB (which is quite decent)

    You need to find a solution to this otherwise I don’t think this will work!

    Plugin Author Bas Elbers

    (@baaaaas)

    @cbhurji logo is working fine over here.

    Since version 2.6.2, I’ve changed company logo setting. Upload logo to Media Library and copy and paste url into setting. Try to generate invoice on Edit Order page.

    Still no logo visible? Enable WP and mPDF debugging and try to create an invoice on Edit Order page. Do you get any errors?

    No errors? Copy and paste your WooCommece status in this topic.

    • This reply was modified 8 years, 1 month ago by Bas Elbers.

    Before this message, I saw your latest update for plugin. Updated;tried pasting full path URL (as per instruction in template) and still no joy

    I try creating your mPDF debug. Where does it dump to?

    Plugin Author Bas Elbers

    (@baaaaas)

    Do you use base encode 64 filter within themes functions.php? Please remove this filter if so.

    Can you post your WooCommerce Status Report?

    I am not sure about encode 64bit so I guess I don’t have this as I checked function.php file and searched for relevant words but found none.

    I sending you status report from my localhost server. I have tested both main server and localserver and the missing logo exist on both

    Dropbox link: https://www.dropbox.com/s/hlx3lwjpw5hs7an/WooCommerce%20Status%20%E2%80%B9%20VC%20Ltd%20Commerce%20%E2%80%94%20WordPress.pdf?dl=0

    Plugin Author Bas Elbers

    (@baaaaas)

    @owendevelopment does it work for you since version 2.6.2?

    @cbhurji please completely delete plugin and try to install and activate again. WooCommerce Report Status seems ok to me.

    You did not change the css of the template and accidentally removed logo or changed the opacity? Just to be sure. ??

    What happens if you just add below code to template? Replace YOUR_IMAGE_URL with actual url.

    <img src="YOUR_IMAGE_URL"/>

    • This reply was modified 8 years, 1 month ago by Bas Elbers.
    • This reply was modified 8 years, 1 month ago by Bas Elbers.

    Hello Bas,
    So here is my input and also a que for you that I have asked several times (indirectly), but no ‘direct’ answer from you.

    I have done what you asked…deleted…reinstalled your plugin and exactly the same problem!
    I can also assure you that I am quite savvy with images, opacity, variations, etc. and none of these issues applies to my problem.

    Now my que: On your side you obviously have this all working. My question to you is that in your plugin; under Template tab; under Company Logo option; once you have selected your media, whether it is a local directory path or actual internet URL AND saved the page. Do you see the path displayed correctly in the selection box? Because after save the path disappears in my side and this does NOT look normal to me

    Plugin Author Bas Elbers

    (@baaaaas)

    The complete url is displayed on my settings page.

    Do you have any special chars in your url? I think using esc_url() is the problem.
    Can you post the complete url? I’m trying to debug at the moment.

    When the url is not getting saved and is not displayed in the textbox, it either means that the system does not recognizes the file as an image or it just can’t find the url in database.

    Do you see one of these messages when saving form?
    – Company logo is not an image. The accepted file extensions/mime types are: .jpg, .jpeg, .gif, .png.
    – Company logo not found. First upload the image to the Media Library.

    I tried again and I used the ‘same’ image I shared with you on dropbox. I also moved this image to a simple path, to avoid and white space, characters etc. This is the path I used: ‘D:\Temp\vc1.png’, as this testing is on locathost and D drive is just a second drive

    Obviously when I hit Save btn, I don’t see the text box as the Save btn is at the bottom of the page and then after process finishes, the page jumps to the start of your Template tab. When I scroll down back to ‘Company logo’ box it is empty. I don’t see any error messages popping during this process

    Plugin Author Bas Elbers

    (@baaaaas)

    Since you are on local machine.. Can you add die( var_dump( $post ) ); multiple times to if statement in file class-bewpi-admin-settings-template.phpand post the output when saving settings?

    You can also shoot me an email and I will help you out right away.

    • This reply was modified 8 years, 1 month ago by Bas Elbers.
    Plugin Author Bas Elbers

    (@baaaaas)

    Or better without the die() function.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Logo not saving since update’ is closed to new replies.