Claudia M Posted December 4, 2016 Share Posted December 4, 2016 Hi, I placed a test order today using the print order form as payment method. It says it is processing but all I get is the spinner. It never finishes processing. Any help is greatly appreciated. https://www.claudiasbargains.com Claudia Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 4, 2016 Share Posted December 4, 2016 We would like to know what the error_log says. Using a utility to view the file structure of your site, make sure that the /files/ directory has the same permissions as the /includes/extra/ directory. 775 or 755 depending on your hosting account's configuration. Quote Link to comment Share on other sites More sharing options...
Claudia M Posted December 4, 2016 Author Share Posted December 4, 2016 I'll create the error log in your link asap For now: permissions are the same Nothing in the admin error log Here is a sample of the control panel error log: [04-Dec-2016 19:54:49 UTC] PHP Warning: Security Warning: Illegal array key "$Domain" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 19:54:49 UTC] PHP Warning: Security Warning: Illegal array key "$Path" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 19:54:49 UTC] PHP Warning: Security Warning: Illegal array key "$Domain" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 15:01:00 America/Louisville] PHP Warning: array_keys() expects parameter 1 to be array, boolean given in /home1/willow39/public_html/admin_spNz8c/sources/dashboard.index.inc.php on line 311 [04-Dec-2016 15:08:39 America/Louisville] PHP Warning: array_keys() expects parameter 1 to be array, boolean given in /home1/willow39/public_html/admin_spNz8c/sources/dashboard.index.inc.php on line 311 [04-Dec-2016 16:08:14 America/Louisville] PHP Warning: array_keys() expects parameter 1 to be array, boolean given in /home1/willow39/public_html/admin_spNz8c/sources/dashboard.index.inc.php on line 311 [04-Dec-2016 21:21:28 UTC] PHP Warning: Security Warning: Illegal array key "$Path" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 21:21:28 UTC] PHP Warning: Security Warning: Illegal array key "$Domain" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 21:21:28 UTC] PHP Warning: Security Warning: Illegal array key "$Path" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 21:21:28 UTC] PHP Warning: Security Warning: Illegal array key "$Domain" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 21:23:58 UTC] PHP Warning: Security Warning: Illegal array key "$Path" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 21:23:58 UTC] PHP Warning: Security Warning: Illegal array key "$Domain" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 21:23:58 UTC] PHP Warning: Security Warning: Illegal array key "$Path" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 21:23:58 UTC] PHP Warning: Security Warning: Illegal array key "$Domain" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 [04-Dec-2016 21:33:25 UTC] PHP Warning: Security Warning: Illegal array key "sort%252525255Bdate_added%252525255D" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72 I created the ini-custom.inc.php file and uploaded it. I already had the error_log file - that is where the above errors are Quote Link to comment Share on other sites More sharing options...
Claudia M Posted December 4, 2016 Author Share Posted December 4, 2016 This is what I get with debug PHP: [Notice] /home1/willow39/public_html/classes/order.class.php:558 - Undefined index: retrieve[Notice] /home1/willow39/public_html/classes/user.class.php:455 - Use of undefined constant CC_ADMIN - assumed 'CC_ADMIN'[Notice] /home1/willow39/public_html/classes/order.class.php:295 - Undefined index: taxes[Notice] /home1/willow39/public_html/classes/order.class.php:504 - Undefined variable: complete[Notice] /home1/willow39/public_html/classes/seo.class.php:492 - Undefined variable: title Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 4, 2016 Share Posted December 4, 2016 Everything in the error_log is not unusual or is expected (re: dashboard, until CC612 comes out). The PHP section in debug has a few unknowns. The CC_ADMIN will be fixed in CC612, but, really, PHP Notices should not cause any trouble. Do you have any files in the /files/ folder that are spelled as print.hash.php? There was a similar situation and it was discovered (if I recall) that the folder where the POF was saved had permissions that prevented the PHP file from being executed. As an experiment, create this file and place it in the /files/ folder: Name: info.php Contents: <?php phpinfo(); ?> Have your browser request this file directly. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted December 4, 2016 Share Posted December 4, 2016 I think this is the old thread you are referring to, Bsmither: Quote Link to comment Share on other sites More sharing options...
Claudia M Posted December 4, 2016 Author Share Posted December 4, 2016 I do not have the print.hash.php in the file folder. I created and opened the info.php file. What am I looking for? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted December 4, 2016 Share Posted December 4, 2016 I may be mistaken, but I think it was to see if you could successfully open the file. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted December 4, 2016 Share Posted December 4, 2016 I just tried a test order on your store, and the throbber did not stop, just as you had said. But when I clicked on Proceed - the print order form showed up filled out and ready to print! https://www.claudiasbargains.com/index.php?_g=rm&type=gateway&cmd=call&module=Print_Order_Form&cart_order_id=161204-184448-1404 I used FireBug to watch the waterfall of Net activity. I'm not really the one to interpret all that, but it kind of looks like it's trying to connect to a regular gateway and obviously can't. Quote Link to comment Share on other sites More sharing options...
Claudia M Posted December 5, 2016 Author Share Posted December 5, 2016 Thank you so much, Rosemary, for going to all that trouble! Much appreciated. The emails I should have sent to you automatically with your "order" were returned: Partial error: "A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:" Claudia Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted December 5, 2016 Share Posted December 5, 2016 fake info LOL Quote Link to comment Share on other sites More sharing options...
Claudia M Posted December 5, 2016 Author Share Posted December 5, 2016 How funny!!! - I thought I had messed up something else LOL Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted December 5, 2016 Share Posted December 5, 2016 Since Proceed works, maybe it's some sort of conflict with your PayPal Pro. Does the payment process continue as it should using the PayPal button? Quote Link to comment Share on other sites More sharing options...
Claudia M Posted December 5, 2016 Author Share Posted December 5, 2016 I've had orders today and PayPal Pro was used. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted December 5, 2016 Share Posted December 5, 2016 You might want to temporarily take the Print Order choice off until Bsmither is back online. I don't have a clue how to help actually fix the problem. Quote Link to comment Share on other sites More sharing options...
Claudia M Posted December 5, 2016 Author Share Posted December 5, 2016 Good idea - consider if off Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted December 5, 2016 Share Posted December 5, 2016 I would suggest you Private Message Bsmither and ask him to message you when he has time to work on this, so you can turn the Print Form back on. Quote Link to comment Share on other sites More sharing options...
Claudia M Posted December 5, 2016 Author Share Posted December 5, 2016 The mail order form - paypal - and credit card gateways are all having trouble when I click the secure checkout button. The spinner spun and spun - and spun some more, finally I pressed the proceed button and all forms of payment when thru as they should. I did them individually. This isn't how it is suppose to work, is it? Customers may give up from all the spinning and not bother to click proceed. But if I detour the secure checkout button and click the "checkout with PayPal button" I am sent directly to PayPal ( a little slow but that might be my computer). Any ideas? (Brian) Thanks, Claudia Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 5, 2016 Share Posted December 5, 2016 I would need to have you make some radical edits to trace out the flow of code. Please send me a PM with your email address. But I won't be available until tomorrow. Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 5, 2016 Share Posted December 5, 2016 "I used FireBug to watch the waterfall of Net activity. I'm not really the one to interpret all that, but it kind of looks like it's trying to connect to a regular gateway and obviously can't." @Dirty Butter, when you looked at your network waterfall, did you see this URL before or after you clicked Proceed? https://www.claudiasbargains.com/index.php?_g=rm&type=gateway&cmd=call&module=Print_Order_Form&cart_order_id=161204-184448-1404 Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted December 5, 2016 Share Posted December 5, 2016 There was something about gateway before clicking, but I don't remember it saying Print_Order_Form (that doesn't mean it wasn't there) I understand very little of the waterfall information. Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 6, 2016 Share Posted December 6, 2016 In developing/upgrading a custom skin, perhaps based on Foundation, it is important to study the differences in all files between any two versions of the representative skin. In the case of Foundation, the version shipping with CC610 started to use the SVG icon set. In 2.cubecart.js, there is a watch put on an icon with the class icon-submit. If this element is seen, the javascript auto-submits the form. Unfortunately, the target of the watch is more specific, as the tag is included. Prior to CC610, the target is i.icon-submit, and for CC610+, the target is svg.icon-submit. So, one must be mindful to keep the versions of all the skin's files at the same version. That is, when upgrading a custom template to use SVG - because Foundation started using them - one must also note the differences in the supporting files. The mismatch did not get javascript to the correct target to auto-submit. I will submit an issue in the Github to question the wisdom of making the target too specific. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.