Post by chialiyen » Wed Jul 03, 2019 7:39 pm

Hi, I found few bugs when I add / edit order on the admin dashboard.
/admin/index.php?route=sale/order/add
/admin/index.php?route=sale/order/edit

Add Order From Admin Dashboard

Bug 1: I tried to create an order manually from admin dashboard, when I add a product at (Step 2 - Products), the product is not showing up on the product table list /cart.

Bug 2: On (Step 3), after I key in the Payment Details (billing address) and click continue button, it skip (Step 4 - Shipping Details), and I reach (Step 5 - Totals) page. I confirmed that all my products need shipping, it should reach (Step 4) after I clicked continue on (Step 3).

Edit Order From Admin Dashboard

Bug 3: I tried to update the product quantity on (Step 2), after I clicked the refresh button, the quantity is not updated.

Bug 4: <same as Bug 1>

Any of you also face the same problem? I need a solution for this urgently...
Appreciate if you can help. Thanks.

Newbie

Posts

Joined
Sun Dec 18, 2016 6:07 pm

Post by straightlight » Thu Jul 04, 2019 5:52 am

Check your developers kit by hitting F12 and see the console tab. Then, by reproducing what you describe, see if there are any errors showing on that tab until the end of your test.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com contractor officials representative


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by chialiyen » Fri Jul 05, 2019 6:57 pm

straightlight wrote:
Thu Jul 04, 2019 5:52 am
Check your developers kit by hitting F12 and see the console tab. Then, by reproducing what you describe, see if there are any errors showing on that tab until the end of your test.
Hi straightlight,

I see the errors below on the console when this page is loaded: /admin/index.php?route=sale/order/add
Other than these, I'm not seeing any error. I'm not able to save the order on (Step 5) as Shipping Method is required to save it.

Do you have any clue? Thanks

GEThttps://mydomain.com/admin/index.php?route=sale/order/add&user_token=YNxAXF9JARfQiZbjvdqXTEJq6iA43fwE
[HTTP/1.1 200 OK 274ms]

GEThttps://mydomain.com/admin/view/javascript/jquery/jquery-2.1.1.min.js
[HTTP/1.1 200 OK 0ms]

GEThttps://mydomain.com/admin/view/javascript/bootstrap/js/bootstrap.min.js
[HTTP/1.1 200 OK 0ms]

GEThttps://mydomain.com/admin/view/stylesheet/bootstrap.css
[HTTP/1.1 200 OK 0ms]

GEThttps://mydomain.com/admin/view/javascript/font-awesome/css/font-awesome.min.css
[HTTP/1.1 200 OK 0ms]

GEThttps://mydomain.com/admin/view/javascript/jquery/datetimepicker/moment/moment.min.js
[HTTP/1.1 200 OK 0ms]

GEThttps://mydomain.com/admin/view/javascript/jquery/datetimepicker/moment/moment-with-locales.min.js
[HTTP/1.1 200 OK 0ms]

GEThttps://mydomain.com/admin/view/javascript/jquery/datetimepicker/bootstrap-datetimepicker.min.js
[HTTP/1.1 200 OK 0ms]

GEThttps://mydomain.com/admin/view/javascript/jquery/datetimepicker/bootstrap-datetimepicker.min.css
[HTTP/1.1 200 OK 0ms]

GEThttps://mydomain.com/admin/view/stylesheet/stylesheet.css
[HTTP/1.1 200 OK 0ms]

GEThttps://mydomain.com/admin/view/javascript/journal3/assets/menu.css
[HTTP/1.1 200 OK 0ms]

GEThttps://mydomain.com/admin/view/javascript/common.js
[HTTP/1.1 200 OK 0ms]

