We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

system_path error on password resets

How Do I?

chris thacker's avatar
chris thacker
119 posts
4 years ago
chris thacker's avatar chris thacker

I migrated and updated an EE 2 site to version 6.0.6. Everything went well and it appeared to work. I do rename the system folder, let’s say to “app_system”. I changed the $system_path value in the root index.php and admin.php file to have this.

$system_path = './app_system'

The site appears to work fully and users can access the Control Panel.

However, when someone tries to do a password reset, the reset link they receive via email returns this when loaded:

“Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php”

It’s loading */app_system/index.php?S=0&D=cp&C=login&M=reset_password&resetcode=xyz

I looked at /app_system/index.php and I haven’t changed the system_path there as I’ve never had to.

Should it be changed there? I tried both “./app_system” and “../app_system” and the reset link still returns the same error. I don’t think this is the problem though because I’ve never had to change it before.

Is it a permissions problem? If so which file or folder needs to be changed? I did review the installation page and tried a couple permissions tweaks but that hasn’t helped.

I do have an htaccess rewrite too so I suppose that could be the culprit but I would expect problems there to show up elsewhere.

Thank you!

       
chris thacker's avatar
chris thacker
119 posts
4 years ago
chris thacker's avatar chris thacker

I think I found the cause. Under Settings > URL and Path Settings > URL to your Control Panel index page:

It was set with this:

https://app.example.com/app_system/index.php

I changed it to this:

{base_url}admin.php

and it seems to work now.

? 2
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.