problem with admin module content

Open to all! Ask other shopowners for help.
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

Post by ecartz »

cwh2000 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
My first guess about that would be that you are missing: https://github.com/CE-PhoenixCart/Phoen ... cffb245d0d


Join The Code Co-op to get access to your library in the Code Co-op Forum
cwh2000
Member
Posts: 60
Joined: Fri Jul 30, 2021 10:21 am
Phoenix Version: v1.0.9.9

Re: problem with admin module content

Post by cwh2000 »

To resolve the issue I remarked out lines 37, 38 & 54.

// if (class_exists($class)) {
// $module = new $class();

// }
User avatar
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

Post by zipurman »

zipurman
-----------


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply