Author Topic: Virtuemart and joomla 4  (Read 49984 times)

starexhaust

  • Beginner
  • *
  • Posts: 9
  • A beginner
Re: Virtuemart and joomla 4
« Reply #45 on: September 07, 2021, 13:32:59 pm »
Hey, I’m trying to install the new VM J4 compatible version. But it says “Internal server error” when I try to install the core. My website is coolanttubes.com. If you type “2181” into the search bar, you can see the debug info. If anyone has any suggeations let me know, thanks.

Here is a screenshot of the error I get in the backend joomla admin when trying to install the core.

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3751
  • using Matomo instead of Google Analytics
Re: Virtuemart and joomla 4
« Reply #46 on: September 07, 2021, 15:13:40 pm »
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

starexhaust

  • Beginner
  • *
  • Posts: 9
  • A beginner
Re: Virtuemart and joomla 4
« Reply #47 on: September 07, 2021, 15:17:45 pm »
Thanks for the response! This is the file that I'm using and referring to though! Any suggestions?

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3751
  • using Matomo instead of Google Analytics
Re: Virtuemart and joomla 4
« Reply #48 on: September 07, 2021, 15:55:17 pm »
Thanks for the response! This is the file that I'm using and referring to though! Any suggestions?

I don't get the router error when I install Joomla 4.0.2 over a Joomla 3.10.1 and then the com_virtuemart.3.8.9.10534_package_or_extract.zip.
(but still a lot of other errors due to incompatible plugins)
Maybe try this one instead: https://forum.virtuemart.net/index.php?topic=142569.msg524833#msg524833
Perhaps also check and remove any leftover files in the tmp folder, from previous unsuccessful installation attempts.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

starexhaust

  • Beginner
  • *
  • Posts: 9
  • A beginner
Re: Virtuemart and joomla 4
« Reply #49 on: September 07, 2021, 16:26:41 pm »
I tried both of those things, I now get the message "Internal Server Error". Attaching a screenshot of the page that comes up when I search for a VM product on my website. Thank for helping.

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3751
  • using Matomo instead of Google Analytics
Re: Virtuemart and joomla 4
« Reply #50 on: September 07, 2021, 17:45:25 pm »
If you installed the version posted here in the forum by stAn99 first and afterwards installed the version from http://dev.virtuemart.net/projects/virtuemart/files, you might have ended up with conflicting router versions. The existing router.php might load too early.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

starexhaust

  • Beginner
  • *
  • Posts: 9
  • A beginner
Re: Virtuemart and joomla 4
« Reply #51 on: September 07, 2021, 18:35:21 pm »
That could definitely be what happened, how would I resolve that?

stAn99

  • Contributing Developer
  • Jr. Member
  • *
  • Posts: 100
    • One Page Checkout for Virtuemart 2
Re: Virtuemart and joomla 4
« Reply #52 on: September 08, 2021, 10:05:24 am »
Hello, Internal server error is not somthing that would be useful for this thread. It only means that there is a fatal error within PHP.

Please make sure you can provide a feedback which would be useful for VM community and DEVs, by enabling proper error reporting:
- in joomla set PHP error reporting to development or maximum
- in php.ini make sure that display_errors=on + error_reporting=E_ALL (or similar per php version)

