Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL to root directory of site changes when importing a database from another environment. #32

Open
wjthomas9 opened this issue Mar 16, 2014 · 5 comments

Comments

@wjthomas9
Copy link

Hey guys,

I'm noticing that when I export my database from staging and import it on local, my URL to root directory is using the value form the environment I imported the database from for things like the "View Page" link on Structure pages. However, when I go to Admin -> General Configuration, all of the path and url fields are populated with the correct values. Simply clicking submit on that page fixes the issue.

Any idea if this is related to the master config file somehow?

I'm using EE 2.8.

@sm9
Copy link

sm9 commented Mar 17, 2014

I'm using the NSM Config Bootstrap with EE 2.7.3 rather than the Focus Lab EE Master Config, but for info, I'm also seeing this issue with having to click the Submit button on the General Configuration page to get certain URLs to work.

Besides it affecting Structure, I noticed that it was affecting the native EE pagination links (when viewing the second page, the pagination links were showing dev URLs instead of the live URL).

I've no idea if this is an EE issue, a Structure issue, or an issue with how both config bootstraps generate the site URLs (maybe after something changed in EE), so I'll be keeping an eye on this issue to see what the conclusion is.

@wjthomas9
Copy link
Author

I've been able to isolate it to links created with the {structure:page_url_for:{entry_title}} tag, so I think it is Structure causing this.

@sm9
Copy link

sm9 commented Mar 18, 2014

I've also seen this happen with this Structure tag: {exp:structure:first_child_redirect}

However, see my note above about it also happening with native EE pagination links, which makes me think this isn't just a Structure-specific issue.

Edit: I can't seem to repeat what I saw recently with the pagination links, so I think that might be a red herring.

@sm9
Copy link

sm9 commented Mar 18, 2014

I've just checked the EE bug tracker, and I suspect that the underlying issue is the bug that was reported here: https://support.ellislab.com/bugs/detail/19457

@wjthomas9
Copy link
Author

I literally just came across this as well. So good to see an official issue about this. Thanks!

On March 18, 2014 at 11:23:54 AM, Stephen McIver ([email protected]) wrote:

I've just checked the EE bug tracker, and I suspect that the underlying issue is the bug that was reported here: https://support.ellislab.com/bugs/detail/19457


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants