Error open saved home

This topic has been viewed 4104 times and has 5 replies
Thread status: Active
Questions about Sweet Home 3D installation [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
[email protected]
Newbie
Posts: 4
Joined: Sat Jan 22, 2011 9:15 am

Error open saved home

Post by [email protected] »

Hello,

I hope that someone can help me. I am very impressed with the nice and user friendly software. I got along fine withe the build actions, so I've got the applet working fine on my website. I managed to get all the menubar options working, except one, namely the open-button. I can create new files, they are shown in a popup menu via the homesList.php, but when I click OK to open the file the applet responds with an error message: "Can't open home "Filename"". I'm not sure what is causing the problem. I've checked the permissions on the file. The permissions are owned by "Apache". I managed to change the permissions via the writeHome.php code by setting "chmod($homeFile, 0777);" This works fine. I also tried to change the ownership via "chown($homeFile, 'new_owner');" Which does not seem to work. Maybe the ownership is the essence of my problem, maybe it is something else. I really hope that someone can help me to get the applet installed properly.

Thanks in advance,
Robin
User avatar
Puybaret
Expert
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Error open saved home

Post by Puybaret »

From the parameters you used in Sweet Home 3D applet, build the URL matching the open action, replacing the %s by the id of the name of an existing home; then type this URL directly in your browser and see what the server will respond.
Emmanuel Puybaret, Sweet Home 3D creator
[email protected]
Newbie
Posts: 4
Joined: Sat Jan 22, 2011 9:15 am

Re: Error open saved home

Post by [email protected] »

Hi Puybaret,

Thanks for the quick response. Your suggestion corresponds with my first thought. So I entered the path in te browser. In each of the browsers I tried I got a positive response. Depending on the browser the response is a downloadable file (IE 6, Chrome, FF) or a visualisation of the Binary sh3d-file (Safari). The downloadable files can easily be opened in the SH3D application installed on mij Mac. Hope you can help me.

Thanks again,
Robin
[email protected]
Newbie
Posts: 4
Joined: Sat Jan 22, 2011 9:15 am

Re: Error open saved home

Post by [email protected] »

Hi Puybaret,

I managed to fix it!

Thanks again!
Robin
test12
Newbie
Posts: 4
Joined: Mon Feb 07, 2011 6:59 am

Re: Error open saved home

Post by test12 »

How did you fix that? Please explain..
Because i myself cannot SAVE the house online, nor can i OPEN a house online.
[email protected]
Newbie
Posts: 4
Joined: Sat Jan 22, 2011 9:15 am

Re: Error open saved home

Post by [email protected] »

If u use SweetHome3DApplet.html to activate the applet, enter the pathstrings ListHomesURL, readHomeURL and writeHomeURL in the .html file and it should work if you deployed correctly.
Post Reply New Topic