Joined: Jan 22, 2011
Post Count: 4
Status:
Offline
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.
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
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
Joined: Jan 22, 2011
Post Count: 4
Status:
Offline
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.
Joined: Jan 22, 2011
Post Count: 4
Status:
Offline
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.