Author Topic: Scripts not found in Administrator section, orders section cannot update  (Read 2749 times)

Kuubs

  • Jr. Member
  • **
  • Posts: 446
Hello,

I have a problem. I have Joomla 3.9.8 and VM 3.4.2.

If I want to change an order it's status it doesn't do anything. I see that there are a couple of scripts missing. How can I solve this? It just suddenly appeared, I don't think anything changed (except maybe a Joomla update but I have to research if that happened). Someone experienced this problem before? It are the following scirpts:

/components/com_virtuemart/assets/js/fancybox/jquery.mousewheel-3.0.4.pack.js?vmver=883f8e0f net::ERR_ABORTED 404
/components/com_virtuemart/assets/js/fancybox/jquery.easing-1.3.pack.js?vmver=883f8e0f net::ERR_ABORTED 404
/administrator/index.php?option=com_ajax&group=system&plugin=sendStats&format=raw 404

Kuubs

  • Jr. Member
  • **
  • Posts: 446
Found the solution. It wass a backup process that had failed and the Javascript files were renamed. Fixing that issue and it works again!

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3517
  • VirtueMart Version: 4.0.12.10777
Thanks for the update
Regards
A

Joomla 3.10.11
php 8.0

Kuubs

  • Jr. Member
  • **
  • Posts: 446
Ok, It's not solved.

The problem arises when you set the amount of orders to show on 200 or more. If you do that It seems that the JS functions are not working anymore. I cannot change the amount, I cannot change status', i cannot change pages, pagination stops working, it all stops working. Even when I'm in the console nothing shows, that is really weird. Is this a known bug?

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3945
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Quote
The problem arises when you set the amount of orders to show on 200 or more.

Needs clarification

Custom template ?

Screenshots ?

Live URL ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28746
  • Always on vacation
    • Jenkin Hill Internet
?PHP resources. Turn on Joomla & VM debug.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 4.2.5 10924 J! 3.10.11 PHP 8.2.7

Kuubs

  • Jr. Member
  • **
  • Posts: 446
Quote
The problem arises when you set the amount of orders to show on 200 or more.

Needs clarification

Custom template ?

Screenshots ?

Live URL ?

Jörgen @ Kreativ Fotografi

This is the administrator section of the website. It's a live website with lots of traffic, I cannot give credentials because that site is heavily used and orders are coming in every minute or so.

I use the standard protostar admin template. Everything works flawlessly, but the moment you set the amount on 200 or more it just breaks, without any message in the console.

What can I screenshot.. The admin section>?? While I press on buttons and nothing happens? I don't see why that would help any bit.

?PHP resources. Turn on Joomla & VM debug.

I need to check that out. But I can only do that in the evening or night when there are no customers shopping. Thanks for the insight. What should I watch closely in debug?

StefanSTS

  • Global Moderator
  • Full Member
  • *
  • Posts: 598
  • VirtueMart Version: VM 4.2 on Joomla 4.5
I don't know any store that can show more than 200 orders with the functions still working.

I guess it depends on the server resources. I never bothered to find out, for most customers 100 orders per page is fine enough.

Are you on a dedicated server?

Stefan
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4728
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
I think that you have to modify your PHP setting.
Max execution time and perhaps memory setting

Kuubs

  • Jr. Member
  • **
  • Posts: 446
I don't know any store that can show more than 200 orders with the functions still working.

I guess it depends on the server resources. I never bothered to find out, for most customers 100 orders per page is fine enough.

Are you on a dedicated server?

Stefan

Okay, yeah I think that is the problem as well. I'm on a dedicated server.

I think that you have to modify your PHP setting.
Max execution time and perhaps memory setting

Thanks. I think this is the solution indeed.

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3517
  • VirtueMart Version: 4.0.12.10777
I had this issue

I no longer show more that 99 orders in the list

Any more and I get errors on updating statuses - i.e.  even when updating 1 order to a new status - it fails to do so.
Regards
A

Joomla 3.10.11
php 8.0