Re: OpenCart 4.1.0.0 Front-End Login/Registration Shows JSON Redirect Instead of Completing
Found the issue!! I had cloudflare rocketloader enabled. I disabled, cleared CF cache and everything works! AI explanation: Why Cloudflare Rocket Loader Was the Culprit What Rocket Loader Does: It’s a Cloudflare feature that optimizes JavaScript loading by asynchronously deferring script execution. ...
Jump to post- Installation, Upgrade, & Config Support
- [SOLVED] OpenCart 4.1.0.0 Front-End Login/Registration Shows JSON Redirect Instead of Completing [cloudflare]
- Tue Feb 25, 2025 10:40 pm
- Replies 12
- Views 6506
Re: OpenCart 4.1.0.0 Front-End Login/Registration Shows JSON Redirect Instead of Completing
Here you go: FIXED! Jump to post
- Installation, Upgrade, & Config Support
- [SOLVED] OpenCart 4.1.0.0 Front-End Login/Registration Shows JSON Redirect Instead of Completing [cloudflare]
- Tue Feb 25, 2025 10:23 pm
- Replies 12
- Views 6506
Re: OpenCart 4.1.0.0 Front-End Login/Registration Shows JSON Redirect Instead of Completing
Check catalog/view/javascript/common.js is loading correctly. You can get the issue if it doesn't load or is being blocked by some other JavaScript issue. It's on the view source page, and the code shows when curl -k https://www.mitechtrading.com/catalog/view/javascript/common.js How else can I che...
Jump to post- Installation, Upgrade, & Config Support
- [SOLVED] OpenCart 4.1.0.0 Front-End Login/Registration Shows JSON Redirect Instead of Completing [cloudflare]
- Tue Feb 25, 2025 9:37 pm
- Replies 12
- Views 6506
[SOLVED] OpenCart 4.1.0.0 Front-End Login/Registration Shows JSON Redirect Instead of Completing
Please check my post here: viewtopic.php?t=235239 and let me know if you need any additional info.
Thanks
UPDATE: Had Cloudflare rocket loader enabled. After disabling everything works as it should.
- Commercial Support
- [SOLVED] OpenCart 4.1.0.0 Front-End Login/Registration Shows JSON Redirect Instead of Completing
- Tue Feb 25, 2025 7:55 am
- Replies 1
- Views 600
Re: OpenCart 4.1.0.0 Front-End Login/Registration Shows JSON Redirect Instead of Completing
I wiped the server, reinstalled the os, reinstalled OC 4.1.0.0 and everything was working. That was this morning. Now, 10 hours later, it's suddenly back to the same issue again.
Jump to post- Installation, Upgrade, & Config Support
- [SOLVED] OpenCart 4.1.0.0 Front-End Login/Registration Shows JSON Redirect Instead of Completing [cloudflare]
- Tue Feb 25, 2025 7:35 am
- Replies 12
- Views 6506
Re: OpenCart 4.1.0.0 Front-End Login/Registration Shows JSON Redirect Instead of Completing
Yes, there's nothing and no errors in the OC error log either.
Jump to post- Installation, Upgrade, & Config Support
- [SOLVED] OpenCart 4.1.0.0 Front-End Login/Registration Shows JSON Redirect Instead of Completing [cloudflare]
- Mon Feb 24, 2025 1:34 am
- Replies 12
- Views 6506
[SOLVED] OpenCart 4.1.0.0 Front-End Login/Registration Shows JSON Redirect Instead of Completing [cloudflare]
I’m running into a persistent issue with OpenCart 4.1.0.0 on my AlmaLinux 9 server with Virtualmin, and I’d really appreciate any insights from the community. After customer registration or login on the front-end, I get a white page with a JSON response like this: {"redirect":"https:\...
Jump to post- Installation, Upgrade, & Config Support
- [SOLVED] OpenCart 4.1.0.0 Front-End Login/Registration Shows JSON Redirect Instead of Completing [cloudflare]
- Sun Feb 23, 2025 11:06 pm
- Replies 12
- Views 6506
PayPal Checkout Integration: Incorrect pay later amount.
https://i.postimg.cc/nzrtPnCZ/Screenshot-686.png OC 4.1.0.0 Original OC theme Extension: PayPal Checkout Integration Order Total: $81.40 Payments: 4 x $8.52 I’d love to offer the Pay Later option, but I’m not comfortable giving my items away almost for free. Is this a PayPal error or an issue with ...
Jump to post- Tue Feb 18, 2025 12:54 am
- Replies 0
- Views 1344
Re: OpenCart 4.1.0.0 - Cart Quantity Update Redirects to JSON Response Page Instead of Refreshing
Found the fix in the repository.
Change upload/catalog/view/template/checkout/cart.twig:
$('#shopping-cart').on('submit', '#cart form', function(e) {
to
$('#shopping-cart').on('submit', '#output-cart form', function(e) {
- General Support
- [SOLVED] OpenCart 4.1.0.0 - Cart Quantity Update Redirects to JSON Response Page Instead of Refreshing
- Thu Feb 06, 2025 4:02 am
- Replies 1
- Views 731
[SOLVED] OpenCart 4.1.0.0 - Cart Quantity Update Redirects to JSON Response Page Instead of Refreshing
When updating the quantity of a product in the shopping cart on OpenCart 4.1.0.0, instead of refreshing the cart page or updating it via AJAX, I am redirected to a plain-text JSON response page like this: /index.php?route=checkout/cart.edit&language=en-gb Response: {"success":"Suc...
Jump to post- General Support
- [SOLVED] OpenCart 4.1.0.0 - Cart Quantity Update Redirects to JSON Response Page Instead of Refreshing
- Wed Feb 05, 2025 10:51 pm
- Replies 1
- Views 731
Re: Is OpenCart 4 supposed to be production ready or not? (May 2023)
I'm in the same boat. Installed v4.x, bought extensions and then realized that it wasn't suitable for a live site.
It would be great with a "latest stable version" link
- Mon Jun 05, 2023 6:10 am
- Replies 10
- Views 4823
Re: Compare cart total doesn't update
It works in 4.0.2.1
Jump to post- Thu Apr 20, 2023 11:09 pm
- Replies 3
- Views 1298
Compare cart total doesn't update
When you hit "add to cart" from the compare page, then you will need to refresh the page to see the new cart total.
My site is oc 4.0.1.1 on php 8.1
It also happens on the opencart.com demo
- Wed Apr 19, 2023 10:01 pm
- Replies 3
- Views 1298
Re: [SOLVED] Admin, Add or Edit Order - Unexpected end of input
I can see it's old and known issue, but I just got same issue. I read thru the topic and nothing worked, I assure you that the issue developed on its own. I own the server and I haven't made any changes, I don't use auto-updates on my Apache or phpmyadmin or anything. I haven't touched it for month...
Jump to post- Wed Nov 02, 2022 1:28 am
- Replies 91
- Views 101760
Different pagination url in categories vs subcategories
I just noticed this in my shop on OC 2.0.11 and Journal theme Category urls: http://www.domain.com/categoryname http://www.domain.com/categoryname?page=2 http://www.domain.com/categoryname?page=3 Subcategory urls: http://www.domain.com/subcategoryname http://www.domain.com/subcategoryname#/sort=p.so...
Jump to post- Mon Jun 05, 2017 10:03 pm
- Replies 0
- Views 496
Re: Problem with total calculation and rounded prices
Most of us display the price to our customers with 2 decimals, so why work with 4 decimals in the database?
The price field in the oc_product and oc_product_discount has 4 decimals. I haven't done it yet, but I think it will fix the problem if we changed that to 2.
- Tue Apr 26, 2016 11:32 pm
- Replies 39
- Views 44941
Re: Popup Image Sizes on Extension Page are Way Small
In many of the extensions the images are useless. Who want to buy an extension if you can't see exactly how it's working.
The small picture sizes have been mentioned several times and it can't be that hard to fix. This is ridiculous!
- Tue Dec 29, 2015 9:47 pm
- Replies 14
- Views 7390
Re: Calculating Shipping From Multi Vendor on the Fly?
That looks like an amazing shipping module. One question.. Many suppliers have a minimum fee if your order don't reach their minimum requirement. ie, if their minimum order requirement is $50 and I only order for $35, they will add a $3 order fee. Is this something Ultimate shipping can handle as it...
Jump to post- Thu Nov 12, 2015 7:23 am
- Replies 10
- Views 9977
Missing template file
Just want to point out that the not_found.tpl template which is called here in pp_express.php does not exist. if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/payment/not_found.tpl')) { $this->response->setOutput($this->load->view($this->config->get('config_template'...
Jump to post- Fri Apr 10, 2015 12:18 am
- Replies 3
- Views 1428
[Done] Separate Page With Latest Products
I'm sending a latest product email to my customers through aweber. What I need is a php page with the x amount of latest products, so I can open it in my browser, copy the source code and enter it as the aweber message. The amount of products shown should called by the url like http://www.mystore.co...
Jump to post- Mon Mar 23, 2015 10:53 pm
- Replies 1
- Views 740