Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installation problems on Synology DS411j
#11
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.
Reply
#12
(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
Reply
#13
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?
Reply
#14
(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
Reply
#15
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
Reply
#16
(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
Reply
#17
i got the same issue under wamp env. could you please send me the english documents ? email:cc42@sina.com
Reply
#18
(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

Reply


Forum Jump:


Users browsing this thread: