No Code Attached Yet
avatar gorgonz
gorgonz
7 Oct 2021

Steps to reproduce the issue

use a joomla v4.03, that is installed on a sever (not local!), i used php 8
goto the backend and install the attached minimum demo module

Expected result

it gets installed

Actual result

getting the error: Undefined constant "JPATH_"

System information (as much as possible)

i used a fresh j4.0.3

Additional comments

i didn't see it with a local installation. For better analysis i will also add an attachment of the debug info
mod_demo-min.zip
error-undefined-constant-jpath
Maybe, there is a wrong coding in my module, it is my first attempt to do so in Joomla 4 ;-)

avatar gorgonz gorgonz - open - 7 Oct 2021
avatar joomla-cms-bot joomla-cms-bot - change - 7 Oct 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 7 Oct 2021
avatar gorgonz
gorgonz - comment - 7 Oct 2021

forgot the debug log:

error-undefined-constant-jpath-debug

avatar joomdonation
joomdonation - comment - 7 Oct 2021
avatar chmst
chmst - comment - 7 Oct 2021

This issue is not a Joomla issue, so I close it here. Better address for your question: https://joomla.stackexchange.com/questions is a better address for you.

avatar chmst chmst - change - 7 Oct 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-10-07 12:39:49
Closed_By chmst
avatar chmst chmst - close - 7 Oct 2021

Add a Comment

Login with GitHub to post a comment