Error of showing Home category at admin part

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
MilaWeb
Posts: 11
Joined: 13 Oct 2022, 16:42

Error of showing Home category at admin part

Post by MilaWeb » 13 Oct 2022, 16:47

Laravel version 9.31.0, Aimeos version 2022.07, PHP version 8.0.23, Ubuntu 20.04.5 LTS
At production instance categories page admin 'Home' category doesn't show as usual.
While click at it - error "Item with ID "undefined" in "catalog.id" not found"
And at json massive at structure got 0 element (while at local version no 0 element and everything is normal).
Attachments
category_2.jpg
category_2.jpg (186 KiB) Viewed 1699 times

User avatar
aimeos
Administrator
Posts: 7950
Joined: 01 Jan 1970, 00:00

Re: Error of showing Home category at admin part

Post by aimeos » 13 Oct 2022, 17:14

Is there any JS error in the browser console before or after the error?
Does an upgrade to the new 2022.10 LTS fixes the issue?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

MilaWeb
Posts: 11
Joined: 13 Oct 2022, 16:42

Re: Error of showing Home category at admin part

Post by MilaWeb » 13 Oct 2022, 17:43

No any js error at console.
While now try to upgrade version there was this about github token and can't to finish upgrade (attch login error after try upgrade)
Attachments
upgrade.jpg
upgrade.jpg (149.02 KiB) Viewed 1689 times
login.jpg
login.jpg (87.58 KiB) Viewed 1690 times
console.jpg
console.jpg (86.87 KiB) Viewed 1690 times
Last edited by MilaWeb on 13 Oct 2022, 17:47, edited 1 time in total.

User avatar
aimeos
Administrator
Posts: 7950
Joined: 01 Jan 1970, 00:00

Re: Error of showing Home category at admin part

Post by aimeos » 13 Oct 2022, 17:46

You have to run "php artisan aimeos:shop" to upgrade the table structure
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

MilaWeb
Posts: 11
Joined: 13 Oct 2022, 16:42

Re: Error of showing Home category at admin part

Post by MilaWeb » 13 Oct 2022, 17:49

Try to run "php artisan aimeos:shop" but no this command
Attachments
ahop_command.jpg
ahop_command.jpg (22.66 KiB) Viewed 1687 times

User avatar
aimeos
Administrator
Posts: 7950
Joined: 01 Jan 1970, 00:00

Re: Error of showing Home category at admin part

Post by aimeos » 13 Oct 2022, 18:17

Sorry, it must be:

Code: Select all

php artisan aimeos:setup
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

MilaWeb
Posts: 11
Joined: 13 Oct 2022, 16:42

Re: Error of showing Home category at admin part

Post by MilaWeb » 13 Oct 2022, 18:26

Thank you, run

Code: Select all

php artisan aimeos:setup
command work without error - but now login page not work 404
Attachments
login_2.jpg
login_2.jpg (23.93 KiB) Viewed 1682 times

User avatar
VirtualSpy
Advanced
Posts: 122
Joined: 05 Jul 2022, 07:55

Re: Error of showing Home category at admin part

Post by VirtualSpy » 14 Oct 2022, 06:18

MilaWeb wrote: 13 Oct 2022, 18:26 Thank you, run

Code: Select all

php artisan aimeos:setup
command work without error - but now login page not work 404
run

Code: Select all

php artisan config:clear

Code: Select all

php artisan route:clear

User avatar
aimeos
Administrator
Posts: 7950
Joined: 01 Jan 1970, 00:00

Re: Error of showing Home category at admin part

Post by aimeos » 14 Oct 2022, 07:20

MilaWeb wrote: 13 Oct 2022, 18:26 Thank you, run

Code: Select all

php artisan aimeos:setup
command work without error - but now login page not work 404
Add "p" as prefix to the CMS page routes like here:
https://github.com/aimeos/aimeos/blob/m ... op.php#L40
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

MilaWeb
Posts: 11
Joined: 13 Oct 2022, 16:42

Re: Error of showing Home category at admin part

Post by MilaWeb » 14 Oct 2022, 12:44

Got it, links are ready - but styles for login page not work. "npm run build" doesn't help
Attachments
login.jpg
login.jpg (26.3 KiB) Viewed 1544 times

Post Reply