Jump to content

Search the Community

Showing results for tags 'cubecart v5'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • CubeCart News & Announcements
    • News & Announcements
  • CubeCart Support Forums
    • Issue / Bug Reporting & Feature Requests
    • Install & Upgrade Support
    • Official CubeCart Hosting
    • Technical Help
    • Customising Look & Feel
  • CubeCart Extension Marketplace
    • Visit the CubeCart Extension Marketplace
    • Extension Discussion
    • Developer Forum
  • General
    • General Discussion
    • Show Off

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location

  1. Please test: In the admin skin template settings.index.php, near line 369: Find: <div><label for="email_smtp_user">{$LANG.settings.smtp_user}</label><span><input name="config[email_smtp_user]" id="email_smtp_user" type="text" class="textbox" value="{$CONFIG.email_smtp_user}" autocomplete="off"></span></div> <div><label for="email_smtp_password">{$LANG.settings.smtp_pass}</label><span><input name="config[email_smtp_password]" id="email_smtp_password" type="password" class="textbox" value="{$CONFIG.email_smtp_password}" autocomplete="off"></span></div> Add after: <div><label for="smtp_test_url"><span style="color:red;font-weight:bold;">Save First, then</span> Launch Email Test</label><span> <button type="button" id="smtp_test_url" onclick="$.colorbox({ href:'{$STORE_URL}/{$SKIN_VARS.admin_file}?_g=xml&type=email&q={$CONFIG.email_smtp_password}&function=test' })">Test</button> </span></div> In admin, Manage Hooks, Code Snippets tab, Add Snippet: Enabled: Checked Unique ID: test_email@cubecart (<== max 32 chars) Execution Order: 1 Description: After saving email settings, makes a test email. Trigger: class.ajax.load Version: 1.0 Author: https://forums.cubecart.com/topic/49495-testing-the-stores-email-settings/ PHP Code: <?php if (CC_IN_ADMIN && isset($_GET['type']) && $_GET['type'] == 'email' && isset($_GET['function']) && $_GET['function'] == 'test') { $pass = ($_GET['q']) ? $_GET['q'] : ''; @ob_start(); $test_mailer = Mailer::getInstance(); $test_mailer->SMTPDebug = 2; $test_mailer->Debugoutput = "html"; $test_mailer->ClearAddresses(); $test_mailer->Password = $pass; $test_mailer->AddAddress($GLOBALS['config']->get('config', 'email_address')); $test_mailer->Subject = "Testing CubeCart"; $test_mailer->Body = "Testing from CubeCart v".CC_VERSION." at ".CC_STORE_URL; $test_mailer->AltBody = "Testing from CubeCart v".CC_VERSION." at ".CC_STORE_URL; // Send email $email_test_send_result = $test_mailer->Send(); $email_test_results = @ob_get_contents();@ob_end_clean(); if(!empty($email_test_results)) { $email_test_results_data = array ( 'request_url' => 'mailto:'.$GLOBALS['config']->get('config', 'email_address'), 'request' => 'Subject: Testing CubeCart', 'result' => $email_test_results, 'error' => ($email_test_send_result) ? null : "Mailer Failed" , ); $GLOBALS['db']->insert('CubeCart_request_log', $email_test_results_data); $json = $email_test_results; } else { $json = "Test failed to execute."; } } This will give you the dialog the Mailer has with whatever you have set as the means and server to accept emails from your store. A copy of the dialog is saved in admin, Request Log. The above needs testing! My development environment is not the same as a production environment.
  2. Hi all, My employer has tasked me with embedding a product demo video on a product page. I've had no trouble using the YouTube video however he has decided he wants the original file embedded to remove any association with YouTube. The code I used for the YouTube version worked fine. This was: <p> <iframe allowfullscreen="" frameborder="0" height="214" src="https://www.youtube.com/embed/LbAYBlrFhjI?feature=player_detailpage" width="380"></iframe> </p> I attempted altering the "src" to the files location on our server: https://www.leegodbold.com/public_html/video/kitsoundsonar.mp4 and https://www.leegodbold.com/public_html/video/kitsoundsonar.ogv However I get several error messages telling me that the sites security certificate is not valid, please contact the webmaster etc etc. Is there another way to embed the video? A way which I wouldn't have to deal with the security certificate and such other business. Any advice, positive or negative, would be really appreciated. I'm totally stumped as it stands as I'm not yet a pro with html. Thanks very much! George B
  3. Hi, I get the following error messages in my error log. Anyone who know if it's something that need to be taken care of? I sometimes get an "Internal Server Error" on my admin page. [Mon Mar 23 22:30:54 2015] [error] [client 37.2.146.2] PHP Warning: Invalid argument supplied for foreach() in /www/mysite/admin/sources/products.index.inc.php on line 1077, referer: http://www.mysite.com/admin.php?_g=products&sort%5Bupdated%5D=DESC&cat_id=135&action=edit&product_id=991 [Mon Mar 23 22:31:06 2015] [error] [client 37.2.146.2] PHP Warning: Invalid argument supplied for foreach() in /www/mysite/admin/sources/products.index.inc.php on line 342, referer: http://www.mysite.com/admin.php?_g=products&sort%5Bupdated%5D=DESC&cat_id=135&action=edit&product_id=991 [Mon Mar 23 22:34:04 2015] [error] [client 37.2.146.2] PHP Notice: GD::gdLoadFile - Unknown file type in /www/mysite/classes/gd.class.php on line 75, referer: http://www.mysite.com/admin.php?_g=categories&parent=111&action=edit&cat_id=200 [Mon Mar 23 22:35:49 2015] [error] [client 37.2.146.2] PHP Warning: Invalid argument supplied for foreach() in /www/mysite/classes/ajax.class.php on line 163, referer: http://www.mysite.com/admin.php?_g=categories&parent=111&action=edit&cat_id=200 [Mon Mar 23 22:36:29 2015] [error] [client 37.2.146.2] PHP Warning: Invalid argument supplied for foreach() in /www/mysite/admin/sources/categories.index.inc.php on line 19, referer: http://www.mysite.com/admin.php?_g=categories&parent=111&action=edit&cat_id=200 [Mon Mar 23 23:18:10 2015] [error] [client 37.2.146.2] PHP Warning: Invalid argument supplied for foreach() in /www/mysite/admin/sources/products.index.inc.php on line 1059, referer: http://www.mysite.com/admin.php?_g=products [Mon Mar 23 23:18:10 2015] [error] [client 37.2.146.2] PHP Warning: implode() [<a href='http://docs.php.net/manual/en/function.implode.php'>function.implode.php</a>]: Invalid arguments passed in /www/mysite/admin/sources/products.index.inc.php on line 1073, referer: http://www.mysite.com/admin.php?_g=products [Mon Mar 23 23:18:10 2015] [error] [client 37.2.146.2] PHP Warning: Invalid argument supplied for foreach() in /www/mysite/admin/sources/products.index.inc.php on line 1077, referer: http://www.mysite.com/admin.php?_g=products [Mon Mar 23 23:18:12 2015] [error] [client 37.2.146.2] PHP Notice: GD::gdLoadFile - Unknown file type in /www/mysite/classes/gd.class.php on line 75, referer: http://www.mysite.com/admin.php?_g=products&action=add [Mon Mar 23 23:18:14 2015] [error] [client 37.2.146.2] PHP Warning: Invalid argument supplied for foreach() in /www/mysite/admin/sources/products.index.inc.php on line 1059, referer: http://www.mysite.com/admin.php?_g=products&action=add [Mon Mar 23 23:18:14 2015] [error] [client 37.2.146.2] PHP Warning: implode() [<a href='http://docs.php.net/manual/en/function.implode.php'>function.implode.php</a>]: Invalid arguments passed in /www/mysite/admin/sources/products.index.inc.php on line 1073, referer: http://www.mysite.com/admin.php?_g=products&action=add [Mon Mar 23 23:18:14 2015] [error] [client 37.2.146.2] PHP Warning: Invalid argument supplied for foreach() in /www/mysite/admin/sources/products.index.inc.php on line 1077, referer: http://www.mysite.com/admin.php?_g=products&action=add [Tue Mar 24 00:07:07 2015] [error] [client 95.211.238.108] PHP Notice: GD::gdLoadFile - Unknown file type in /www/mysite/classes/gd.class.php on line 75 [Tue Mar 24 00:08:27 2015] [error] [client 95.109.121.109] PHP Warning: Invalid argument supplied for foreach() in /www/mysite/classes/cubecart.class.php on line 1691, referer: http://mysite.com//index.php?_a=category&cat_id=125&page=1 [Tue Mar 24 00:08:27 2015] [error] [client 95.109.121.109] PHP Warning: ksort() expects parameter 1 to be array, null given in /www/mysite/classes/cubecart.class.php on line 1718, referer: http://mysite.com//index.php?_a=category&cat_id=125&page=1
  4. I'm working on putting the meta title/description/keywords into the databases for my pages. However in the admin section under store settings > search engine, there is meta information. Which page does this information show for? The main page or every page on the site? Also, there is an option below it for Global Meta Data Behaviour with disable/merge/replace. What does this mean? Thank!
  5. Hi, I'm having a problem with my automatic e-mails. On a new order being placed (processing stage email selected) I receive an admin 'order confirmation', but the customer receives a cart 'confirmation' AND an admin 'confirmation'. On completing an order (manually changing status from processing to complete) no cart 'order complete' email is being sent to the customer (I need them to send as a follow up and feedback request). I have checked all my store settings>advanced settings and all seems ok, and there are no restrictions imposed from my server. I also have 'force order completed emails' selected, but I think this only refers to straight to complete orders? Any help would be greatly appreciated.
  6. Hi, I've managed to get an SSL certificate applied to my site, which is working fine. I would now like to add the trust seal badge, I have the code, and think the best place for the seal badge would be in the final 3rd of the 'search and language' bar at the top of the each page (as this is currently unused space). Could you tell me where I would need to add the code for this to happen. Thank as always for any help.
  7. Hi, I'd love some feedback on my site please. http://www.zakshomemade.com It's taken a while, as it's a first attempt, so any constructive critisism would be greatly appreciated. Thanks to BSmither and Al, along with others who have helped me along the way.
  8. Everytime I go to my site I get pushed to the login screen. Without fail, even with direct links to other pages. I'm assuming this is a cookie that remembers my login and wants me to just sign in. It's annoying. How do I disable this feature? Thanks
  9. Is there a way of slowing down the way the Sidebar toggles down for sub-categories? I don't mind the way that it toggles down but it is very trigger happy, and you only have to move your cursor over the sidebar before it starts expanding. It usually means you have to start chasing the menu item you are after, or stealthily approach it from the side. Here is the code from /skins/kurouto/js/script.js... /* Custom JavaScript for default template */ /* Acordion menu (only opens, doesn't collapse) */ $('#menu.accordion a ~ ul').each(function(){ $(this).siblings('a:first').addClass('menu_closed').hover(function(){ $(this).addClass('menu_open').siblings('ul').slideDown(); return; }); });
  10. I'd like to request the addition of Propay to the current list of Integrated Credit Card Gateways. This company has been around for years and is used by Artfire and other online ecommerce sites. Etsy members get a discount on their low yearly rate. Their fees are about the same as PayPal. They have lots of ways to process orders - USB card readers, Phones, online, etc. I've had an account with them for about 4 years. Very reliable.
  11. Does anyone know if CubeCart or anyone else has a tax module that will support County taxes? Or taxes by zipcode?
  12. I'm having an issue with the built in tax module. I'm placing the State tax rate at .029 for Colorado. When I get to check out, it shows 3% (think it should show 2.9% like it's supposed to but whatever) but it's charging it at .0003%. So a $100 total is showing up at 3 cents tax not 3 dollars. I've deleted the rule and replaced it and I'm still getting the same result. How do I correct this?
  13. Hello, I was running CC 5.2.15 (just upgraded to 5.2.16 today) and noticed a problem recently I think may be a hack. So, I noticed the problem when receive emails from the store after an order confirmation, so for example here is an order email I received (I edited identifying information about the customers) NOTE PLEASE DON"T CLICK ON ANY OF THESE LINKS SINCE I DON"T KNOW IF THEY ARE SAFE A HACKER MAY HAVE PUT THEM IN xxxxxx just placed order number 150217-134808-9488 on 17 Feb 2015, 13:48. This order can be managed online by following the link below. https://hyper-vpn.com/admin.php?_g=orders&action=edit&order_id=150217-134808-9488 Billing address: Email: xxxxxx Shipping address: Item Quantity Cost order 1 €30.00 Shipping: (Flat_Rate: Air Mail Delivery (1-3 days)) €34.00 Discount: €0.00 Subtotal: €300.00 Order Total: €64.00 Kind regards, Your Shop Staff https://hyper-vpn.com Notice, the top of my store logo in the beginning of the message, it was hyperlinking to "https://hyper-vpn.com" Also, if you notice both other links in the message, "order can be manages at online..." and "Kind regards, ...." there are links for https://hyper-vpn.com Now, the "https://hyper-vpn.com" is not our website at all, have never heard of it either. All other previous store emails were normal (giving our real shop URL). So, something has edited our system just recently so that the emails being sent out are replacing our store URL's with other URL's that I have never heard of. Also, I just heard from a customer today that they received a notification with links to a separate address of a site "https://www.englandinn.com/index.php?_a=product&product_id=5" So, something is changing this. Has anyone heard of this before? I am not sure if it is a Cubecart vulnerability, or its from my webhosting providor issues? I upgraded to 5.2.16 just now, does anything think this will solve the problem? Please let me know any input, thanks!
  14. Working for a client. The previous backup folder is 755. When I try to back up files or database, I am getting errors... either a 500 internal server error or a non resolving page. Any suggestions? Ideas? There are older file and db backups in the folder, but that shouldn't be an issue, should it? WARNING: Your store is not up-to-date, v5.2.16 is available, but you are running v5.2.13
  15. How do I unblock a locked account? I managed to lock myself out of my own store (lol) by forgetting I had the caps lock on. Now this is not my admin login, this is a customer account I created to test things. That being said, I was blocked from accessing it. I could not find anywhere how to unblock my account (or anyone elses for that matter). I tried to create another account and it blocked the creation of that as well (givenly) but than created it after I had to go in and delete the user.class.php file after 15 minutes of not allowing me to sign in. Not sure why it held onto that information if it was blocked from creating it.
  16. I'm trying to see if there is a way to create a gift certificate. The store settings gives me the option to purchase one, but I want to be able to just create them myself as well. I've looked in the database with no real solution, seems like all it shows is the same thing as my public html folder does... Any ideas?
  17. Call to a member function select() on a non-object in /XXXX/public_html/plushcatalog/classes/seo.class.php on line 753 I saw that someone was having problems with this message quite a few versions back, but I thought this had been fixed. I'm getting so many of them in a course of a few minutes that the error log is useless to me, as far as spotting any important messages in it. I understood from the other post that this is an unimportant message. If so, is there any way to keep this message from showing?
  18. There is a serious issue with the Register page of Cubecart. If a previous guest customer registers at checkout, all is fine. However, if they instead try to register using the "Register" link at the top of the page, they receive the following error: If they now try to order again as a Guest Customer, they get the following error and are completely unable to place any further orders: If they try to Register again, they receive the same "already being used" error, as above. The only way they can unlock their accounts and actually place any further orders after this has occurred, is to use the Recover Password function. This is a pretty major bug, that could potentially turn away customers. I see also that it has been posted on this forum previously here: '?do=embed' frameborder='0' data-embedContent>> BTW, this store was upgraded from version 3 and is otherwise working perfectly, besides this bug.
  19. Hi, I'm having trouble when changing an order received from 'Pending' to 'Processing' or 'Complete' it yields a blank page and doesn't complete the action. In System Error Log i've received this - [Exception] /var/sites/z/mystore.com/public_html/includes/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:22 - Syntax error in template "f0d9f60b8943a75aa73ac9a7d224e22fab4e9b24" on line 22 "brokenlinkimage{DATA.logoURL} the brokenlinkimage being {$DATA.storeName} I have edited my store name. Could anyone tell me what this means please, and how to fix it. Thanks
  20. At one time CC didn't handle images in folders very well, so I've always kept mine in the main source folder. But now I have 6k image files. Currently using 5.2.16 for live store. Is it currently safe to move images to folders? If so, how should I go about doing it - from within Filemanager, or create folders and move images via FTP?
  21. I am setting up my store, but for some reason the hover over image to zoon feature is definitely NOT working and I'm not sure how to fix it. I have been in the js.magnifier file and adjusted the width/height but it doesn't change anything. I'm not sure what else to honestly do. Any ideas?
  22. Hi, I am wondering if it's possible when using the shipping by weight option in the module settings to have 3 option names?? If so where do you go to change this and how so?? I am pretty new to cube cart and about to put the site live so this is one final job i need to do before that can happen. Thanks in advance!!
  23. Hi, I've just installed CC v5.2.16 and it seemed to be working fine. But....when I try to update the Settings>store settings (General, Logo, Offline etc) it accepts the data and saves it, but nothing changes on the storefont. The only thing that seems to be working in the Settings>store settings is the Layout skin setting, which changes on command. Any help would be appreciated as at the moment i'm still showing as the default "Prescott Pharmaceuticals" with the not so catchy 'Your Logo' as my logo! Thanks
  24. Hi, Currently exploring CC5 with the Crosshatch skin and noticed an issue with the URL writing of the categories, as such: - cat 1 - > URL witing is fine, ie domain name/cat 1 - sub category 1 - > URL is wrong it should be domain name/cat 1/sub cat 1 but instead you get URL domain name/sub cat 1 - sub sub category 1 -> URL is fine ie domain name/cat 1/sub cat 1/sub sub cat 1 So it is happening only with the 1st sub cat level, 2 levels of sub cat and the URL is correct. I also went on a live store of a business using Crosshatch and noticed that they had the same issue. As I am most likely to use this skin, do you know how it can be corrected ? Thank you. Sandrine
  25. Using CCV5.2.16 I enabled my Canada Post Shipping Module and tested purchasing a product. I had not filled in any address at all, this is what came up when I clicked on "View Basket" This is what I got: Here is how I have my Canada Post Module Set: I went into the debugging with my IP and this is all the info that came up. I of course have no idea how to find my issue. PHP: No Errors or Warnings GET: '_g' => 'settings' SESSION: '__client' => 'ip_address' => '206.132.54.69' 'useragent' => 'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99 Safari/537.36' 'session_start' => 1421939168 'session_last' => 1421939168 'currency' => 'CAD' 'admin_id' => '1' 'language' => 'en-US' '__system' => 'token' => '89991f5d3e78d0fff88cb46b71ec304a' '__admin_data' => 'admin_id' => '1' 'customer_id' => '' 'status' => '1' 'name' => 'Jill Morgan' 'username' => 'admin' 'new_password' => '1' 'email' => '[email protected]' 'verify' => '' 'logins' => '30' 'super_user' => '1' 'notes' => '' 'failLevel' => '0' 'blockTime' => '0' 'lastTime' => '1421937275' 'browser' => 'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99 Safari/537.36' 'ip_address' => '206.132.54.69' 'language' => 'en-GB' 'dashboard_notes' => '' 'order_notify' => '1' '__admin' => 'user_language' => 'en-GB' '__recaptcha' => 'error' => NULL 'confirmed' => false '__basket' => 'contents' => '8f7f87eb80c1ad883662c618a9dae999' => 'id' => 28 'quantity' => 1 'digital' => '0' 'options' => '7' => '-38' '3' => '0' => '45' '2' => '0' => '785222' '4' => '-27' 'options_identifier' => '' 'option_line_price' => 0 'total_price_each' => '20.99' 'description' => ' The advantage of embroidered collars over tags and chips is threefold: the precious information cannot get lost, there is no wait time for scanning and last but not least, they make a great fashion statement! How to order: ' 'name' => '5/8" Teal Polka Dot Collar' 'product_code' => '5/8NOIAU59' 'product_weight' => 0.5 'tax_each' => false 'weight' => '0.500' 'discount' => '0.00' 'subtotal' => '20.99' 'total_tax' => '0.00' 'total' => '20.99' 'delivery_address' => 'user_defined' => false 'postcode' => 'K9V4R1' 'country' => '124' 'country_iso' => 'CA' 'country_iso3' => 'CAN' 'state_id' => '74' 'state' => 'Ontario' 'state_abbrev' => 'ON' 'billing_address' => 'user_defined' => false 'postcode' => 'K9V4R1' 'country' => '124' 'country_iso' => 'CA' 'country_iso3' => 'CAN' 'state_id' => '74' 'state' => 'Ontario' 'state_abbrev' => 'ON' 'shipping_hash' => 'a2072c8a50f1127f73a55a6b5f574da7' 'order_taxes' => false COOKIE: 'PHPSESSID' => 'qfi05tdfibmk49dki6i9ns1e57' MySQLi Queries (13): [1] SELECT SQL_CALC_FOUND_ROWS * FROM `pbf_CubeCart_sessions` WHERE pbf_CubeCart_sessions.session_id = 'qfi05tdfibmk49dki6i9ns1e57' LIMIT 1; -- (0.00131893157959 sec) [2] SELECT FOUND_ROWS() as Count; -- (0.000602006912231 sec) [3] SELECT * FROM `pbf_CubeCart_lang_strings` WHERE pbf_CubeCart_lang_strings.language = 'en-GB' ; -- (0.000290155410767 sec) [CACHED] [4] SELECT * FROM `pbf_CubeCart_hooks` WHERE pbf_CubeCart_hooks.enabled = '1' ORDER BY priority ASC ; -- (0.000717163085938 sec) [CACHED] [5] SELECT `php_code`, `unique_id`, `description`, `hook_trigger` FROM `pbf_CubeCart_code_snippet` WHERE pbf_CubeCart_code_snippet.enabled = '1' ORDER BY `priority` ASC ; -- (0.000402927398682 sec) [CACHED] [6] SELECT `cat_id`, `cat_name`, `cat_parent_id` FROM `pbf_CubeCart_category` ORDER BY `cat_id` DESC ; -- (0.00113797187805 sec) [CACHED] [7] SELECT `cat_id`, `cat_name` FROM `pbf_CubeCart_category_language` WHERE pbf_CubeCart_category_language.language = 'en-US' ; -- (0.00043511390686 sec) [CACHED] [8] SELECT * FROM `pbf_CubeCart_permissions` WHERE pbf_CubeCart_permissions.admin_id = '1' ; -- (0.000427007675171 sec) [CACHED] [9] SELECT * FROM `pbf_CubeCart_logo` ; -- (0.00028395652771 sec) [CACHED] [10] SELECT `numcode`, `name` FROM `pbf_CubeCart_geo_country` ; -- (0.00350117683411 sec) [CACHED] [11] SELECT gc.numcode, gz.id, gz.name FROM `pbf_CubeCart_geo_zone` AS `gz` LEFT JOIN `pbf_CubeCart_geo_country` AS `gc` ON gc.id=gz.country_id ORDER BY gc.name, gz.name ASC -- (0.00523114204407 sec) [CACHED] [12] SELECT `name`, `code` FROM `pbf_CubeCart_currency` WHERE pbf_CubeCart_currency.active = '1' ORDER BY `name` ASC ; -- (0.000239849090576 sec) [CACHED] [13] SHOW FULL COLUMNS FROM pbf_CubeCart_inventory -- (0.00329899787903 sec) [CACHED] Errors: No Errors Memory: Peak Usage / Max (%): 12.02MB / 128M (9.39%) Cache (None): Cache is disabled [Clear Cache] Page Load Time: 0.263124 seconds Appreciate any help anyone can offer. To add: I did clear out the basket and do a new purchase to recheck, and this still came up. I also have lots of countries (including Canada and US) in my zones. Jill
×
×
  • Create New...