if you cannot edit php.ini directly, or joomla error reporting does not show you errors, you might ask your hosting on how to enable error reporting and it's display in:
- htaccess (in joomla root and joomla's administrator root)
- .user.ini override (in joomla root and joomla's administrator root)
- php.ini override
- php pool error reporing values (php_admin_value[error_reporting] and php_admin_value[display_errors] )

if none of the above helps you might also check your php error log.

furthermore i suggest ot enable "debug mode" in joomla global configuration so that you can report backtraces in this forum. i suggest to disable "system - debug" plugin which might cause memory issues when you run it with less then 4gb ram per php process.

if you can, i suggest to enable xdebug extension for PHP which is helpful in detecting infinite loops/recursion and can provide better backtraces compared to standard PHP backtrace.

best regards, stan


----
RuposTel.com
www.rupostel.com
Your customized checkout solution for Virtuemart

stAn99

  • Contributing Developer
  • Jr. Member
  • *
  • Posts: 100
    • One Page Checkout for Virtuemart 2
Re: Virtuemart and joomla 4
« Reply #53 on: September 08, 2021, 10:13:03 am »
if you installed my j4legacy plugin, just disable it in joomla extensions and install the VM10534+ or disable it within the plugin backend interface.

best regards, stan
----
RuposTel.com
www.rupostel.com
Your customized checkout solution for Virtuemart

starexhaust

  • Beginner
  • *
  • Posts: 9
  • A beginner
Re: Virtuemart and joomla 4
« Reply #54 on: September 08, 2021, 15:17:39 pm »
Thanks for the suggestions. I disabled j4legacy, tried to install the core component, and I get these errors now.

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1657
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Virtuemart and joomla 4
« Reply #55 on: September 08, 2021, 16:43:00 pm »
Column "oc_note" ?

What is this?
This is VM standard DB field?
Is right version Mysql for VM?
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

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3751
  • using Matomo instead of Google Analytics
Re: Virtuemart and joomla 4
« Reply #56 on: September 08, 2021, 17:06:21 pm »
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28529
  • Always on vacation
    • Jenkin Hill Internet
Re: Virtuemart and joomla 4
« Reply #57 on: September 08, 2021, 18:58:28 pm »
Also an oc_note issue is discussed here  https://forum.virtuemart.net/index.php?topic=146110.0
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.0.14 10805  J 3.10.11 PHP 8.0.27

oschellas

  • Beginner
  • *
  • Posts: 7
  • Skype Name: tcvdveer
Re: Virtuemart and joomla 4
« Reply #58 on: September 17, 2021, 16:53:11 pm »
Getting following error on a fresh installation when visiting Joomla front-end (after installing VM with demo data):
XAMPP PHP 7.4 / Joomla 4.0.3 / com_virtuemart.3.8.9.10534

0 Call to a member function get() on null

Call stack
#    Function    Location
1    ()    JROOT\plugins\system\vmLoaderPluginUpdate\vmLoaderPluginUpdate.php:56
2    plgSystemVmLoaderPluginUpdate->__construct()    JROOT\libraries\src\Extension\ExtensionManagerTrait.php:242
3    Joomla\CMS\Application\CMSApplication->loadPluginFromFilesystem()    JROOT\libraries\src\Extension\ExtensionManagerTrait.php:160
4    Joomla\CMS\Application\CMSApplication->loadExtension()    JROOT\libraries\src\Extension\ExtensionManagerTrait.php:94
5    Joomla\CMS\Application\CMSApplication->bootPlugin()    JROOT\libraries\src\Plugin\PluginHelper.php:235
6    Joomla\CMS\Plugin\PluginHelper::import()    JROOT\libraries\src\Plugin\PluginHelper.php:193
7    Joomla\CMS\Plugin\PluginHelper::importPlugin()    JROOT\libraries\src\Application\CMSApplication.php:739
8    Joomla\CMS\Application\CMSApplication->initialiseApp()    JROOT\libraries\src\Application\SiteApplication.php:709
9    Joomla\CMS\Application\SiteApplication->initialiseApp()    JROOT\libraries\src\Application\SiteApplication.php:224
10    Joomla\CMS\Application\SiteApplication->doExecute()    JROOT\libraries\src\Application\CMSApplication.php:278
11    Joomla\CMS\Application\CMSApplication->execute()    JROOT\includes\app.php:63
12    require_once()    JROOT\index.php:32

When I disable the VM Framework Loader during Plugin Updates and Registration Redirect extension the error is gone.

RobertL

  • Beginner
  • *
  • Posts: 49
Re: Virtuemart and joomla 4
« Reply #59 on: September 20, 2021, 21:49:23 pm »
I haven't had already mentioned issues on a clean install (PHP7.4, J4.02 and 4.03, VM3.8.9.10534), but the front end is a bit broken, specifically custom fields (screenshot attached).

This is with sample content, and standard Cassiopeia template.