News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Upgrade Issue - Undefined constant "DS"

Started by ddjenkins, 01.12.2024 04:43:54

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ddjenkins

System Info
Joomla: 5.2.0
PHP:8.2.25
SQL: 10.6.19-MariaDB
Jdownload: 4.0.42 Stable

I have version 4.0.42 Stable installed on my system, when I try to run the update to the latest version 4.0.45 stable the update fails with a error of Undefined constant "DS". See attached screenshot of the error message when updating.

Please advise how I resolve this.

  •  

ColinM

Hi
The DS constant was originally used in early versions of Joomla.  DS stands for 'Directory Separator'.
Now 'DIRECTORY_SEPARATOR' is used.

For clarity have you recently, in last few weeks, updated from an old version of Joomla ?
Also did a Joomla! update fail and you repeated it?

To get more info turn on Joomla Debug - this is described in
https://www.jdownloads.net/documentation/general-items-v3-9/turn-on-joomla-debug


Colin
Colin M
  •  

ddjenkins

Hi Colin,

Apologies for the delay. No I had no issues applying a Joomla update. Just updated site from 5.5.0 to 5.2.2 with no errors reported (Did that prior to re-trying jdownload update).

I switched on debug logging. To be honest I was expecting more info. Please see attached screenshots of the error
  •