You need to sign in to do that
Don't have an account?
Sites not working with a DE that has a package prefix setup
Hi all,
Has anybody seen this problem before. When I try to navigate to my sites site. I see this:
Page Not Found: /
Stay tuned. Please email us if you need to get in touch.
And I get this email in my inbox:
There was a problem loading the FileNotFound page -- the designated Page Not Found Page (404) for Force.com site "root" -- when processing the following URL request: http://bhivesb1-developer-edition.na6.force.com/.
Note that the above page is not my 'FileNotFound' page (as I modified it slightly to tell the difference). This appears to be a failsafe page of some sort.
There's nothing interesting about this site. It's the default site. The only thing interesting was that it was in a DE with a managed package (and therefore w/ a package prefix).
The previews work fine.
Also, I tried this in another DE which did not have a managed package or prefix (and things were working). Then I set a package prefix and it failed in the same way.
Any help is greatly appreciated.
Hi Bulent,
Thanks for the fix. It works for me now too.
Vijay
All Answers
Hi Bulent,
Thanks for the fix. It works for me now too.
Vijay
I seem to have the exact same problem with my Site: http://bhivedev1-developer-edition.na6.force.com/
-David
Hi Bulent,
Guess it needed your magic touch ;-) Something changed, because even this morning I got the email I listed above !!
Well, it works now! regardless of whatever it was...
Vijay
Hi Bulent,
Any updates?
Vijay
We see the same issue. We have a sites page that was working fine. Then we registered a namespace and can't figure out how to make it work.
Before the namespace add, we could go to:
http://sitename-developer-edition.na6.force.com/pagename
After the namespace add:
This works: https://namespace.na6.visual.force.com/apex/pagename
But this: http://sitename-developer-edition.na6.force.com/pagename
gives an error:
Page Not Found: /index.jsp
Is this a bug like it seems or else can anyone post how to get a sites page when you have a namespace?
Thanks!
DSL
here is an example for this case
pName = page name
To refer to a Visualforce page that is in a package in Sites context, you want to use: $Page.ns__pName
The url to a packaged page in a site: http://ryan-developer-edition.force.com/ns_pName
If you set the namespaced page as your home page, this will work too: http://ryan-developer-edition.force.com
This will NOT work (url without the namespace, only the page name):: http://ryan-developer-edition.force.com/pName
Hi Bulent,
Thanks for the explanation.
Part 1 worked: ie: http://bhivesb1-developer-edition.na6.force.com/bhivesb1__TestPage works.
However, I've setup the specified page as the home page and that still exhibits the old behavior ie:I get:
Page Not Found: /
Stay tuned. Please email us if you need to get in touch.
Also, note that the email I get seems to indicate that Sites is unable to find the designated 404 page (Not the home page) (probably because that page also has the namespace)
Thanks again for following this up.
Vijay
Update:
I was testing it again to see if reassigning the PageNotFound page fixed things(After I started this post) and now the http://bhivesb1-developer-edition.na6.force.com/ started working!!!
The same thing occurred last week too. Things started working properly for a little while, but stopped working a day later. I can't see a pattern, except once it starts work, it doesn't fail again for a day or so :(
PS:
Here's the mail I got (before I started this post)
I just ran into the same problem with setting the home page to a managed package page,
I've noticed the same thing it's hit and miss. Sometimes STGCMS__StantiveHome will work and then I'll refresh and it won't be found
Scott