LetoDMS Community Forum
Installation problems on Synology DS411j - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Installation Problems (https://community.letodms.com/forumdisplay.php?fid=9)
+--- Thread: Installation problems on Synology DS411j (/showthread.php?tid=399)

Pages: 1 2


RE: Installation problems on Synology DS411j - Daniel - 12-09-2011

OK, sorry i'm not the PHP coder, just tried it. There was no error message, therefore i think i missed something.

Code:
<?php
include("Log.php");
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Unbenanntes Dokument</title>
</head>
<body>
Test
</body>
</html>

The page will be displayed and no error is shown up.


RE: Installation problems on Synology DS411j - steinm - 12-09-2011

(12-09-2011, 02:48 AM)Daniel Wrote: OK, sorry i'm not the PHP coder, just tried it. There was no error message, therefore i think i missed something.

Code:
<?php
include("Log.php");
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Unbenanntes Dokument</title>
</head>
<body>
Test
</body>
</html>

The page will be displayed and no error is shown up.

That's exactly what inc/inc.LogInit.php does. That can be the error in letodms.

Uwe


RE: Installation problems on Synology DS411j - Daniel - 12-11-2011

Maybe i'm just to dumb to understand how it should work. I did a PEAR installation according a guide for installation on a shared host. I ran some tests and they look good.

PHP Code:
<?php
require_once 'Log/Log.php';
var_dump(class_exists('Log'false));
?>

And the output is:

Code:
bool(true)

From my understanding that means everything works as it should.

I tried to change the path in inc.LogInit.php but the error with the missing Log package still comes up.

The include path is correct, i adapted it to the new installation.

What i'm doing wrong?


RE: Installation problems on Synology DS411j - steinm - 12-12-2011

(12-11-2011, 10:36 PM)Daniel Wrote: Maybe i'm just to dumb to understand how it should work. I did a PEAR installation according a guide for installation on a shared host. I ran some tests and they look good.

PHP Code:
<?php
require_once 'Log/Log.php';
var_dump(class_exists('Log'false));
?>

And the output is:

Code:
bool(true)

From my understanding that means everything works as it should.

I tried to change the path in inc.LogInit.php but the error with the missing Log package still comes up.

The include path is correct, i adapted it to the new installation.

What i'm doing wrong?

I have no idea. Place all kind of debugging code into LogInit.php and check if the path is ok and the class exists. There must some difference.

Uwe


RE: Installation problems on Synology DS411j - Daniel - 12-13-2011

OK, it's just because i'm too dumb.

I think i added the Pear components correctly into subdirectories (e.g. the Log thing into the Log subdirectory) but this seems to be wrong. As soon i copied out Log.php and the included Log folder out to the PEAR folder it worked like a charm, i can now get trough the installation.

As mentioned i will create a guide how to install on the Synology station, i will also try to find out if i can do a normal linux installation of pear instead of the shared hosting documentation.

Thanks for helping me sorting this thing out.

N.B. Is there a preferred format in which documentations should be made? I can provide the documentation in english and german.

Thanks
Daniel


RE: Installation problems on Synology DS411j - steinm - 12-13-2011

(12-13-2011, 02:54 AM)Daniel Wrote: N.B. Is there a preferred format in which documentations should be made? I can provide the documentation in english and german.

I prefer formats suitable for git or svn. So it should be plain text based like markdown. See http://de.wikipedia.org/wiki/Markdown

Uwe


RE: Installation problems on Synology DS411j - cc42 - 12-25-2011

i got the same issue under wamp env. could you please send me the english documents ? email:cc42@sina.com


RE: Installation problems on Synology DS411j - administrator - 12-25-2011

(12-25-2011, 06:06 PM)cc42 Wrote: i got the same issue under wamp env. could you please send me the english documents ? email:cc42@sina.com

hi follow this

CAUTION/ ATTENTION/ ATENCIÓN / : Please create a separate thread/post for your issue if your issue is posted under someone else issue will be removed or ignored.

thanks

LetoDMA