My first guess about that would be that you are missing: https://github.com/CE-PhoenixCart/Phoen ... cffb245d0dcwh2000 wrote: ↑Thu Aug 12, 2021 12:05 pm I have the same problem in 1.0.8.x versions - In Admin console cannot get to the Modules - Content area /admin/modules_content.php. The error log shows: PHP Fatal error: Uncaught Error: Cannot declare self-referencing constant 'self::CONFIG_KEY_BASE' in /var/www/html/admin/modules_content.php:38\nStack trace:\n#0 {main}\n thrown in /var/www/html/admin/modules_content.php on line 38, referer: https://xxx.xxx.xxx.xxx/admin/index.php
problem with admin module content
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: problem with admin module content
Re: problem with admin module content
To resolve the issue I remarked out lines 37, 38 & 54.
// if (class_exists($class)) {
// $module = new $class();
// }
// if (class_exists($class)) {
// $module = new $class();
// }
- zipurman
- Builder
- Posts: 540
- Joined: Tue Oct 13, 2020 5:20 pm
- Phoenix Version: v
- Has thanked: 93 times
- Been thanked: 162 times
Re: problem with admin module content
Does this thread help?
viewtopic.php?f=10&t=745&p=5650&hilit=s ... cing#p5650
viewtopic.php?f=10&t=745&p=5650&hilit=s ... cing#p5650
zipurman
-----------
-----------