Error in parsing value for ‘-webkit-text-size-adjust’. Declaration dropped. bootstrap.css:11:29
Unknown property ‘orphans’. Declaration dropped. bootstrap.css:182:13
Unknown property ‘widows’. Declaration dropped. bootstrap.css:183:12
Unrecognized at-rule or error parsing at-rule ‘@at-root’. bootstrap.css:205:9
Unknown property ‘-moz-osx-font-smoothing’. Declaration dropped. bootstrap.css:220:27
Error in parsing value for ‘outline’. Declaration dropped. bootstrap.css:1041:22
Error in parsing value for ‘margin-top’. Declaration dropped. bootstrap.css:2050:18
Error in parsing value for ‘outline’. Declaration dropped. bootstrap.css:2064:20
Unknown pseudo-class or pseudo-element ‘-ms-input-placeholder’. Ruleset ignored due to bad selector. bootstrap.css:2099:17
Unknown pseudo-class or pseudo-element ‘-ms-expand’. Ruleset ignored due to bad selector. bootstrap.css:2103:17
Error in parsing value for ‘margin-top’. Declaration dropped. bootstrap.css:2144:18
Unknown property ‘user-select’. Declaration dropped. bootstrap.css:2415:15
Error in parsing value for ‘outline’. Declaration dropped. bootstrap.css:2417:22
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.css:2430:13
Error in parsing value for ‘border-top’. Declaration dropped. bootstrap.css:2694:24
Expected ‘none’, URL, or filter function but found ‘progid’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.css:2758:13
Error in parsing value for ‘border-bottom’. Declaration dropped. bootstrap.css:2797:27
Error in parsing value for ‘background-image’. Declaration dropped. bootstrap.css:3886:21
Error in parsing value for ‘background-image’. Declaration dropped. bootstrap.css:3899:23
Error in parsing value for ‘background-image’. Declaration dropped. bootstrap.css:3906:23
Error in parsing value for ‘background-image’. Declaration dropped. bootstrap.css:3913:23
Error in parsing value for ‘background-image’. Declaration dropped. bootstrap.css:3920:23
Unknown property ‘zoom’. Declaration dropped. bootstrap.css:3929:8
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.css:4341:11
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.css:4347:13
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.css:4415:13
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.css:4418:13
Unknown property ‘line-break’. Declaration dropped. bootstrap.css:4488:14
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.css:4501:11
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.css:4504:13
Unknown property ‘line-break’. Declaration dropped. bootstrap.css:4594:14
Expected media feature name but found ‘transform-3d’. bootstrap.css:4719:19
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.css:4769:11
Error in parsing value for ‘background-image’. Declaration dropped. bootstrap.css:4777:23
Expected ‘none’, URL, or filter function but found ‘progid’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.css:4780:13
Error in parsing value for ‘background-image’. Declaration dropped. bootstrap.css:4785:23
Expected ‘none’, URL, or filter function but found ‘progid’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.css:4788:13
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.css:4794:13
Error in parsing value for ‘background-color’. Declaration dropped. bootstrap.css:4836:27
Unrecognized at-rule or error parsing at-rule ‘@at-root’. bootstrap.css:4916:9
Unknown property ‘-moz-osx-font-smoothing’. Declaration dropped. font-awesome.min.css:4:662
Error in parsing value for ‘width’. Declaration dropped. stylesheet.css:351:13
Error in parsing value for ‘height’. Declaration dropped. stylesheet.css:353:14
Error in parsing value for ‘border’. Declaration dropped. stylesheet.css:357:31
Error in parsing value for ‘width’. Declaration dropped. stylesheet.css:373:13
Error in parsing value for ‘height’. Declaration dropped. stylesheet.css:375:14
Error in parsing value for ‘-webkit-box-shadow’. Declaration dropped. stylesheet.css:392:26
Error in parsing value for ‘box-shadow’. Declaration dropped. stylesheet.css:394:18
Selector expected. Ruleset ignored due to bad selector. stylesheet.css:674:1
Unknown property ‘speak’. Declaration dropped. stylesheet.css:789:8
Unknown property ‘-moz-osx-font-smoothing’. Declaration dropped. stylesheet.css:797:26

GEThttps://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,cyrillic-ext,greek-ext,vietnamese
[HTTP/2.0 200 OK 0ms]

GEThttps://mydomain.com/admin/view/image/logo.png
[HTTP/1.1 200 OK 0ms]

GEThttps://mydomain.com/image/cache/profile-45x45.png
[HTTP/1.1 200 OK 0ms]

XHRPOSThttps://mydomain.com/index.php?route=api/currency&api_token=e670e45276f8f0a31029d8f9c4&store_id=0
[HTTP/1.1 200 OK 230ms]

GEThttps://mydomain.com/admin/view/javascript/journal3/assets/j3.svg
[HTTP/1.1 200 OK 0ms]

