Jump to content



Photo
- - - - -

[Addon] PDF Datasheet

2.3.1 pdf

  • Please log in to reply
345 replies to this topic

#341   masterpiece

masterpiece
  • Members
  • 17 posts
  • Real Name:Dustin
  • Gender:Male

Posted 03 April 2014 - 13:06

Hi Jim,

I have update the language file in the directory but there will come a bunch of errors. When is solved the other errors there come more errors. So unfortunately i have to decide to delete the PDF datasheet from our server. To much time to edit all errors.

If you have a clean module for OSC 2.3 please let us know

Sorry for now

#342   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,293 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 03 April 2014 - 15:26

This addon is clean. The errors are in other additions that you have made. Clean up your own mess first.

Regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price in Cart Only/MAPP Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support
Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#343 ONLINE   joli1811

joli1811

    Anybody seen this leprechaun say yeah !!

  • Community Sponsor
  • 2,149 posts
  • Real Name:john dunlop
  • Gender:Male
  • Location:Ireland

Posted 09 September 2014 - 23:45

Hi Jim,

 

Yes, I forgot to mention that the current version of TCPDF has the language files in the wrong place. Sorry about that.

The PDF library is incredibly picky. You cannot have any PHP errors, not even warnings, or it will flake out. If you have added something that has errors, you have to go fix all of those first. It's a pain, but at least you get rid of all those errors that shouldn't be in the code anyway.

Regards
Jim

 

 

installed 2.3.4 working great but is indeed picky noticed one real  error

 

 

I had to create a directory called cache in public_html/ext/tcpdf/cache/


[07-Sep-2014 05:59:07 America/New_York] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open '/home/xxxx/public_html/xxx/ext/tcpdf/cache/__tcpdf_imgmask_alpha_7a3b12971cd0a899c65b8777882e8544' for writing: No such file or directory in /home/xxxx/public_html/xxxx/ext/tcpdf/tcpdf.php on line 7333

few errors with info manager this post of yours solved

post #5

http://forums.oscommerce.com/topic/358471-notice-undefined-variable-child-information-error/

/public_html/xxx/includes/modules/boxes/bm_information.php on line ?

Plus had a few scrolling boxes which I had to  change as they were giving errors but better ones available

 

It really is a bug hunter :D had a few language defines duplicated and it picked up right away

 

Working great now

 

Thanks

 

John


Edited by joli1811, 09 September 2014 - 23:49.

To improve is to change; to be perfect is to change often.

#344   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,293 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 09 September 2014 - 23:50

The cache directory used to be in the TCPDF package as well. That's one more thing I need to mention.

 

At least you got rid of all those ugly bugs. As you said, this is a good thing.

 

Regards

Jim


My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price in Cart Only/MAPP Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support
Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#345 ONLINE   joli1811

joli1811

    Anybody seen this leprechaun say yeah !!

  • Community Sponsor
  • 2,149 posts
  • Real Name:john dunlop
  • Gender:Male
  • Location:Ireland

Posted 10 September 2014 - 13:14

Found another mini bug may be useful for other users who do not have error reporting turned on products with specials price

[10-Sep-2014 08:19:52 America/New_York] PHP Notice:  Use of undefined constant TEXT_YOU_SAVE - assumed 'TEXT_YOU_SAVE' in /home/xxxx/public_html/includes/modules/pdf_datasheet/pd_image_price.php on line 265
[10-Sep-2014 08:19:52 America/New_York] PHP Notice:  Use of undefined constant TEXT_SALE_PRICE - assumed 'TEXT_SALE_PRICE' in /home/xxxx/public_html/includes/modules/pdf_datasheet/pd_image_price.php on line 284

just add to catalog/includes/languages/english.php

define('TEXT_SALE_PRICE', 'Price: ');
define('TEXT_YOU_SAVE', 'Special Price You Save:');

Regards

John


To improve is to change; to be perfect is to change often.

#346   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,293 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 10 September 2014 - 15:31

Thanks for the bug report. I'll add those defines to the master.

 

Regards

Jim


My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price in Cart Only/MAPP Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support
Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated