Jump to content

Claudia M

Member
  • Content Count

    460
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Claudia M

  1. I use radio buttons on checkout. I might not have made all the changes I need to - before I went back to the stock CC6.2.2.2 js/2.cubecart. In the skin checkout template: <input name="gateway" type="radio" class="nosubmit" value="{$gateway.folder}" id="{$gateway.folder}" required {$gateway.checked} rel="gateway_error"><label for="{$gateway.folder}">{$gateway.description}</label> In the skin js/2.cubcart: $(".autosubmit select").not('.nosubmit').change(function() { Change to: $(".autosubmit select, .autosubmit input[type=radio]").not('.nosubmit').change(function() { Line 408: /* We must only show grid view with 1 grid column for medium */ if(Foundation.utils.is_small_only()) { grid_view(0); $('#content_checkout_medium_up').remove(); } if(Foundation.utils.is_medium_up()) { $('#content_checkout_small').remove(); } }); I noticed there have been many topics and many changes for the use of radio buttons. Can you just show me ALL the changes I am suppose to make so I can do this right? Thanks, Claudia
  2. Didn't make sense to me either. Just weird that it worked after I went back to the Cc6.2.2 file
  3. I'm in the process of creating my custom skin based on Foundation from CC6.2.5. My image was showing too small so I changed lines 4-14, I think that's right - whatever was changed in CC6.2.5, back to the code from CC6.2.2 and it worked. However, I noticed later that my small screen would not open the left and right off canvas. No menu of shopping basket. It took days to figure it out. When I changed back to the complete CC6.2.2 2.cubecart.js file everything worked. Could it have something to do with the other change to that file on lines 406 and 410? Everything else is stock CC6.2.5. Just hope noone else had this problem. /* We must only show grid view with 1 grid column for medium */ if(Foundation.utils.is_small_only()) { grid_view(0); $('#content_checkout_medium_up').remove(); $("[checked]").prop("checked",true); } if(Foundation.utils.is_medium_up()) { $('#content_checkout_small').remove(); $("[checked]").prop("checked",true); } }); Claudia
  4. Thank you so much Brian!! That was really bugging me!
  5. This has bugged me for quite awhile so I'm finally going to ask. I use a custom skin based on Foundation. I want to create my own folder in custom skin/"images" for images I will use for that skin only. I can't figure out the relative url for these images. I've tried many combinations of dots and / but can't get it. What should I use? This works if the image is stored in the main images folder/icons for cubecart <img src="../images/icons/insta-4040.gif but what if I wanted to put it in my custom skin/images/myfolder Thanks in advance for any and all help Claudia
  6. Hi, Ever since I upgraded to the latest PayPal Checkout (it replaced PayPal Pro) I keep getting these errors over and over in my created error log. What should I do. [24-Apr-2019 17:49:39 America/Louisville] PHP Warning: unlink(/home/claudias/public_html/includes/extra/PayPal_acceptance.js) [<a href='http://docs.php.net/manual/en/function.unlink.php'>function.unlink.php</a>]: No such file or directory in /home/claudias/public_html/modules/plugins/PayPal_Pro/admin/index.inc.php on line 56 [24-Apr-2019 17:56:41 America/Louisville] PHP Warning: unlink(/home/claudias/public_html/includes/extra/PayPal_acceptance.js) [<a href='http://docs.php.net/manual/en/function.unlink.php'>function.unlink.php</a>]: No such file or directory in /home/claudias/public_html/modules/plugins/PayPal_Pro/admin/index.inc.php on line 56 [24-Apr-2019 17:56:42 America/Louisville] PHP Warning: unlink(/home/claudias/public_html/includes/extra/PayPal_acceptance.js) [<a href='http://docs.php.net/manual/en/function.unlink.php'>function.unlink.php</a>]: No such file or directory in /home/claudias/public_html/modules/plugins/PayPal_Pro/admin/index.inc.php on line 56 [24-Apr-2019 17:56:43 America/Louisville] PHP Warning: unlink(/home/claudias/public_html/includes/extra/PayPal_acceptance.js) [<a href='http://docs.php.net/manual/en/function.unlink.php'>function.unlink.php</a>]: No such file or directory in /home/claudias/public_html/modules/plugins/PayPal_Pro/admin/index.inc.php on line 56 [24-Apr-2019 17:56:46 America/Louisville] PHP Warning: Invalid argument supplied for foreach() in /home/claudias/public_html/classes/cubecart.class.php on line 2224 [25-Apr-2019 12:01:26 America/Louisville] PHP Warning: Invalid argument supplied for foreach() in /home/claudias/public_html/classes/ajax.class.php on line 170 Thanks in advance for any and all help Claudia
  7. Yes, cards is enabled Fixed it! Funding Icons (Horizontal Only) is set to hide by default. Change that to show and they appear.
  8. I have the card payments enabled but the card icons (on the Cubecart checkout page) show only for a split second then disappear. Any idea what I'm doing wrong?
  9. I think it is working the way it should. However, with PayPal Pro there was a page on my website where the customer entered their credit card info - seems like they were paying on my site not PayPal. No mention of PayPal at all. Is that gone now? If not, I had customized the form for this, but I can't find the plugin in cPanel. Where is this located? Thanks again,
  10. Thanks Al, I have PayPal Checkout enabled with Smart Button. Gateway Live Payment action sale. I got the Client ID from the developer page and tested the endpoint in admin - server was able to connect to PayPal. But I still don't know if I setup the client ID correctly. None of my product or checkout pages look any different. I just started a test order and clicked the PayPal Checkout button on the shopping cart page in my website. I did get the popup PayPal page. Can this button be added to the Product Page as shown in the capture above or is that something that is waiting on the new PayPal intergration and would it not work with the steps CubeCart uses for checkout?
  11. I am really confused about which PayPal plugin I should be using and how to implement it. I was using PayPal Website Payments Pro & Express Checkout but my admin said I had 2 extension updates and when I updated it changed it to PayPal Checkout. I used PayPal standard before but have disabled it, though my admin says an update is available. These images are shown in the marketplace for the PayPal Checkout extension. How do you implement them? I've gone to the PayPal developers page but I don't understand any of that. Plus there is no coding in the Foundation / templates / element.product.call_to_action to put a PayPal button. When I click on the documentation tab in the marketplace extension it doesn't do anything. Can someone please explain all this in a way a person not knowledgable in all this can understand? Oh, and what about PayPal powered by Brain Tree? Something else to wonder about. Thanks in advance, Claudia
  12. Got it Brian. I'll just delete them and be happy CubeCart is doing such a good job keeping my site safe.
  13. What about the part that isn't "Most of that"?
  14. Is there anything I should do? Should this be reported?
  15. I found these in the cPanel error log. Any idea what they mean? What should I do to quit getting them as I got the same ones yesterday too. Thanks in advance for any and all help. I replaced my database name with xxx Claudia 10-Apr-2019 01:19:57 UTC] PHP Warning: Invalid Security Token in /home/xxx/public_html/classes/sanitize.class.php on line 155 [10-Apr-2019 01:21:01 UTC] PHP Warning: Stored session data did not match DB record. Session aborted as possible session hijack. Old IP Address: '91.121.222.157' New IP Address: '91.121.222.157' Old User Agent: '}__test|O:21:&quot;JDatabaseDriverMysqli&quot;:3:{s:2:&quot;fc&quot;;O:17:&quot;JSimplepieFactory&quot;:0:{}s:21:&quot; in /home/xxx/public_html/classes/session.class.php on line 700 [09-Apr-2019 21:32:46 America/Louisville] PHP Warning: No customer information detected. Order summary was not built or inserted. in /home/xxx/public_html/classes/order.class.php on line 1362 [10-Apr-2019 01:35:13 UTC] PHP Warning: Invalid Security Token in /home/xxx/public_html/classes/sanitize.class.php on line 155 [10-Apr-2019 16:24:28 UTC] PHP Warning: Stored session data did not match DB record. Session aborted as possible session hijack. Old IP Address: '192.99.4.102' New IP Address: '192.99.4.102' Old User Agent: '}__test|O:21:&quot;JDatabaseDriverMysqli&quot;:3:{s:2:&quot;fc&quot;;O:17:&quot;JSimplepieFactory&quot;:0:{}s:21:&quot; in /home/xxx/public_html/classes/session.class.php on line 700 [10-Apr-2019 16:24:55 UTC] PHP Warning: Security Warning: Illegal array key "#post_render" was detected and was removed. in /home/xxx/public_html/classes/sanitize.class.php on line 114 [10-Apr-2019 16:24:55 UTC] PHP Warning: Security Warning: Illegal array key "#type" was detected and was removed. in /home/xxx/public_html/classes/sanitize.class.php on line 114 [10-Apr-2019 16:24:55 UTC] PHP Warning: Security Warning: Illegal array key "#markup" was detected and was removed. in /home/xxx/public_html/classes/sanitize.class.php on line 114 [10-Apr-2019 16:24:55 UTC] PHP Warning: Security Warning: Illegal array key "#post_render" was detected and was removed. in /home/xxx/public_html/classes/sanitize.class.php on line 114 [10-Apr-2019 16:24:55 UTC] PHP Warning: Security Warning: Illegal array key "#type" was detected and was removed. in /home/xxx/public_html/classes/sanitize.class.php on line 114 [10-Apr-2019 16:24:55 UTC] PHP Warning: Security Warning: Illegal array key "#markup" was detected and was removed. in /home/xxx/public_html/classes/sanitize.class.php on line 114 [10-Apr-2019 16:26:07 UTC] PHP Warning: Stored session data did not match DB record. Session aborted as possible session hijack. Old IP Address: '192.99.4.102' New IP Address: '192.99.4.102' Old User Agent: '}__test|O:21:&quot;JDatabaseDriverMysqli&quot;:3:{s:2:&quot;fc&quot;;O:17:&quot;JSimplepieFactory&quot;:0:{}s:21:&quot; in /home/xxx/public_html/classes/session.class.php on line 700 [10-Apr-2019 16:26:25 UTC] PHP Warning: Stored session data did not match DB record. Session aborted as possible session hijack. Old IP Address: '192.99.4.102' New IP Address: '192.99.4.102' Old User Agent: '}__test|O:21:&quot;JDatabaseDriverMysqli&quot;:3:{s:2:&quot;fc&quot;;O:17:&quot;JSimplepieFactory&quot;:0:{}s:21:&quot; in /home/xxx/public_html/classes/session.class.php on line 700
  16. That must have done it Brian. I'm no longer getting the orange error in admin/database. Thank you so much!
  17. Brian I cannot get this to work at all. Can I delete, drop, the custom_oid and query it back in correctly from the start? If so how would I word the query?
  18. " I believe you can just click the edit icon for custom_oid and change the BTREE to UNIQUE. " It will only let me change BTREE to HASH under advanced options/ Index type. When I try to change the INDEX choice to Unique is when I get the error. For the life of me I cannot find a custom_oid_2
  19. When I try to change the index to Unique I get this error, I don't have a column custom_oid_2 Error SQL query: ALTER TABLE `CubeCart_order_summary` ADD UNIQUE(`custom_oid`) MySQL said: #1062 - Duplicate entry '' for key 'custom_oid_2'
  20. I do have the 'live_from' column. I have tried to getthe "dimension_unit' column to say Yes 'cm' but it won't take I guess. I put the following in admin/Query MySQL Database ALTER TABLE `CubeCart_inventory` CHANGE `dimension_unit` `dimension_unit` VARCHAR(2) NULL DEFAULT 'cm'; #EOQ. This was straight from the 6.2.3 db file. I got the above to work. I'll see if I get more errors Now I keep getting this error: [20-Mar-2019 09:50:24 America/Louisville] PHP Warning: http_build_query() [<a href='http://docs.php.net/manual/en/function.http-build-query.php'>function.http-build-query.php</a>]: Parameter 1 expected to be Array or Object. Incorrect value given in /home/claudias/public_html/classes/db/database.class.php on line 522 ADMIN ERROR LOG: File: [database.class.php] Line: [556] "ALTER TABLE `CubeCart_inventory` CHANGE `dimension_unit` `dimension_unit` VARCHAR(2) NULL DEFAULT 'cm' " - 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 ''cm'' at line 1 Also, what about that orange banner error. I seems I got that awhile back in another version. Thanks for all your help.
  21. Upon inspection it does seems that my database did upgrade. This is what I added back. Is it correct? And why am I still getting this orange error?
  22. I deleted the product_width, product_height, product_depth and dimension_unit fields from my database a few versions ago because I don't use them. When I upgraded to the next version it automatically readded them, so I deleted them again. I know, I know I should have left them alone and will once this is figured out. Anyway, upgraded to 6.2.4 and these fields were not automatically added and I don't have the tax_percent field either. I went ahead and added the product_width, product_height, product_depth and dimension_unit fields I also get the orange error in admin/database. CubeCart_order_summary.custom_oid has a key type KEY but expecting UNIQUE KEY. I have fields in the inventory table that I have added and what have been added via plugins. I don't think my database was updated when I upgraded to 6.2.4. In the 6.2.4 detup/db/upgrade file it says to CHANGE `dimension_unit` `dimension_unit` VARCHAR(2) NULL DEFAULT 'cm';. I don't know how to do that. I'd like to be sure my database is upgraded to the the current version 6.2.4. Anyway for me to check? When I upgraded I did get the red banner telling me to upgrade my database, which I did. Thanks for any and all help.
  23. Hey Brian, If I use the code you gave me it works like I want. Thanks so much!! {if $product.available and $product.ctrl_stock}
×
×
  • Create New...