XHRGEThttps://mydomain.com/admin/index.php?route=customer/customer/customfield&user_token=YNxAXF9JARfQiZbjvdqXTEJq6iA43fwE&customer_group_id=1
XHRGEThttps://mydomain.com/admin/index.php?route=localisation/country/country&user_token=YNxAXF9JARfQiZbjvdqXTEJq6iA43fwE&country_id=
[HTTP/1.1 200 OK 0ms]

XHRGEThttps://mydomain.com/admin/index.php?route=localisation/country/country&user_token=YNxAXF9JARfQiZbjvdqXTEJq6iA43fwE&country_id=
[HTTP/1.1 200 OK 0ms]

GEThttps://mydomain.com/favicon.ico
[HTTP/1.1 404 Not Found 0ms]

Newbie

Posts

Joined
Sun Dec 18, 2016 6:07 pm

Post by chialiyen » Fri Jul 05, 2019 8:12 pm

I just tried on Chrome, I see error below:

Failed to set referrer policy: The value '' is not one of 'no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'same-origin', 'strict-origin', 'strict-origin-when-cross-origin', or 'unsafe-url'. The referrer policy has been left unchanged.

Newbie

Posts

Joined
Sun Dec 18, 2016 6:07 pm

Post by straightlight » Sat Jul 06, 2019 4:44 am

This issue is a compatibility problem with bootstrap CSS and the device known with tablets / firefox. Try with IE, Edge, Chrome on your laptop / desktop / MAC to see if the issue can be reproduced.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com contractor officials representative


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by chialiyen » Sat Jul 06, 2019 4:29 pm

straightlight wrote:
Sat Jul 06, 2019 4:44 am
This issue is a compatibility problem with bootstrap CSS and the device known with tablets / firefox. Try with IE, Edge, Chrome on your laptop / desktop / MAC to see if the issue can be reproduced.
On IE, I see error below:
HTML1300: Navigation occurred.
index.php (1,1)

HTML1521: Unexpected "/body>" or end of file. All open elements should be closed before the end of the document.
index.php (724,1)

2 HTML1300: Navigation occurred.
index.php (1,1)

SCRIPT16389: Unspecified error.
polyfill (1,10884)

HTML1521: Unexpected "/body>" or end of file. All open elements should be closed before the end of the document.


first 2 lines occur when /admin/index.php?route=sale/order is loaded
3rd line occur when /admin/index.php?route=sale/order/add is loaded
4th and 5th line occur after i click the Save button and press on the Cancel button to go back to /admin/index.php?route=sale/order page.

However, on IE, all the bugs that mentioned above are not occurring. I'm able to add the selected product on the product cart table, I'm able to update the product quantity, I'm able to reach (Step 4) to enter Shipping Details.

On Chrome, I only see error below:
/admin/index.php?route=sale/order/add&user_token=gMHBZQHZcRwKufGdl68MJy4HaJopfr5p:1 Failed to set referrer policy: The value '' is not one of 'no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'same-origin', 'strict-origin', 'strict-origin-when-cross-origin', or 'unsafe-url'. The referrer policy has been left unchanged.

All the bugs that I mentioned on 1st thread occur on Chrome and Firefox.

Thank you.

Newbie

Posts

Joined
Sun Dec 18, 2016 6:07 pm

Post by straightlight » Sat Jul 06, 2019 9:28 pm

Then, in this case, it's as I said, it might be a browser compatibility issue. However, since you claim that on IE, it's running fine but not on Edge, this is still an issue. Possibly with your .NET Framework packaging from Windows Update at this point as it can also affect Google Chrome and Firefox. Try from another station / laptop and see if the described issue can be reproduced by each browsers.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com contractor officials representative


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by thehighz » Wed Jul 10, 2019 2:54 pm

chialiyen wrote:
Wed Jul 03, 2019 7:39 pm
Hi, I found few bugs when I add / edit order on the admin dashboard.
/admin/index.php?route=sale/order/add
/admin/index.php?route=sale/order/edit

Add Order From Admin Dashboard

Bug 1: I tried to create an order manually from admin dashboard, when I add a product at (Step 2 - Products), the product is not showing up on the product table list /cart.

