Print at Dec 30, 2025, 6:27:01 AM

Posted by anna49 at Jul 9, 2010, 12:09:06 PM
SweetHome3D-Source Server-Installation - no Funiture and no Texture
Hi,

I have on a Linux Apache WebServer:

1. SweetHome3D-Source Code
2. in Directory
/usr/local/src/SweetHome3D-2.3-src
3. JAVA-HOME set:
sudo export JAVA_HOME=/usr/lib/jvm/java-6-sun/
4. in the Directory:
/usr/local/src/SweetHome3D-2.3-src
and "ant applet" work
5. Copy content of
/usr/local/src/SweetHome3D-2.3-src/deploy/
to /usr/local/sh3d-2.3/

Applet starts and everything is OK.
I found three mistakes, errors A), B) and C)

A)
Error: furniture and textures are not available. Also no windows and doors.
01a_no-Furniture.jpg
01b_no-Textures.jpg

In the open SourceFile
/src/com/eteks/sweethome3d/resources/
However, furniture and textures included
armchair.obj
armchair.png
bath.obj
bath.png
....

B)
Error: save house
I can not save my drawing objects
02a_no-save.jpg
02b_no-save.jpg

C)
Error: Open House
I can not open objects. The file 'listHomes.php' is missing.
03_no-open.jpg

Error message:
<br />
<b>Warning</b>: opendir(../persistent/homes) [ <a href='function.opendir'>function.opendir </a>]: failed to open dir: No such file or directory in <b>/usr/local/sh3d-2.3/listHomes.php</b> on line <b>25</b>
<br />
<b>Warning</b>: readdir(): supplied argument is not a valid Directory resource in <b>/usr/local/sh3d-2.3/listHomes.php</b> on line <b>27</b><br />
<br />
<b>Warning</b>: closedir(): supplied argument is not a valid Directory resource in <b>/usr/local/sh3d-2.3/listHomes.php</b> on line <b>33</b><br />

What do I have?

Yours sincerely,
Annalena