image and page path was broken when deployed to the server
Hello,
I'm using umbraco on my local desktop. if i try the path /media/arrow.gif the image is not show in my umbraco site (http://localhost/florahospitality). So what I did is to use this path. /florahospitality/media/arrow.gif
Changing that I was able to view the images but when I try to deploy it in our server. the image path was broken again. and it is expecting the path to be /media/arrow.gif
Is there a way to make this work in my development and live server?
What version of Umbraco are you using? And how are you saving the files in the media folder? Are you saving them through Umbraco or using the filesystem (outside of Umbraco).
And are you trying to call the url directly not using xslt?
Another problem I encountered is I can't login to the umbraco admin when I deployed it to the server. The weird thing is if I used firefox to login to the umbraco cms, I don't encounter any problem. But if I use IE clicking the login button will just revert back to login.aspx.
I think the image path problem is that your locahost you're app is expecting the root to be /floralhospitality/media/example.gif but your live app will be working from a domain like www.mydomain.com/media/example.gif. This could possibly be something to do with how you have set the site up locally.
Not sure which version of Windows you're using but it may be worth downloading a copy of XP Pro IIS Admin. It basically allows you to set up multiple websites on an XP installation (it will also create host headers etc) That way you can point all of your code from the root which means a switch to live will be seamless in terms of paths.
http://testdomain.com/umbraco/login.aspx should work for logging in. I remember some issues with IE a while back but I think it was something to do with a permissions setting in the browser itself. Pops ups or trusted site, something along those lines.
image and page path was broken when deployed to the server
Hello,
I'm using umbraco on my local desktop. if i try the path /media/arrow.gif the image is not show in my umbraco site (http://localhost/florahospitality). So what I did is to use this path. /florahospitality/media/arrow.gif
Changing that I was able to view the images but when I try to deploy it in our server. the image path was broken again. and it is expecting the path to be /media/arrow.gif
Is there a way to make this work in my development and live server?
Hi Sherry
What version of Umbraco are you using? And how are you saving the files in the media folder? Are you saving them through Umbraco or using the filesystem (outside of Umbraco).
And are you trying to call the url directly not using xslt?
/Jan
i'm saving the images under the media/images.
Another problem I encountered is I can't login to the umbraco admin when I deployed it to the server. The weird thing is if I used firefox to login to the umbraco cms, I don't encounter any problem. But if I use IE clicking the login button will just revert back to login.aspx.
Hi Sherry,
I think the image path problem is that your locahost you're app is expecting the root to be /floralhospitality/media/example.gif but your live app will be working from a domain like www.mydomain.com/media/example.gif. This could possibly be something to do with how you have set the site up locally.
Not sure which version of Windows you're using but it may be worth downloading a copy of XP Pro IIS Admin. It basically allows you to set up multiple websites on an XP installation (it will also create host headers etc) That way you can point all of your code from the root which means a switch to live will be seamless in terms of paths.
http://testdomain.com/umbraco/login.aspx should work for logging in. I remember some issues with IE a while back but I think it was something to do with a permissions setting in the browser itself. Pops ups or trusted site, something along those lines.
Thanks for that tip. :D
As for the other issue about the login. I'm still clueless why I can't login in IE. It just keeps refreshing back to login.aspx.
I have the same problem, men did you solved it? how?
is working on a reply...