Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poblems after migration to Joomla 5 #89

Open
mkd-od opened this issue Nov 10, 2024 · 17 comments
Open

Poblems after migration to Joomla 5 #89

mkd-od opened this issue Nov 10, 2024 · 17 comments

Comments

@mkd-od
Copy link

mkd-od commented Nov 10, 2024

Hi,

after I migrated the website from Joomla 3 to Joomla 5 https://frauenprojekt-kenia.de/ with J2store 4.0.5 there were the following problems:

J2Store Dashboard does not show sales statistics.

Klick on configuration, I get a white page.

When I try to create tax, it's impossible (see attached picture).

At Standard Shipping methods, it's nothing to see!

You can create a new Joomla post. If you turn it into a J2stor product, a white page appears after saving and you can no longer edit the article.

I have no experience with PHP programming and hope for help with bug fixing.

@mkd-od mkd-od changed the title Poblms after migtation to Joomla 5 Poblms after migration to Joomla 5 Nov 10, 2024
@brianteeman
Copy link

A white page is an error message in disguise - go to the global configuration and set error reporting to maximum and enable debug. Then repeat the steps you took to get the white page and report back with the full displayed errors.

image

image

@mkd-od mkd-od changed the title Poblms after migration to Joomla 5 Poblems after migration to Joomla 5 Nov 10, 2024
@mkd-od
Copy link
Author

mkd-od commented Nov 10, 2024

Hi,
thanks for your feedback.

These errors were displayed

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/engel-shop/public_html/libraries/src/Log/LogEntry.php on line 126

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /home/engel-shop/public_html/libraries/vendor/symfony/error-handler/Exception/FlattenException.php on line 329

Greetings
Jörg

@mkd-od
Copy link
Author

mkd-od commented Nov 10, 2024

I changed PHP Maximum Storage Allocation from 128M to 256M.
Now I can edit j2store-configuration,

Klick on j2store-dashboard show the following error:
Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/engel-shop/public_html/libraries/f0f/database/driver/joomla.php on line 258

When trying to edit an article, the following appears:
implode(): Argument #1 ($array) must be of type array, string given

Call Stack
1 | () | JROOT/layouts/joomla/form/field/media.php:160
2 | implode() | JROOT/layouts/joomla/form/field/media.php:160
3 | include() | JROOT/libraries/src/Layout/FileLayout.php:128
4 | Joomla\CMS\Layout\FileLayout->render() | JROOT/administrator/components/com_j2store/helpers/j2html.php:375
5 | J2Html::media() | JROOT/administrator/components/com_j2store/views/product/tmpl/form_images.php:35
6 | include() | JROOT/libraries/f0f/view/view.php:442
7 | F0FView->loadAnyTemplate() | JROOT/libraries/f0f/view/view.php:843
8 | F0FView->loadTemplate() | JROOT/administrator/components/com_j2store/views/product/tmpl/form_simple.php:159
9 | include() | JROOT/libraries/f0f/view/view.php:442
10 | F0FView->loadAnyTemplate() | JROOT/libraries/f0f/view/view.php:843
11 | F0FView->loadTemplate() | JROOT/administrator/components/com_j2store/views/product/tmpl/form.php:172
12 | include() | JROOT/libraries/f0f/view/view.php:442
13 | F0FView->loadAnyTemplate() | JROOT/libraries/f0f/view/view.php:843
14 | F0FView->loadTemplate() | JROOT/libraries/f0f/view/view.php:474
15 | F0FView->display() | JROOT/libraries/f0f/view/raw.php:128
16 | F0FViewRaw->display() | JROOT/libraries/f0f/controller/controller.php:1125
17 | F0FController->display() | JROOT/libraries/f0f/controller/controller.php:1330
18 | F0FController->edit() | JROOT/libraries/f0f/controller/controller.php:967
19 | F0FController->execute() | JROOT/administrator/components/com_j2store/controllers/products.php:23
20 | J2StoreControllerProducts->execute() | JROOT/libraries/f0f/dispatcher/dispatcher.php:330
21 | F0FDispatcher->dispatch() | JROOT/plugins/content/j2store/fields/j2store.php:48
22 | JFormFieldJ2Store->getInput() | JROOT/libraries/src/Form/FormField.php:1056
23 | Joomla\CMS\Form\FormField->renderField() | JROOT/layouts/joomla/edit/fieldset.php:43
24 | include() | JROOT/libraries/src/Layout/FileLayout.php:128
25 | Joomla\CMS\Layout\FileLayout->render() | JROOT/libraries/src/Layout/LayoutHelper.php:76
26 | Joomla\CMS\Layout\LayoutHelper::render() | JROOT/layouts/joomla/edit/params.php:170
27 | include() | JROOT/libraries/src/Layout/FileLayout.php:128
28 | Joomla\CMS\Layout\FileLayout->render() | JROOT/libraries/src/Layout/LayoutHelper.php:76
29 | Joomla\CMS\Layout\LayoutHelper::render() | JROOT/administrator/components/com_content/tmpl/article/edit.php:113
30 | include() | JROOT/libraries/src/MVC/View/HtmlView.php:416
31 | Joomla\CMS\MVC\View\HtmlView->loadTemplate() | JROOT/libraries/src/MVC/View/HtmlView.php:204
32 | Joomla\CMS\MVC\View\HtmlView->display() | JROOT/administrator/components/com_content/src/View/Article/HtmlView.php:135
33 | Joomla\Component\Content\Administrator\View\Article\HtmlView->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:697
34 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT/administrator/components/com_content/src/Controller/DisplayController.php:65
35 | Joomla\Component\Content\Administrator\Controller\DisplayController->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:730
36 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
37 | Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() | JROOT/libraries/src/Component/ComponentHelper.php:361
38 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT/libraries/src/Application/AdministratorApplication.php:150
39 | Joomla\CMS\Application\AdministratorApplication->dispatch() | JROOT/libraries/src/Application/AdministratorApplication.php:195
40 | Joomla\CMS\Application\AdministratorApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:306
41 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/administrator/includes/app.php:58
42 | require_once() | JROOT/administrator/index.php:32

