News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Error 500 while editing shipping method

Started by Maede, July 06, 2022, 09:03:18 AM

Previous topic - Next topic

Maede

I got an error when I want to edit the shipping method. Any ideas?
Spec: Joomla 4 and VirtueMaart 4.05

500 behavior::colorpicker not found.

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Maede

I just installed Version 4.0.6 over Joomla extension update directly and the error still appears!

GJC Web Design

you need to supply the fatal trace to know where the colorpicker is being called
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Maede

I dont understand what trace do u mean. I get this error 500, no colorpicker found every time I try to edit a shipment method.

pinochico

QuoteI dont understand what trace do u mean

To je pak těžké, když neumíte ladit původ chyby...
Nebo si myslíte že máme křišťálovou kouli a hned víme co je na Vašem webu špatně?
Určitě ale umíte vyhledat na google jak se ladí a trasuje PHP chyba v Joomla:
https://docs.joomla.org/How_to_debug_your_code

Já používám pro tracování plugin n3t Debug, ten má Tracy přímo v sobě:
https://bitbucket.org/n3t/n3t-debug/downloads/

---

That's hard when you can't debug the origin of the error...
or do you think we have a crystal ball and know what's wrong with your site?
But surely you can google how to debug and trace a PHP error in Joomla:
https://docs.joomla.org/How_to_debug_your_code

I use the n3t Debug plugin for tracing, it has Tracy right in it:
https://bitbucket.org/n3t/n3t-debug/downloads/


www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

Maede

Ah sorry I did not understand the question. I tried it with debug mode on an recieved the following:
Es ist ein Fehler aufgetreten.

    500 behavior::colorpicker not found.


# Function Location
1 () JROOT/libraries/src/HTML/HTMLHelper.php:140
2 Joomla\CMS\HTML\HTMLHelper::_() JROOT/administrator/templates/vmadmin/html/com_virtuemart/helpers/vmuikit_html.php:629
3 VmuikitHtml::color() JROOT/administrator/templates/vmadmin/html/com_virtuemart/helpers/vmuikit_html.php:180
4 VmuikitHtml::row() JROOT/administrator/templates/vmadmin/html/com_virtuemart/shipmentmethod/edit_edit.php:40
5 include() JROOT/libraries/src/MVC/View/HtmlView.php:436
6 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/administrator/templates/vmadmin/html/com_virtuemart/sublayouts/buildtabs.php:63
7 include() JROOT/administrator/templates/vmadmin/html/com_virtuemart/helpers/adminsublayouts.php:40
8 adminSublayouts::renderAdminVmSubLayout() JROOT/administrator/templates/vmadmin/html/com_virtuemart/helpers/vmuikit_adminuihelper.php:258
9 vmuikitAdminUIHelper::buildTabs() JROOT/administrator/templates/vmadmin/html/com_virtuemart/shipmentmethod/edit.php:32
10 include() JROOT/libraries/src/MVC/View/HtmlView.php:436
11 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/administrator/components/com_virtuemart/helpers/vmviewadmin.php:75
12 VmViewAdmin->display() JROOT/administrator/components/com_virtuemart/views/shipmentmethod/view.html.php:118
13 VirtuemartViewShipmentmethod->display() JROOT/administrator/components/com_virtuemart/helpers/vmcontroller.php:120
14 VmController->display() JROOT/administrator/components/com_virtuemart/helpers/vmcontroller.php:145
15 VmController->edit() JROOT/libraries/src/MVC/Controller/BaseController.php:735
16 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_virtuemart/virtuemart.php:75
17 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
18 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
19 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
20 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
21 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
22 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
23 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
24 require_once() JROOT/administrator/index.php:32
Call stack

GJC Web Design

the error is coming from the new VM admin template

there is an update .. have u tried it?
https://dev.virtuemart.net/attachments/download/1326/vmadmin.4.0.6.zip

or test with the new template switched off
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Maede

Hurray! It works with the new template! Many thanks!!!!!!   :-* ;D