Part-DB / Part-DB-server

Part-DB is an Open source inventory management system for your electronic components
https://docs.part-db.de/
GNU Affero General Public License v3.0
782 stars 88 forks source link

Can't accessing detail pages #617

Closed Katjabo closed 1 month ago

Katjabo commented 1 month ago

i have upgraded my local installation from 0.5.15 (i guess) to the newest one. Now i have trouble to accessing detail pages for the parts or projects. tools works fine.

To Reproduce get the latest Part-DB install latest composer, Yarn and Xampp Install local (xampp independing mysql server ( i use 8) Have an exsiting DB from Parts-DB Version 0.5.15

Steps to reproduce the behavior: extract the Part-DB from Zip into httpdocs folder of xampp Follow the installation Guide of Part-DB from point 1 until 7

try it out.

Expected behavior inspectable parts and projects on webpage

Screenshots grafik

Server Side

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Log entries:

[2024-05-23T12:03:38.516499+02:00] deprecation.INFO: User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "App\EventSubscriber\LogSystem\EventLoggerSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/doctrine-bridge 6.3: Registering \"App\EventSubscriber\LogSystem\EventLoggerSubscriber\" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. at C:\xampp_8\htdocs\PartDB\vendor\symfony\doctrine-bridge\ContainerAwareEventManager.php:211)"} {"token":null,"url":"/PartDB/public/en/category/2/parts","ip":"127.0.0.1","http_method":"GET","server":"localhost","referrer":"https://localhost/PartDB/public/en/category/38/parts"} [2024-05-23T12:03:38.521449+02:00] deprecation.INFO: User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "App\EventSubscriber\LogSystem\LogDBMigrationSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/doctrine-bridge 6.3: Registering \"App\EventSubscriber\LogSystem\LogDBMigrationSubscriber\" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. at C:\xampp_8\htdocs\PartDB\vendor\symfony\doctrine-bridge\ContainerAwareEventManager.php:211)"} {"token":null,"url":"/PartDB/public/en/category/2/parts","ip":"127.0.0.1","http_method":"GET","server":"localhost","referrer":"https://localhost/PartDB/public/en/category/38/parts"} [2024-05-23T12:03:39.246107+02:00] deprecation.INFO: User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "App\EventSubscriber\LogSystem\EventLoggerSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/doctrine-bridge 6.3: Registering \"App\EventSubscriber\LogSystem\EventLoggerSubscriber\" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. at C:\xampp_8\htdocs\PartDB\vendor\symfony\doctrine-bridge\ContainerAwareEventManager.php:211)"} {"token":null,"url":"/PartDB/public/PartDB/public/en/category/2/parts","ip":"127.0.0.1","http_method":"POST","server":"localhost","referrer":"https://localhost/PartDB/public/en/category/2/parts"} [2024-05-23T12:03:39.249178+02:00] deprecation.INFO: User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "App\EventSubscriber\LogSystem\LogDBMigrationSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/doctrine-bridge 6.3: Registering \"App\EventSubscriber\LogSystem\LogDBMigrationSubscriber\" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. at C:\xampp_8\htdocs\PartDB\vendor\symfony\doctrine-bridge\ContainerAwareEventManager.php:211)"} {"token":null,"url":"/PartDB/public/PartDB/public/en/category/2/parts","ip":"127.0.0.1","http_method":"POST","server":"localhost","referrer":"https://localhost/PartDB/public/en/category/2/parts"} [2024-05-23T12:11:47.241266+02:00] deprecation.INFO: User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "App\EventSubscriber\LogSystem\EventLoggerSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/doctrine-bridge 6.3: Registering \"App\EventSubscriber\LogSystem\EventLoggerSubscriber\" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. at C:\xampp_8\htdocs\PartDB\vendor\symfony\doctrine-bridge\ContainerAwareEventManager.php:211)"} {"token":null,"url":"/PartDB/public/en/","ip":"127.0.0.1","http_method":"GET","server":"localhost","referrer":"https://localhost/PartDB/public/en/category/2/parts"} [2024-05-23T12:11:47.246075+02:00] deprecation.INFO: User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "App\EventSubscriber\LogSystem\LogDBMigrationSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/doctrine-bridge 6.3: Registering \"App\EventSubscriber\LogSystem\LogDBMigrationSubscriber\" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. at C:\xampp_8\htdocs\PartDB\vendor\symfony\doctrine-bridge\ContainerAwareEventManager.php:211)"} {"token":null,"url":"/PartDB/public/en/","ip":"127.0.0.1","http_method":"GET","server":"localhost","referrer":"https://localhost/PartDB/public/en/category/2/parts"} [2024-05-23T12:11:47.921670+02:00] deprecation.INFO: User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "App\EventSubscriber\LogSystem\EventLoggerSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/doctrine-bridge 6.3: Registering \"App\EventSubscriber\LogSystem\EventLoggerSubscriber\" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. at C:\xampp_8\htdocs\PartDB\vendor\symfony\doctrine-bridge\ContainerAwareEventManager.php:211)"} {"token":null,"url":"/PartDB/public/PartDB/public/en/","ip":"127.0.0.1","http_method":"POST","server":"localhost","referrer":"https://localhost/PartDB/public/en/"} [2024-05-23T12:11:47.925684+02:00] deprecation.INFO: User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "App\EventSubscriber\LogSystem\LogDBMigrationSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/doctrine-bridge 6.3: Registering \"App\EventSubscriber\LogSystem\LogDBMigrationSubscriber\" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. at C:\xampp_8\htdocs\PartDB\vendor\symfony\doctrine-bridge\ContainerAwareEventManager.php:211)"} {"token":null,"url":"/PartDB/public/PartDB/public/en/","ip":"127.0.0.1","http_method":"POST","server":"localhost","referrer":"https://localhost/PartDB/public/en/"} [2024-05-23T12:17:07.890240+02:00] deprecation.INFO: User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "App\EventSubscriber\LogSystem\EventLoggerSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/doctrine-bridge 6.3: Registering \"App\EventSubscriber\LogSystem\EventLoggerSubscriber\" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. at C:\xampp_8\htdocs\PartDB\vendor\symfony\doctrine-bridge\ContainerAwareEventManager.php:211)"} {"token":null,"url":"/PartDB/public/en/category/23/parts","ip":"127.0.0.1","http_method":"GET","server":"localhost","referrer":"https://localhost/PartDB/public/en/"} [2024-05-23T12:17:07.894368+02:00] deprecation.INFO: User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "App\EventSubscriber\LogSystem\LogDBMigrationSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/doctrine-bridge 6.3: Registering \"App\EventSubscriber\LogSystem\LogDBMigrationSubscriber\" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. at C:\xampp_8\htdocs\PartDB\vendor\symfony\doctrine-bridge\ContainerAwareEventManager.php:211)"} {"token":null,"url":"/PartDB/public/en/category/23/parts","ip":"127.0.0.1","http_method":"GET","server":"localhost","referrer":"https://localhost/PartDB/public/en/"} [2024-05-23T12:17:08.582431+02:00] deprecation.INFO: User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "App\EventSubscriber\LogSystem\EventLoggerSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/doctrine-bridge 6.3: Registering \"App\EventSubscriber\LogSystem\EventLoggerSubscriber\" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. at C:\xampp_8\htdocs\PartDB\vendor\symfony\doctrine-bridge\ContainerAwareEventManager.php:211)"} {"token":null,"url":"/PartDB/public/PartDB/public/en/category/23/parts","ip":"127.0.0.1","http_method":"POST","server":"localhost","referrer":"https://localhost/PartDB/public/en/category/23/parts"} [2024-05-23T12:17:08.585261+02:00] deprecation.INFO: User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "App\EventSubscriber\LogSystem\LogDBMigrationSubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/doctrine-bridge 6.3: Registering \"App\EventSubscriber\LogSystem\LogDBMigrationSubscriber\" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. at C:\xampp_8\htdocs\PartDB\vendor\symfony\doctrine-bridge\ContainerAwareEventManager.php:211)"} {"token":null,"url":"/PartDB/public/PartDB/public/en/category/23/parts","ip":"127.0.0.1","http_method":"POST","server":"localhost","referrer":"https://localhost/PartDB/public/en/category/23/parts"}

grafik

grafik

jbtronics commented 1 month ago

The paths are wrongly generated. Putting Part-DB into a subfolder is not recommended, as its really difficult to setup, especially in a constellation like yours.

You should setup a vhost where the DocumentRoot is pointing to the public/ folder of Part-DB.

Katjabo commented 1 month ago

i develop some web Apps thats why i use xampp. I dont want to setup up a vhost, so i'll downgrade the part db to 0.5 wich is working nice under xampp