Trying to enter the Pages tab ends with a 404 error. - Forum | JoomShaper
Solved SP Page Builder

Trying to enter the Pages tab ends with a 404 error.

Asked by Ann 3 years ago Last activity 3 years ago

Accepted answer

Marked as the solution
Ann Asked this

Problem solved. It turned out that Joomla was creating paths of the type:

script src="/componentscom_sppagebuilderassetsjscommon.js"

instead of

script src="/components/com_sppagebuilder/assets/js/common.js"

The solution is to change in file /includes/defines.php

define('JPATH_ROOT', implode(DIRECTORY_SEPARATOR, $parts));

to

define('JPATH_ROOT', JPATH_BASE === DIRECTORY_SEPARATOR?'':implode(DIRECTORY_SEPARATOR, $parts));

1 more reply

Rashida Rahman Staff

Hi Ann,

Thank you so much for sharing the solution with us. Hope it will help others too with the same issue. Glad that you have made it.

Have a beautiful rest of your day!

Log in to reply.