Page 20 of 35 FirstFirst ... 10181920212230 ... LastLast
Results 191 to 200 of 345
  1. #191
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Big Royal Mail 3.0

    I am having a nightmare. Using v1.5.5a no template added.

    I have load this plugin and I have found the patch. Question is do I need to load 2016Update.sql? I have tried but getting errors.
    Code:
    [19-Sep-2016 20:28:47 Europe/London] Request URI: /office/sqlpatch.php?action=execute, IP address: 109.157.232.207
    #1 trigger_error() called at [/homepages/20/d503465712/htdocs/shops/cards/includes/classes/db/mysql/query_factory.php:167]
    #2 queryFactory->show_error() called at [/homepages/20/d503465712/htdocs/shops/cards/includes/classes/db/mysql/query_factory.php:139]
    #3 queryFactory->set_error() called at [/homepages/20/d503465712/htdocs/shops/cards/includes/classes/db/mysql/query_factory.php:266]
    #4 queryFactory->Execute() called at [/homepages/20/d503465712/htdocs/shops/cards/office/sqlpatch.php:304]
    #5 executeSql() called at [/homepages/20/d503465712/htdocs/shops/cards/xxxxxx/sqlpatch.php:672]
    
    [19-Sep-2016 20:28:47 Europe/London] PHP Fatal error: 1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"20.00&quot' at line 1 :: /* * Update for Big royal Mail postage rates valid from 29 March 2016 for latest rates visit http://www.royalmail.com * * Assumes weights in Kg costs in GBP. * * created by Mark Brittain. * * Donations via paypal to [email protected] * * N.B. I do not guarantee to update this every year please check the rates with royal mail. * * ***** update descriptions as descritpions.txt***** */ SET @Default_Insurance = "20.00"; ==> (as called by) /homepages/20/d503465712/htdocs/shops/cards/xxxxxx/sqlpatch.php on line 304 <== in /homepages/20/d503465712/htdocs/shops/cards/includes/classes/db/mysql/query_factory.php on line 167
    xxxxxx replaces my admin folder.
    Learning Fast.
    Eden Craft Supplies

  2. #192
    Join Date
    Apr 2009
    Posts
    417
    Plugin Contributions
    2

    Default Re: Big Royal Mail 3.0

    This may be an sql error. Can yo let me now what version of sql and php your are using? I have had issues on a test server with new SQL.

    Quote Originally Posted by adb34 View Post
    I am having a nightmare. Using v1.5.5a no template added.

    I have load this plugin and I have found the patch. Question is do I need to load 2016Update.sql? I have tried but getting errors.
    Code:
    [19-Sep-2016 20:28:47 Europe/London] Request URI: /office/sqlpatch.php?action=execute, IP address: 109.157.232.207
    #1 trigger_error() called at [/homepages/20/d503465712/htdocs/shops/cards/includes/classes/db/mysql/query_factory.php:167]
    #2 queryFactory->show_error() called at [/homepages/20/d503465712/htdocs/shops/cards/includes/classes/db/mysql/query_factory.php:139]
    #3 queryFactory->set_error() called at [/homepages/20/d503465712/htdocs/shops/cards/includes/classes/db/mysql/query_factory.php:266]
    #4 queryFactory->Execute() called at [/homepages/20/d503465712/htdocs/shops/cards/office/sqlpatch.php:304]
    #5 executeSql() called at [/homepages/20/d503465712/htdocs/shops/cards/xxxxxx/sqlpatch.php:672]
    
    [19-Sep-2016 20:28:47 Europe/London] PHP Fatal error: 1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"20.00"' at line 1 :: /* * Update for Big royal Mail postage rates valid from 29 March 2016 for latest rates visit http://www.royalmail.com * * Assumes weights in Kg costs in GBP. * * created by Mark Brittain. * * Donations via paypal to [email protected] * * N.B. I do not guarantee to update this every year please check the rates with royal mail. * * ***** update descriptions as descritpions.txt***** */ SET @Default_Insurance = "20.00"; ==> (as called by) /homepages/20/d503465712/htdocs/shops/cards/xxxxxx/sqlpatch.php on line 304 <== in /homepages/20/d503465712/htdocs/shops/cards/includes/classes/db/mysql/query_factory.php on line 167
    xxxxxx replaces my admin folder.
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

  3. #193
    Join Date
    Apr 2009
    Posts
    417
    Plugin Contributions
    2

    Default Re: Big Royal Mail 3.0

    Ok I have manage to reproduce. If you replace all the double quotes (") with single Quotes (') it works fine.

    Attached revised scripts. This effected other scripts as well on 1.5.5a. There are still two scripts I need to test. Hopfully these will be all the ones you need.
    155aSqlFix.zip


    Quote Originally Posted by adb34 View Post
    I am having a nightmare. Using v1.5.5a no template added.

    I have load this plugin and I have found the patch. Question is do I need to load 2016Update.sql? I have tried but getting errors.
    Code:
    [19-Sep-2016 20:28:47 Europe/London] Request URI: /office/sqlpatch.php?action=execute, IP address: 109.157.232.207
    #1 trigger_error() called at [/homepages/20/d503465712/htdocs/shops/cards/includes/classes/db/mysql/query_factory.php:167]
    #2 queryFactory->show_error() called at [/homepages/20/d503465712/htdocs/shops/cards/includes/classes/db/mysql/query_factory.php:139]
    #3 queryFactory->set_error() called at [/homepages/20/d503465712/htdocs/shops/cards/includes/classes/db/mysql/query_factory.php:266]
    #4 queryFactory->Execute() called at [/homepages/20/d503465712/htdocs/shops/cards/office/sqlpatch.php:304]
    #5 executeSql() called at [/homepages/20/d503465712/htdocs/shops/cards/xxxxxx/sqlpatch.php:672]
    
    [19-Sep-2016 20:28:47 Europe/London] PHP Fatal error: 1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"20.00"' at line 1 :: /* * Update for Big royal Mail postage rates valid from 29 March 2016 for latest rates visit http://www.royalmail.com * * Assumes weights in Kg costs in GBP. * * created by Mark Brittain. * * Donations via paypal to [email protected] * * N.B. I do not guarantee to update this every year please check the rates with royal mail. * * ***** update descriptions as descritpions.txt***** */ SET @Default_Insurance = "20.00"; ==> (as called by) /homepages/20/d503465712/htdocs/shops/cards/xxxxxx/sqlpatch.php on line 304 <== in /homepages/20/d503465712/htdocs/shops/cards/includes/classes/db/mysql/query_factory.php on line 167
    xxxxxx replaces my admin folder.
    Last edited by brittainmark; 19 Sep 2016 at 10:23 PM. Reason: Added more scripts
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

  4. #194
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Big Royal Mail 3.0

    Quote Originally Posted by brittainmark View Post
    This may be an sql error. Can yo let me now what version of sql and php your are using? I have had issues on a test server with new SQL.
    Sql is 5.5 php as supplied with v1.5.5a
    Learning Fast.
    Eden Craft Supplies

  5. #195
    Join Date
    Apr 2009
    Posts
    417
    Plugin Contributions
    2

    Default Re: Big Royal Mail 3.0

    Its a change in 1.5.5a see https://www.zen-cart.com/showthread....80#post1318780 above.
    Quote Originally Posted by adb34 View Post
    Sql is 5.5 php as supplied with v1.5.5a
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

  6. #196
    Join Date
    Apr 2009
    Posts
    417
    Plugin Contributions
    2

    Default Re: Big Royal Mail 3.0

    Additionally I think there might be an issue in the quote.php. This can be found in YOUR_SITE\includes\modules\shipping\BigRoyalMail.
    To be consistant you need to change (line 69 to 72) from
    PHP Code:
        $attribute_postage_select 'SELECT ifnull(max(pov.products_options_values_sort_order), 0) as postage_attribute
                FROM ' 
    TABLE_PRODUCTS_OPTIONS_VALUES ' pov INNER JOIN ' TABLE_PRODUCTS_ATTRIBUTES ' pa ON pov.products_options_values_id = pa.options_values_id
                INNER JOIN ' 
    TABLE_PRODUCTS_OPTIONS ' po ON po.products_options_id = pa.options_id
                WHERE pa.products_id IN (' 
    $products_list ') AND po.products_options_name = "Minimum Delivery Method:"'
    to

    PHP Code:
        $attribute_postage_select 'SELECT ifnull(max(pov.products_options_values_sort_order), 0) as postage_attribute
                FROM ' 
    TABLE_PRODUCTS_OPTIONS_VALUES ' pov INNER JOIN ' TABLE_PRODUCTS_ATTRIBUTES ' pa ON pov.products_options_values_id = pa.options_values_id
                INNER JOIN ' 
    TABLE_PRODUCTS_OPTIONS ' po ON po.products_options_id = pa.options_id
                WHERE pa.products_id IN (' 
    $products_list ') AND po.products_options_name = \'Minimum Delivery Method:\''
    I am away for a couple of weeks (so may me slow to respond). I will fully test all this again when I am back on 1.5.5a withe the latest SQL to see if I can find any more issues. Mean time if you do find any other issues please let me know.

    Quote Originally Posted by brittainmark View Post
    Last edited by brittainmark; 22 Sep 2016 at 08:24 AM. Reason: to correct flow of e-mail
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

  7. #197
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Big Royal Mail 3.0

    Quote Originally Posted by brittainmark View Post
    Additionally I think there might be an issue in the quote.php. This can be found in YOUR_SITE\includes\modules\shipping\BigRoyalMail.
    To be consistant you need to change (line 69 to 72) from
    PHP Code:
        $attribute_postage_select 'SELECT ifnull(max(pov.products_options_values_sort_order), 0) as postage_attribute
                FROM ' 
    TABLE_PRODUCTS_OPTIONS_VALUES ' pov INNER JOIN ' TABLE_PRODUCTS_ATTRIBUTES ' pa ON pov.products_options_values_id = pa.options_values_id
                INNER JOIN ' 
    TABLE_PRODUCTS_OPTIONS ' po ON po.products_options_id = pa.options_id
                WHERE pa.products_id IN (' 
    $products_list ') AND po.products_options_name = "Minimum Delivery Method:"'
    to

    PHP Code:
        $attribute_postage_select 'SELECT ifnull(max(pov.products_options_values_sort_order), 0) as postage_attribute
                FROM ' 
    TABLE_PRODUCTS_OPTIONS_VALUES ' pov INNER JOIN ' TABLE_PRODUCTS_ATTRIBUTES ' pa ON pov.products_options_values_id = pa.options_values_id
                INNER JOIN ' 
    TABLE_PRODUCTS_OPTIONS ' po ON po.products_options_id = pa.options_id
                WHERE pa.products_id IN (' 
    $products_list ') AND po.products_options_name = \'Minimum Delivery Method:\''
    I am away for a couple of weeks (so may me slow to respond). I will fully test all this again when I am back on 1.5.5a withe the latest SQL to see if I can find any more issues. Mean time if you do find any other issues please let me know.
    In installed, in order; InstallFix.sql; zen_Install3.2.sql and then 2016Update.sql

    Did not get any errors loading. All is OK so far. I have not tested bought anything yet
    Learning Fast.
    Eden Craft Supplies

  8. #198
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Big Royal Mail 3.0

    Quote Originally Posted by adb34 View Post
    In installed, in order; InstallFix.sql; zen_Install3.2.sql and then 2016Update.sql

    Did not get any errors loading. All is OK so far. I have not tested bought anything yet
    Last bit should have read as 'I have not a 'buy test' anything yet
    Learning Fast.
    Eden Craft Supplies

  9. #199
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Big Royal Mail 3.0

    Quote Originally Posted by adb34 View Post
    In installed, in order; InstallFix.sql; zen_Install3.2.sql and then 2016Update.sql

    Did not get any errors loading. All is OK so far. I have not tested bought anything yet
    Last bit should have read as 'I have not a 'buy test' anything yet
    Learning Fast.
    Eden Craft Supplies

  10. #200
    Join Date
    Sep 2006
    Posts
    163
    Plugin Contributions
    1

    Default Re: Big Royal Mail 3.0

    Is there an update for new postage prices?

 

 
Page 20 of 35 FirstFirst ... 10181920212230 ... LastLast

Similar Threads

  1. v154 Big / Basic Royal Mail??
    By Man from Mars in forum Addon Shipping Modules
    Replies: 1
    Last Post: 19 Apr 2016, 02:07 PM
  2. big royal mail module
    By Sushigal in forum Addon Shipping Modules
    Replies: 3
    Last Post: 25 Nov 2009, 04:58 PM
  3. Big Royal mail
    By ben harry in forum Addon Shipping Modules
    Replies: 2
    Last Post: 20 Jul 2008, 01:11 PM
  4. Big Royal Mail - Big Error - Shipping Abroad
    By bleazy in forum Addon Shipping Modules
    Replies: 0
    Last Post: 14 Jul 2008, 03:01 PM
  5. Warning: Big Royal Mail
    By Rookie gone MAD! in forum Addon Shipping Modules
    Replies: 2
    Last Post: 11 Sep 2007, 08:33 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR