exponentcms / exponent-cms

Content Management, Simple.
exponentcms.org
GNU General Public License v2.0
59 stars 24 forks source link

ERROR CONFIG SELF_URL broken URL's access (ina config.php.example ) #1554

Closed micheltaina closed 1 year ago

micheltaina commented 1 year ago

https://github.com/exponentcms/exponent-cms/blob/master/framework/conf/config.php.example)

this

19 define("SEF_URLS",'1');

to this

19 define("SELF_URLS",'1');

this error block friendly installation end use

dleffler commented 1 year ago

This doesn't make sense

micheltaina commented 1 year ago

in config.php.example this constant is defined as SEF

19 define("SEF_URLS",'1');

must be set to SELF

19 define("SELF_URLS",'1');

or it is impossible to perform a complete installation, especially for regular users

dleffler commented 1 year ago

I'm guessing your (apache) server is NOT set up for URL_REWRITE and is unable to support 'Enable Search Engine Friendly URLs' and you turned it on during initial setup. Even if this is the case, you should still be able to complete installation, but would be extremely limited on display of the website as it would only display the home page.

dleffler commented 1 year ago

This code doesn't exist in the repository. The system default for SEF_URLS is '0' so if you rename the CONSTANT to something else, it then defaults to the system default.