Claudia M

Member
  • Content count

    183
  • Joined

  • Last visited

  • Days Won

    11

Claudia M last won the day on July 12

Claudia M had the most liked content!

Community Reputation

2 Neutral

About Claudia M

  1. I thought this was fixed in CC or did I miss something? When I look at my page source I find this: NOTE: Store Name Claudia’s Bargains - showing in page source as Claudia&#39;s Bargains HOMEPAGE <meta name="description" content="Antiques, Vintage and Collectibles - We search yard sales, estate sales, flea markets, auctions and attics to find items you didn&#39;t know you were looking for"> CONTACT PAGE <meta name="description" content="Claudia&#39;s Bargains Collectibles and More Shop. We search yard sales, estate sales, flea markets, auctions and attics to find items you didn&#39;t know you were looking for. Toss in some brand new items and some handcrafted creations and the mix is complete!"> Claudia
  2. Did as you said. No distrubing the statements after the return false: }. Seems to be working now. Thank you so much for this Brian!
  3. The "Find" line doesn't read the same as what you say: My Line reads: $error = "[<strong>".$type."</strong>] \t".$error_file.":".$error_line." - ".$error_string; $this->_errors[] = $error; if($log) { $this->_writeErrorLog($error, $type); } Also I got an error, [11-Sep-2017 15:14:46 UTC] PHP Parse error: syntax error, unexpected 'public' (T_PUBLIC) in /home/claudias/public_html/classes/debug.class.php on line 467, and the website and admin would not load. But when I put a } after the "Change to" it worked. Is that OK? Or am I going to get problems down the road. Find: $error = "[<strong>".$type."</strong>] \t".htmlentities(strip_tags($error_file.":".$error_line." - ".$error_string)); $this->_errors[] = $error; $this->_writeErrorLog($error, $type); } Then find: return false; Change to: return ($this->_suppress_php_notices && $type == 'Notice') ? true : false; // See PHP manual for set_error_handler() callback function return value
  4. Brian, Part of your code changes read: Find: $error = "[<strong>".$type."</strong>] \t".htmlentities(strip_tags($error_file.":".$error_line." - ".$error_string)); $this->_errors[] = $error; $this->_writeErrorLog($error, $type); } Then find: return false; Change to: return ($this->_suppress_php_notices && $type == 'Notice') ? true : false; // See PHP manual for set_error_handler() callback function return value MY QUESTION Am I suppose to change all the “find and then find” code to the following: Or was there a “change to” missing after the first “find” return ($this->_suppress_php_notices && $type == 'Notice') ? true : false; // See PHP manual for set_error_handler() callback function return value } Thanks, Claudia
  5. It's from the error log in CPanel
  6. I have always had the debug mode disabled, unless I'm searching for something, and look at all the notices I got.
  7. Do you think we need to add this to GitHub or feature request? Can't believe it's just the two of us that would like this done.
  8. Thanks for looking into this Brian. 1. By error log I mean the one in CPanel. The "error_log" file that PHP creates. 2. Sorry .. didn't mean to include this one. Daren is looking into it: This is interesting. Something really outside the bounds of the normal sequence of events must have happened. curl_setopt(): Disabling safe uploads is no longer supported You will need to get with SemperFi and get an updated version of the "Automatic Social Media Posts" plugin. 3. This one is because I don't use the sorting method that comes with CubeCart. I sort by newly listed or by Daren's mod Custom Product Sort. Security Warning: Illegal array key &quot;sort%5Bdate_added%5D&quot; was detected and was removed 4. I don't know what this is [07-Sep-2017 13:59:57 America/Louisville] PHP Warning: No customer information detected. Order summary was not built or inserted. in /home/claudias/public_html/classes/order.class.php on line 1170 Whatever you think I can have removed from the error log safely I'd like the code to do it. It's really annoying getting this large error log. And I can always put it back if need be. Thanks, Claudia
  9. So since I updated to 6.1.10 I have gotten these PHP notices, warnings, etc. in my error log – more than once. Anything here to worry about? Also, if notices aren’t that big of a deal is there anyway to turn them off so they don’t get reported in the error log? Or is that a bad idea. Thanks, Claudia [07-Sep-2017 13:59:57 America/Louisville] PHP Warning: No customer information detected. Order summary was not built or inserted. in /home/claudias/public_html/classes/order.class.php on line 1170 [07-Sep-2017 18:05:36 UTC] PHP Warning: Invalid Security Token in /home/claudias/public_html/classes/sanitize.class.php on line 152 [07-Sep-2017 14:19:23 America/Louisville] PHP Warning: Invalid argument supplied for foreach() in /home/claudias/public_html/classes/ajax.class.php on line 143 [07-Sep-2017 14:21:43 America/Louisville] PHP Warning: curl_setopt() [&lt;a href='http://docs.php.net/manual/en/function.curl-setopt.php'&gt;function.curl-setopt.php&lt;/a&gt;]: Disabling safe uploads is no longer supported in /home/claudias/public_html/modules/plugins/SFWS_Automatic_Social_Media_Posts/api/pinterest/src/Pinterest/Utils/CurlBuilder.php on line 53 This warning I got before: I think it has to do with the way I sort my products. But they sort correctly so I don’t bother with it [07-Sep-2017 18:54:39 UTC] PHP Warning: Security Warning: Illegal array key &quot;sort%5Bdate_added%5D&quot; was detected and was removed. in /home/claudias/public_html/classes/sanitize.class.php on line 113 [07-Sep-2017 11:34:39 America/Louisville] PHP Notice: Undefined variable: title in /home/claudias/public_html/classes/seo.class.php on line 506 [07-Sep-2017 11:55:11 America/Louisville] PHP Notice: Undefined index: in /home/claudias/public_html/classes/catalogue.class.php on line 314 [07-Sep-2017 12:13:04 America/Louisville] PHP Notice: Undefined index: billing_address in /home/claudias/public_html/classes/cubecart.class.php on line 1130 [07-Sep-2017 12:13:04 America/Louisville] PHP Notice: Undefined index: delivery_address in /home/claudias/public_html/classes/cubecart.class.php on line 1133 [07-Sep-2017 16:57:19 UTC] PHP Notice: Undefined index: HTTP_USER_AGENT in /home/claudias/public_html/classes/session.class.php on line 599 [07-Sep-2017 17:57:16 UTC] PHP Notice: Undefined variable: stock_warning in /home/claudias/public_html/classes/cart.class.php on line 405 [07-Sep-2017 13:57:16 America/Louisville] PHP Notice: Undefined index: billing_address in /home/claudias/public_html/classes/cart.class.php on line 810 [07-Sep-2017 13:57:19 America/Louisville] PHP Notice: Undefined index: billing_address in /home/claudias/public_html/classes/cubecart.class.php on line 601 [07-Sep-2017 13:57:19 America/Louisville] PHP Notice: Undefined index: delivery_address in /home/claudias/public_html/classes/cubecart.class.php on line 633 [07-Sep-2017 13:57:19 America/Louisville] PHP Notice: Undefined index: coupons in /home/claudias/public_html/classes/cubecart.class.php on line 1595 [07-Sep-2017 13:57:20 America/Louisville] PHP Notice: Undefined index: free_coupon_shipping in /home/claudias/public_html/classes/cubecart.class.php on line 1619 [07-Sep-2017 13:57:20 America/Louisville] PHP Notice: Undefined index: gateway in /home/claudias/public_html/classes/cubecart.class.php on line 1731 [07-Sep-2017 13:57:20 America/Louisville] PHP Notice: Undefined index: base_folder in /home/claudias/public_html/classes/cubecart.class.php on line 2117 [07-Sep-2017 13:57:20 America/Louisville] PHP Notice: Undefined index: scope in /home/claudias/public_html/classes/cubecart.class.php on line 2128 [07-Sep-2017 13:59:57 America/Louisville] PHP Notice: Undefined index: retrieve in /home/claudias/public_html/classes/order.class.php on line 577 [07-Sep-2017 13:59:57 America/Louisville] PHP Notice: Undefined index: options_identifier in /home/claudias/public_html/classes/order.class.php on line 1102 [07-Sep-2017 13:59:57 America/Louisville] PHP Notice: Undefined index: options in /home/claudias/public_html/classes/order.class.php on line 1117 [07-Sep-2017 13:59:57 America/Louisville] PHP Notice: Undefined index: bml in /home/claudias/public_html/modules/plugins/PayPal_Pro/hooks/class.cubecart.construct.gateway.php on line 22 [07-Sep-2017 13:59:57 America/Louisville] PHP Notice: Undefined variable: inline in /home/claudias/public_html/modules/plugins/PayPal_Pro/hooks/class.cubecart.construct.gateway.php on line 24 [07-Sep-2017 13:59:59 America/Louisville] PHP Notice: Undefined index: L_ERRORCODE0 in /home/claudias/public_html/modules/plugins/PayPal_Pro/website_payments_pro.class.php on line 456 [07-Sep-2017 14:03:12 America/Louisville] PHP Notice: Undefined variable: lang in /home/claudias/public_html/modules/plugins/PayPal_Pro/hooks/class.cubecart.construct.confirm.php on line 38 [07-Sep-2017 14:03:12 America/Louisville] PHP Notice: Undefined index: PAYMENTREQUEST_0_SHIPTOSTREET2 in /home/claudias/public_html/modules/plugins/PayPal_Pro/hooks/class.cubecart.construct.confirm.php on line 60 [07-Sep-2017 14:03:12 America/Louisville] PHP Notice: Undefined variable: customer_id in /home/claudias/public_html/modules/plugins/PayPal_Pro/hooks/class.cubecart.construct.confirm.php on line 86 [07-Sep-2017 14:03:13 America/Louisville] PHP Notice: Undefined variable: list_checkouts in /home/claudias/public_html/classes/cubecart.class.php on line 1736 [07-Sep-2017 14:05:24 America/Louisville] PHP Notice: Undefined index: options_identifier in /home/claudias/public_html/classes/cart.class.php on line 1082 [07-Sep-2017 14:05:25 America/Louisville] PHP Notice: Undefined index: taxes in /home/claudias/public_html/classes/order.class.php on line 299 [07-Sep-2017 14:05:28 America/Louisville] PHP Notice: Undefined variable: complete in /home/claudias/public_html/classes/order.class.php on line 514 [07-Sep-2017 14:05:31 America/Louisville] PHP Notice: Undefined index: L_ERRORCODE0 in /home/claudias/public_html/modules/plugins/PayPal_Pro/hooks/class.cubecart.construct.gateway.php on line 37 [07-Sep-2017 18:05:36 UTC] PHP Notice: Undefined variable: _GET in /home/claudias/public_html/includes/functions.inc.php on line 196 [07-Sep-2017 14:05:38 America/Louisville] PHP Notice: Undefined index: taxes in /home/claudias/public_html/classes/cubecart.class.php on line 1302 [07-Sep-2017 18:24:16 UTC] PHP Notice: Undefined index: X-Forwarded-For in /home/claudias/public_html/includes/functions.inc.php on line 527 [07-Sep-2017 20:55:15 UTC] PHP Notice: Undefined variable: path in /home/claudias/public_html/classes/seo.class.php on line 323 [07-Sep-2017 16:55:15 America/Louisville] PHP Notice: Undefined variable: sfws_related_products in /home/claudias/public_html/modules/plugins/SFWS_Deluxe_Related_Products/class.deluxe_related_products.php on line 324 [07-Sep-2017 23:14:42 UTC] PHP Notice: Undefined variable: _GET in /home/claudias/public_html/includes/functions.inc.php on line 196 [08-Sep-2017 02:36:59 America/Louisville] PHP Notice: Undefined variable: order_string in home/claudias/public_html/classes/catalogue.class.php on line 1928 [08-Sep-2017 07:48:31 UTC] PHP Notice: Undefined index: HTTP_USER_AGENT in /home/claudias/public_html/classes/session.class.php on line 599 [08-Sep-2017 10:37:54 America/Louisville] PHP Notice: Undefined index: cat_id in /home/claudias/public_html/classes/cubecart.class.php on line 826
  10. That was a "test" store. i'm still at www.claudiasbargains.com
  11. BCC Customer emails to Admin not working

    I found and deleted it. Do you have any idea why the emails aren't sending to me?
  12. This is what I did to receive copy of eMails sent to the customer but it isn’t working. See below. Any suggestions? In admin, Manage Hooks, Code Snippets tab, click Add Snippet. Create 1st Code Snippet Enabled: Checked Unique ID: classize_mailer@cubecart Execution Order: 99 Description: Class-izes the Mailer instantiation so that it can be seen outside the orderStatus() method. Trigger: class.order.order_status Version: 1.0 Author: https://forums.cubecart.com/topic/52330-how-to-add-admin-as-bcc-of-all-customers-order-status-emails/ PHP Code: <?php $this->_mailer =& $mailer; Save. Create 2nd Code Snippet. Enabled: Checked Unique ID: bcc_admin@cubecart Execution Order: 99 Description: BCC's the admins on all customer emails. Trigger: class.order.assign_order_details Version: 1.0 Author: https://forums.cubecart.com/topic/52330-how-to-add-admin-as-bcc-of-all-customers-order-status-emails/ PHP Code: <?php //$this->_mailer->SMTPDebug = 2; //$this->_mailer->Debugoutput = 'error_log'; $addBCC_notify_admins = explode(',', $this->_notifyAdmins()); foreach ($addBCC_notify_admins as $admin) { $this->_mailer->addBCC($admin); } Save. In /includes/extra I get these 3 snippet files. snippet_3afa312cdc3acf2182d2144a8cfac7be.php Contents: <?php //$this->_mailer->SMTPDebug = 2; //$this->_mailer->Debugoutput = 'error_log'; $addBCC_notify_admins = explode(',', $this->_notifyAdmins()); foreach ($addBCC_notify_admins as $admin) { $this->_mailer->addBCC($admin); } snippet_5c6632328d5bb207a40e3ef624488c36.php Contents: <?php $this->_mailer =& $mailer; Then I get this: snippet_cc06e51b963dba490472fc2e1a78f5d8.php Contents: �kz۫���zv�zƫ���j���b�w�zg������ޕ鞞���ڙ�޶��j���k��+(��޶��~)^�������� (There’s more but I can’t copy it)
  13. PayPal Pro order stuck on pending

    This is what I did to BCC the emails. I did a test after I added it yesterday and it worked -received the email in Outlook on my PC and on my smartphone email. With today's order I didn't get an email when I manually changed the order to processing. Customer did. In admin, Manage Hooks, Code Snippets tab, click Add Snippet. Create 1st Code Snippet Enabled: Checked Unique ID: classize_mailer@cubecart Execution Order: 99 Description: Class-izes the Mailer instantiation so that it can be seen outside the orderStatus() method. Trigger: class.order.order_status Version: 1.0 Author: https://forums.cubecart.com/topic/52330-how-to-add-admin-as-bcc-of-all-customers-order-status-emails/ PHP Code: <?php $this->_mailer =& $mailer; Save. Create 2nd Code Snippet. Enabled: Checked Unique ID: bcc_admin@cubecart Execution Order: 99 Description: BCC's the admins on all customer emails. Trigger: class.order.assign_order_details Version: 1.0 Author: https://forums.cubecart.com/topic/52330-how-to-add-admin-as-bcc-of-all-customers-order-status-emails/ PHP Code: <?php //$this->_mailer->SMTPDebug = 2; //$this->_mailer->Debugoutput = 'error_log'; $addBCC_notify_admins = explode(',', $this->_notifyAdmins()); foreach ($addBCC_notify_admins as $admin) { $this->_mailer->addBCC($admin); } Save.