Forum
Wrong login path
While copying from localhost to remote host I just realized that my loginpath was wrong. I had define('PERCH_LOGINPATH', 'project-folder-name/perch'); instead of define('PERCH_LOGINPATH', '/perch'); Any idea why I got this? Thanks a lot!
Did you develop the site in a subfolder? That would do it.
No. It's weird, because on my first project I didn't have that... When I set up the development server I have of course the following path: https://localhost:8888/project-folder-name/perch/ Therefore it writes in the config.php file «define('PERCH_LOGINPATH', 'project-folder-name/perch');» Any idea?
You should point your server to the root of your website - then you don't end up with different paths between development and live environments.
I work with MAMP for development. As I have different projects running, I need for each a folder in the htdocs-Folder of MAMP to get it work, right?
Maybe time to look at MAMP Pro. That offers you easy configuration of multiple sites.
That's it! Thanx