Joomla 3.0 DS does not work. He is deleted. I get
Notice: Use of undefined constant DS - assumed 'DS' in
How can i fix this?
Similar question
Migrating from Joomla 2.5 to 3x Creating Errors
Add line below
if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR);
From docs .
The DS constant has been removed. If you really need it, you can use DIRECTORY_SEPARATOR.
There is also a plugin to fix this problem.
Here you can find the complete list.
Potential backward compatibility issue in Joomla 3 and Joomla Platform 12.2
Sometimes you need it: if(!defined('DS')) define('DS', '/');
if(!defined('DS')) define('DS', '/');
Source: https://habr.com/ru/post/952710/More articles:window.opener.focus () not working - javascriptOracle: finding duplicate rows in a selected query - sqlDisabling two modal controllers - ioswhich means "x [] <- as.integer (x)" - rSingle Instance Application in Qt - c ++Can I pass the msc argument via xbuild on the command line? - xbuildcall function when pressed outside a specific div - javascriptMigrating from Joomla 2.5 to 3x Creating Errors - joomlaUsing variables in MongoDB update statement - javascriptSet addTextChangedListener to Android function - androidAll Articles