Jump to content


  • Content count

  • Joined

  • Last visited

Posts posted by Gary-London

  1. well, you dont have to use a png image but if you do then as the error suggests make sure you dont have Alpha channel in it since it is not supported.

    do you a favour to use a gif or jpg image.






    Where abouts in the code do I change the file extension? i.e from '.png' to '.gif'?





  2. Getting a strange error message...


    FPDF error: Alpha channel not supported: images/oscommerce.png


    I have replaced the 'oscommerce.png' file with the store logo, but left the file name the same, so in theory it would just display the logo instead of the oscommerce logo.


    Any one had the same error? or a way around?





  3. Steve,

    Just a quick question. I have installed Protection of Configuration and have secured the two config files perfectly fine. Which was the main reason that I installed it as I am on a Windows shared hosting and cannot change the levels of security on the folders.


    However, I have just been looking at the other folders that I can change the security levels on and found that even if I select to secure them, and it confirms it at the top, nothing changes.


    I have attached a screen shot below for reference.




    Any advice would be helpful!


    Thanks!! :)

  4. Code correction...


    $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link('invoice_pdf.php', 'oID=' 
    . $oInfo->orders_id) . '" TARGET="_blank">' . tep_image_button('button_invoice_pdf.gif', 'generate pdf invoice for this order')
    . '</a>'); 


    Other than this it works perfectly and will save me some time!

  5. Is there any way to break down the $content code?


    For example...


    <h1 class="pagetitle">$pagetitle</h1>
    <div class="column1-unit">
    <hr class="clear-contentunit" />


    Also I have a width of 540px to fit the shop into. Is there any way in this template system to restrict the widths of the tables? or do I need to edit the actual oscommerce files?

  6. Confused now?! :blush:


    I have just installed osCommerce Online Merchant v2.2 Release Candidate 1, and want to add a GBP Add-on so that all prices are shown in GBP.


    I have looked that the contributions section and downloaded the file. But am not sure what to do with it. I have tried importing it into the MySQL database but got an error, and then tried copying it and executing it, with no luck.


    Could some one nudge me in the right direction?! ;)