Print at Dec 30, 2025, 10:12:08 AM View all posts in this thread on one page
Posted by [email protected] at Feb 8, 2011, 7:01:23 PM
Error open saved home
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

Posted by Puybaret at Feb 8, 2011, 7:59:39 PM
Re: Error open saved home
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

Posted by [email protected] at Feb 9, 2011, 7:33:34 PM
Re: Error open saved home
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

Posted by [email protected] at Feb 13, 2011, 5:25:20 PM
Re: Error open saved home
Hi Puybaret,

I managed to fix it!

Thanks again!
Robin

Posted by test12 at Feb 14, 2011, 12:21:43 PM
Re: Error open saved home
How did you fix that? Please explain..
Because i myself cannot SAVE the house online, nor can i OPEN a house online.

Posted by [email protected] at Feb 18, 2011, 5:54:35 PM
Re: Error open saved home
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.