Peristent $pageroot error

Hi, I’ve been greeted with this error eversince installation. Even though the pageroot has been set correctly in both the config.php and init.php.

The pageroot in your config does not match the current location
Check your config file.

My other problem is the url keeps adding the letter “s” right after my $pageroot. i.e. list becomes lists. I can’t for the life of me figure out what is causing this.

Appreciate all advices.
-AOS.

@AlifOpenSrc Clearly the value is not correct. Please show the actual value of $pageroot and the URL that you are using to access phplist.

@duncanc

/home/apps/web/domain.com/public_html/mailsys/config/config_extended.php:61:$pageroot = ‘/mailsys’;
/home/apps/web/domain.com/public_html/mailsys/admin/init.php:659: $pageroot = '/mailsys;

Url is domain.com/mailsys/admin.
Obviously i changed the domain for security reasons. But that is it thus far.

-AOS.

@AlifOpenSrc You are changing the wrong file, see the beginning of config.php

* ** NOTE: To use options from config_extended.php, you need to copy them to this file **
There is no need to make other changes to the phplist source code.

1 Like

Good god i feel so dumb. It works now. Thanks!

-AOS.

1 Like