@newlinewebdesign
Copy link

The error in the article view is a bug that affected J2Store version 4.0.5 and the latest releases of Joomla 4 & 5. Please install 4.0.7 on top of your current j2store installation and the issue should be resolved.

@mkd-od
Copy link
Author

mkd-od commented Nov 11, 2024

The error in the article view is a bug that affected J2Store version 4.0.5 and the latest releases of Joomla 4 & 5. Please install 4.0.7 on top of your current j2store installation and the issue should be resolved.

Thanks.

You can create a new Joomla post. If you turn it into a J2stor product, a white page appears after saving and you can no longer edit the article.

This is fixed!

The following problems still occur:

The J2Store dashboard does not display sales statistics.
Error:
Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/engel-shop/public_html/libraries/f0f/database/driver/joomla.php on line 258

There are no entries for the standard shipping methods!
The created shipping methods for Germany (free of charge from 100 € value of goods and postal shipping for 1.60 €) work.
No error occurs.
See attachd picture.
standard shipping methods

If you are logged in to https://frauenprojekt-kenia.de/index.php/2022-03-21-16-55-23/meine-daten#address-tab, you cannot edit the addresses created in Order Data.

Greetings
Jörg

@newlinewebdesign
Copy link

The fix for the standard shipping issue has been included in the 4.0.8 release that should be out today. Regarding the statistics module, have go gone into the module's settings to make sure it is set to display the results of either All or specific order statuses?

@mkd-od
Copy link
Author

mkd-od commented Nov 11, 2024

Regarding the statistics module, have go gone into the module's settings to make sure it is set to display the results of either All or specific order statuses?

I don't know where to set up the dashboard

@newlinewebdesign
Copy link

To check the settings, you should find the modules in the administrator modules section under the content section and check the order status field to make sure it at least shows all as well as making sure it's published of course.

@mkd-od
Copy link
Author

mkd-od commented Nov 13, 2024

There are no entries for the standard shipping methods!
fixed

To check the settings, you should find the modules in the administrator modules section under the content section and check the order status field to make sure it at least shows all as well as making sure it's published of course.

j2store Dashoard 01

In administrator modules section J2 I can't find a position for J2-Dashboard:

administrator module J2 statics

@mkd-od
Copy link
Author

mkd-od commented Nov 13, 2024

Joomla Dashoard 02

@mkd-od
Copy link
Author

mkd-od commented Nov 13, 2024

Apparasis there is a problem when multiple tax rates are set..

In Germany, there are 7% VAT and 19% VAT

If both tax rates are activated and in the basket is an item with 19% the VAT amounts for both tax rates are displayed in the shopping cart..

Artikel mit19 prozent

Warenkorb 2 Steuersaetze

@newlinewebdesign
Copy link

newlinewebdesign commented Nov 13, 2024 via email

@alantamb
Copy link

@mkd-od
Try to check my settings.

j2stat1
j2stat2
j2stat3

@mkd-od
Copy link
Author

mkd-od commented Nov 13, 2024

Joerg, Can you go to j2commerce.com and send us a message with the login creds so we can take a look at what's going on? Adam

I sent it twice. The answer was always 403

If you don't received my mail send me a mail to [email protected].

@mkd-od
Copy link
Author

mkd-od commented Nov 13, 2024

@mkd-od Also I suggest you to set your currency tab. By Default J2Store use the decimal with . and thousands with , like the american currency 1,000.00 $, but in Europe we have to set , for decimal and . for thousands 1.000,00 €

Thanks for your feedback. I know it, but it's not the reason.

@mkd-od
Copy link
Author

mkd-od commented Nov 13, 2024

@mkd-od Try to check my settings.

I dont have any template layout positions with j2store...
This is my problem!

@mkd-od
Copy link
Author

mkd-od commented Nov 15, 2024

@newlinewebdesign

Joerg, Can you go to j2commerce.com and send us a message with the login creds so we can take a look at what's going on? Adam

I sent the login creds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants