Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2007
    Location
    Milton Keynes UK
    Posts
    153
    Plugin Contributions
    0

    Default problems installing PDF Order Center

    I would like some help from DrByte Please
    I get this error when I try to install the SQL patch:

    Errore

    query SQL:
    #NEXT_X_ROWS_AS_ONE_COMMAND:2
    INSERT INTO configuration_group
    VALUES ( '', 'PDF Order Center', 'User-customizable defaults for PDF Order Center.', @sortorder +1, 1
    );


    Messaggio di MySQL:
    #1136 - Column count doesn't match value count at row 1

    I would really like some help please
    Thanks in advance

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: I can’t any longer install any SQL-patches.

    Quote Originally Posted by francocauter View Post
    I get this error when I try to install the SQL patch:

    Errore

    query SQL:
    #NEXT_X_ROWS_AS_ONE_COMMAND:2
    INSERT INTO configuration_group
    VALUES ( '', 'PDF Order Center', 'User-customizable defaults for PDF Order Center.', @sortorder +1, 1
    );


    Messaggio di MySQL:
    #1136 - Column count doesn't match value count at row 1

    I would really like some help please
    Thanks in advance
    What version of Zen Cart are you using?
    What other addons/contributions have you installed, besides the PDF order center?
    What version of Zen Cart was this PDF Order Center contribution written for?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2007
    Location
    Milton Keynes UK
    Posts
    153
    Plugin Contributions
    0

    Default Re: I can’t any longer install any SQL-patches.

    Version of zen-cart 1.3.7 patch:1
    No other invoice modules installed. I have installed other shipping modules and the vat mod for european companies

    This is the info on the PDFOC mod:


    Download Now!
    File size: 257290 bytes
    Downloaded: 4331 times
    Zen Cart™ Version: v1.3.0
    Version: 1.1.1
    Last Updated: Jun 12 2006
    Author: Grayson

    What Is PDF Order Center?
    -=-=-=-=-=-=-=-=-=-=-=-=-

    PDF Order Center is an alternative to the default ZC order processing setup in Admin::Customer::Orders for people who want to print PDF instead of HTML files. Like the default setup, PDFOC allows you to update order status, optionally including comments, optionally e-mailing the customer; delete an order; and print an invoice or packing slip for an order. But PDFOC also allows you to:

    - process multiple orders at a time (batch processing)
    - print shipping labels
    - print price quotes and credit invoices
    - make minor customizations to the invoice format from the PDFOC control panel
    - create a unique, sequential invoice number for each order

    And as the name implies, PDFOC creates PDF invoices, packing slips, etc. PDFOC works with a template system, which allows you to easily add additional document formats as desired.

    For the record: PDFOC is not nearly as comprehensive as the Super Orders contribution from BlindSide (Frank Koehl). PDFOC began as a port of Batch Print Center from osCommerce to Zen Cart. Along the way I spiffed up the interface and gradually expanded it to take over all the functionality of the default Zen Cart orders.php page, and added in a couple of extra features. PDFOC is meant to complement Super Orders, as an alternative for folks who want to be able to batch-print PDF invoices, packing slips, etc. You can use both contributions in your store.

    thanks

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: problems installing PDF Order Center

    well, something has modified the structure of your configuration_group table.

    To work around that, you'll need to modify the pdfoc.sql file:

    change this:
    Code:
    #NEXT_X_ROWS_AS_ONE_COMMAND:2
    INSERT INTO configuration_group
    VALUES ('', 'PDF Order Center', 'User-customizable defaults for PDF Order Center.', @sortorder+1, 1);
    to this:
    Code:
    #NEXT_X_ROWS_AS_ONE_COMMAND:2
    INSERT INTO configuration_group (configuration_group_title, configuration_group_description, sort_order, visible)
    VALUES ('PDF Order Center', 'User-customizable defaults for PDF Order Center.', @sortorder+1, 1);
    Also, since you've already run the commands earlier in the file, you'll need to REMOVE this part from the top of the file before you run it again to finish installation:
    Code:
    #NEXT_X_ROWS_AS_ONE_COMMAND:
    CREATE TABLE orders_invoices (
    orders_invoices_id int(11) NOT NULL auto_increment,
    invoice_date datetime NOT NULL default '0000-00-00 00:00:00',
    order_tax decimal(15,4) NOT NULL default '0.0000',
    order_total decimal(15,4) NOT NULL default '0.0000',
    invoice_type char(2) NOT NULL default '',
    orders_id int(11) NOT NULL default '0',
    PRIMARY KEY (orders_invoices_id)
    ) TYPE=MyISAM ;
    Last edited by DrByte; 5 Aug 2007 at 06:53 PM. Reason: fix typo
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jun 2007
    Location
    Milton Keynes UK
    Posts
    153
    Plugin Contributions
    0

    Default Re: problems installing PDF Order Center

    Thanks for your reply DrByte
    I now get this error:

    1054 Unknown column 'configruation_group_description' in 'field list'
    in:
    [INSERT INTO configuration_group (configuration_group_title, configruation_group_description, sort_order, visible) VALUES ('PDF Order Center', 'User-customizable defaults for PDF Order Center.', @sortorder+1, 1);]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

    I also deleted the table orders_invoices from the MySQL database

    still getting the same error

    Best Regards

  6. #6
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: problems installing PDF Order Center

    oops ... I made a typo ... "configruation_group_description"
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jun 2007
    Location
    Milton Keynes UK
    Posts
    153
    Plugin Contributions
    0

    Default Re: problems installing PDF Order Center

    Thanks DrByte for the quick reply
    I should have seen that myself
    I managed to do the table in the database and I can see the PDFOC
    In the end maybe was not worth the effort as I found I can print to PDF from the Orders/Invoice from the zen-cart normal orders module
    thanks for your help
    best regards

 

 

Similar Threads

  1. PDF Order Center
    By scubes13 in forum Addon Admin Tools
    Replies: 52
    Last Post: 9 Jan 2019, 03:06 PM
  2. PDF Order Center
    By cshellca in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 22 Aug 2010, 06:45 PM
  3. pdf order center
    By tavikki in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 23 Nov 2008, 07:36 PM
  4. can someone help please -- Problems with PDF Order Center
    By londoner1988 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 4 Mar 2008, 03:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg