Not sure I fully understand. In what circumstances do you access your app from http://myapp.com/dirname and in what circumstances do you access it from http://dirname.myapp.com/?
-Steve
[SOLVED] Blank 'Create New' windows
23 posts
• Page 2 of 2 • 1, 2
Re: Blank 'Create New' windowsNot sure I fully understand. In what circumstances do you access your app from http://myapp.com/dirname and in what circumstances do you access it from http://dirname.myapp.com/?
-Steve
Re: Blank 'Create New' windowsUltimately, I'd like to always reference it as dirname.myapp.com, but am accessing it the other way until I can get this issue figured out.
The subdomain is set up as a virtualhost in httpd.conf. Here's the entry:
Re: Blank 'Create New' windowsIt could be a browser security feature that is causing this. The internal window is loaded in an iframe. If you try to load content into the iframe that came from a different domain than the parent window, the browser could have stepped in to stop you. Usually this will produce some sort of javascript error in the javascript error log though.
Re: Blank 'Create New' windowsIs there anywhere in the URI that I should look, or any actions that I can modify to provide some debug information?
Re: Blank 'Create New' windowsComparing them in Firebug side-by-side, it doesn't look like the broken one ever does the 'GET' call. The working one shows this:
No such call in the broken version.
Re: Blank 'Create New' windowsOk . I think I see the problem. It is the 2nd parameter of the df_init() call in your index.php file. It likely includes the full URL to the xataface install. Change this to be a relative URL.
Steve
Re: Blank 'Create New' windowsThat breaks the CSS and JS in the header, since its relative to http://dirname.myapp.com/. Xataface is installed in http://myapp.com/xf/.
Re: Blank 'Create New' windowsOk, moved the xf directory under the application directory. I think that fixed it.
23 posts
• Page 2 of 2 • 1, 2
Who is onlineUsers browsing this forum: No registered users and 1 guest |