Post by mdziwuls » Thu Feb 27, 2020 3:46 am

Hey Guys, random issue popped up today.
For the past year I've had no issue, but randomly today when i try to add a manual order on the admin side of things it wont let me add a product. I can successfully find a customer and it auto populates the customer info, on the next tab where you add products, it will find the product, but the add product button doesn't do anything I can click it all i want, but the table doesnt get populated with a product. I can continue to the rest of the order but the product doesnt get added to the order.

I'm not getting any errors, so its diffcult to figure what it might be. Any thoughts? I'm using version 3.0.2.0

Newbie

Posts

Joined
Thu Jul 02, 2015 8:22 am

Post by straightlight » Thu Feb 27, 2020 3:49 am

Hit the F12 function key from the order create / edit page. When hitting the button to continue from the products tab, what do you notice from the console tab or from your network - > XHR tab?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by mdziwuls » Thu Feb 27, 2020 4:12 am

straightlight wrote:
Thu Feb 27, 2020 3:49 am
Hit the F12 function key from the order create / edit page. When hitting the button to continue from the products tab, what do you notice from the console tab or from your network - > XHR tab?
when I select on the products I get:

Code: Select all

[{"product_id":"52","name":"Bag It All Weather Bag - Large Black (105\" W X 75\" H)","model":"(004) Black-Large","option":[],"price":"9.5000"},{"product_id":"54","name":"Bag It All Weather Bag - Large Clear (105\" W X 75\" H)","model":"(001) Clear-Large","option":[],"price":"9.5000"},{"product_id":"53","name":"Bag It All Weather Bag - Medium Clear (84\" W X 70\" H)","model":"(003) Clear-Medium","option":[],"price":"8.9500"},{"product_id":"50","name":"Bag It All Weather Bag - Small Clear (70\" W X 60\" H)","model":"(002) Clear-Small","option":[],"price":"8.3500"},{"product_id":"55","name":"Bag It All Weather Bags Super Size \"Black\" (130\"x75\")","model":"(005) Super Sizes "Black"","option":[],"price":"10.9500"}]
But in the network tab when i press the "add product button" I get:

Code: Select all

{products: [], vouchers: [],…}
products: []
vouchers: []
totals: [{title: "Sub-Total", text: "$0.00"}, {title: "Total", text: "$0.00"}]
0: {title: "Sub-Total", text: "$0.00"}
1: {title: "Total", text: "$0.00"}
So it seems like the button isnt capturing the product details. Not sure why this would suddenly happen? Ajax issue?
Last edited by straightlight on Thu Feb 27, 2020 4:20 am, edited 1 time in total.
Reason: Please use the code tags!

Newbie

Posts

Joined
Thu Jul 02, 2015 8:22 am

Post by straightlight » Thu Feb 27, 2020 4:22 am

Are you using MOD security on your domain? I have seen this type of issue on a custom job where the dropdown menu from the admin - > extensions - > extensions - > theme's edit page would not show any results of the theme folders, for instance, in the drop-down menu. If you go to that location, could you confirm if you do see any themes listed for testing purposes?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by mdziwuls » Thu Feb 27, 2020 4:31 am

straightlight wrote:
Thu Feb 27, 2020 4:22 am
Are you using MOD security on your domain? I have seen this type of issue on a custom job where the dropdown menu from the admin - > extensions - > extensions - > theme's edit page would not show any results of the theme folders, for instance, in the drop-down menu. If you go to that location, could you confirm if you do see any themes listed for testing purposes?
I don't believe MOD security is enabled. Visiting extensions and looking at the themes does show the current theme as enabled.

Essentially this site was made back in 2018 and the client has been using it ever since for manual order placement. Hasn't had any issue until just now.

Newbie

Posts

Joined
Thu Jul 02, 2015 8:22 am

Post by straightlight » Thu Feb 27, 2020 4:37 am

mdziwuls wrote:
Thu Feb 27, 2020 4:31 am
straightlight wrote:
Thu Feb 27, 2020 4:22 am
Are you using MOD security on your domain? I have seen this type of issue on a custom job where the dropdown menu from the admin - > extensions - > extensions - > theme's edit page would not show any results of the theme folders, for instance, in the drop-down menu. If you go to that location, could you confirm if you do see any themes listed for testing purposes?
I don't believe MOD security is enabled. Visiting extensions and looking at the themes does show the current theme as enabled.

Essentially this site was made back in 2018 and the client has been using it ever since for manual order placement. Hasn't had any issue until just now.
The instructions above was not to look for the theme status but rather inside the theme's edit page and look for the theme names on the drop-down menu (first one on the top).

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by mdziwuls » Thu Feb 27, 2020 5:10 am

straightlight wrote:
Thu Feb 27, 2020 4:37 am
mdziwuls wrote:
Thu Feb 27, 2020 4:31 am
straightlight wrote:
Thu Feb 27, 2020 4:22 am
Are you using MOD security on your domain? I have seen this type of issue on a custom job where the dropdown menu from the admin - > extensions - > extensions - > theme's edit page would not show any results of the theme folders, for instance, in the drop-down menu. If you go to that location, could you confirm if you do see any themes listed for testing purposes?
I don't believe MOD security is enabled. Visiting extensions and looking at the themes does show the current theme as enabled.

Essentially this site was made back in 2018 and the client has been using it ever since for manual order placement. Hasn't had any issue until just now.
The instructions above was not to look for the theme status but rather inside the theme's edit page and look for the theme names on the drop-down menu (first one on the top).
Oh my bad! I do see the theme names.

Newbie

Posts

Joined
Thu Jul 02, 2015 8:22 am

Post by mdziwuls » Thu Feb 27, 2020 5:25 am

Would you possibly want admin access?

Newbie

Posts

Joined
Thu Jul 02, 2015 8:22 am

Post by straightlight » Thu Feb 27, 2020 5:34 am

Have you recently migrated the store or it's a fresh installation? Also, are you using any extensions?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by mdziwuls » Thu Feb 27, 2020 5:48 am

straightlight wrote:
Thu Feb 27, 2020 5:34 am
Have you recently migrated the store or it's a fresh installation? Also, are you using any extensions?
The site hasn't been changed or updated for about 12 months. From what I have been told, the client has just been updating orders like usual and hasnt touched anything else.

Newbie

Posts

Joined
Thu Jul 02, 2015 8:22 am

Post by mdziwuls » Thu Feb 27, 2020 6:54 am

straightlight wrote:
Thu Feb 27, 2020 5:34 am
Have you recently migrated the store or it's a fresh installation? Also, are you using any extensions?
I did notice that when in Admin-> modifications , I can't disable anything. refreshing cache and clearing button seems to not do anything. Its like the buttons don't work. They are clickable though.

Newbie

Posts

Joined
Thu Jul 02, 2015 8:22 am

Post by straightlight » Thu Feb 27, 2020 7:50 am

This means your storage folder is not responding. Did you moved your storage folder outside of your public_html folder and re-configure the new path in both config.php files already?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by mdziwuls » Fri Feb 28, 2020 2:52 am

straightlight wrote:
Thu Feb 27, 2020 7:50 am
This means your storage folder is not responding. Did you moved your storage folder outside of your public_html folder and re-configure the new path in both config.php files already?
I just checked, the folder is outside of the public_html folder

Newbie

Posts

Joined
Thu Jul 02, 2015 8:22 am

Post by straightlight » Fri Feb 28, 2020 3:40 am

PM sent.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by rp_ » Fri Apr 04, 2025 6:24 am

Sorry to dig up an old unanswered question, but I had the same thing happen to my site. After testing different things, nothing seemed to work. We even set up a new sub.domain, database, user, etc and still had the same issue. I then sent an email to the host to ask if anything has changed in the past week on the website and he replied:
"I had my data center install and enable NGINX caching, so I'll disable that on your account right now and see if you issue goes away."
Now the button works fine. I'm not sure if there were any other issues related, just didn't discover them.
Maybe someone else may have the same issue and need to contact your host about the NGINX caching.
Opencart v3.0.40 PHP 8.3

rp_
Newbie

Posts

Joined
Tue Jun 26, 2018 12:30 am

Post by khnaz35 » Fri Apr 04, 2025 11:36 am

rp_ wrote:
Fri Apr 04, 2025 6:24 am
Now the button works fine.
So your issue is solved?

Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy. :-*

Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia
Who is online

Users browsing this forum: Google [Bot] and 13 guests