Bug 2: On (Step 3), after I key in the Payment Details (billing address) and click continue button, it skip (Step 4 - Shipping Details), and I reach (Step 5 - Totals) page. I confirmed that all my products need shipping, it should reach (Step 4) after I clicked continue on (Step 3).

Edit Order From Admin Dashboard

Bug 3: I tried to update the product quantity on (Step 2), after I clicked the refresh button, the quantity is not updated.

Bug 4: <same as Bug 1>

Any of you also face the same problem? I need a solution for this urgently...
Appreciate if you can help. Thanks.
This could be a browser caching issue.
Which company host do you use? I used A2 hosting, I met the same problem as you.

See the solution on this post viewtopic.php?f=202&t=211118

Newbie

Posts

Joined
Tue Jul 09, 2019 3:37 pm

Post by letxobnav » Wed Jul 10, 2019 5:09 pm

Code: Select all

/admin/index.php?route=sale/order/add&user_token=gMHBZQHZcRwKufGdl68MJy4HaJopfr5p:1 Failed to set referrer policy: The value '' is not one of 'no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'same-origin', 'strict-origin', 'strict-origin-when-cross-origin', or 'unsafe-url'. The referrer policy has been left unchanged.
are you setting Referrer-Policy headers in either an extension or htaccess?

Crystal Light Centrum Taiwan


Active Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm

Post by chialiyen » Sat Jul 13, 2019 3:01 pm

straightlight wrote:
Sat Jul 06, 2019 9:28 pm
Then, in this case, it's as I said, it might be a browser compatibility issue. However, since you claim that on IE, it's running fine but not on Edge, this is still an issue. Possibly with your .NET Framework packaging from Windows Update at this point as it can also affect Google Chrome and Firefox. Try from another station / laptop and see if the described issue can be reproduced by each browsers.
Thanks straightlight. Unfortunately I don't have a chance to test on other laptop / station. However the issue has been solved (solution on this post viewtopic.php?f=202&t=211118 ) :)

Newbie

Posts

Joined
Sun Dec 18, 2016 6:07 pm

Post by chialiyen » Sat Jul 13, 2019 3:03 pm

thehighz wrote:
Wed Jul 10, 2019 2:54 pm
chialiyen wrote:
Wed Jul 03, 2019 7:39 pm
Hi, I found few bugs when I add / edit order on the admin dashboard.
/admin/index.php?route=sale/order/add
/admin/index.php?route=sale/order/edit

Add Order From Admin Dashboard

Bug 1: I tried to create an order manually from admin dashboard, when I add a product at (Step 2 - Products), the product is not showing up on the product table list /cart.

Bug 2: On (Step 3), after I key in the Payment Details (billing address) and click continue button, it skip (Step 4 - Shipping Details), and I reach (Step 5 - Totals) page. I confirmed that all my products need shipping, it should reach (Step 4) after I clicked continue on (Step 3).

Edit Order From Admin Dashboard

Bug 3: I tried to update the product quantity on (Step 2), after I clicked the refresh button, the quantity is not updated.

Bug 4: <same as Bug 1>

Any of you also face the same problem? I need a solution for this urgently...
Appreciate if you can help. Thanks.
This could be a browser caching issue.
Which company host do you use? I used A2 hosting, I met the same problem as you.

See the solution on this post viewtopic.php?f=202&t=211118
Thanks for sharing this. I'm not using A2 hosting. But the solution that you shared works for me :)

Newbie

Posts

Joined
Sun Dec 18, 2016 6:07 pm

Post by chialiyen » Sat Jul 13, 2019 3:05 pm

letxobnav wrote:
Wed Jul 10, 2019 5:09 pm

Code: Select all

/admin/index.php?route=sale/order/add&user_token=gMHBZQHZcRwKufGdl68MJy4HaJopfr5p:1 Failed to set referrer policy: The value '' is not one of 'no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'same-origin', 'strict-origin', 'strict-origin-when-cross-origin', or 'unsafe-url'. The referrer policy has been left unchanged.
are you setting Referrer-Policy headers in either an extension or htaccess?

Hi, I have solved this issue by adding Header set Referrer-Policy "origin" on the htaccess :)

Newbie

Posts

Joined
Sun Dec 18, 2016 6:07 pm
Who is online

Users browsing this forum: No registered users and 5 guests