Search found 17 matches

by elf2000
Fri Jan 20, 2006 8:58 pm
Forum: Installation
Topic: Shared installation
Replies: 24
Views: 18006

judebert,

The work is mitigable if my patch is used.
Although a new constant increases, there are not the original installation method and a change.

My patch does not use a relative path at least now (URL and file system).

However, My patch may still need to make some modification.
I think that ...
by elf2000
Fri Jan 20, 2006 5:18 pm
Forum: Installation
Topic: Shared installation
Replies: 24
Views: 18006

hahaha Garvin,

( = =)...

Do you know/use UserDir directive?
http://httpd.apache.org/docs/2.0/en/mod/mod_userdir.html

The company prepared the directory for webs for office staff.
Usually, a directory becomes the following.

/home/<staff-name>/

The following was prepared for webs.

/home/<staff ...
by elf2000
Fri Jan 20, 2006 5:03 pm
Forum: Installation
Topic: shared installation error!!!
Replies: 46
Views: 24090

The problem was found.
ImageMagick may not be found when open_basedir is set up.

* my environment.
$ which convert
/usr/bin/convert

* case open_basedir set up.
php_admin_value open_basedir "/usr/local/lib/php/:/usr/local/lib/php/s9y/:"/home/tommytay/dj.tommytaylor.co.uk/html/"

Actual result ...
by elf2000
Fri Jan 20, 2006 4:49 pm
Forum: Installation
Topic: shared installation error!!!
Replies: 46
Views: 24090

t0m_taylor,

Where is the execution binary of ImageMagick?
In my environment, convert is in /usr/bin/.
However, s9y cannot find it...

Since I was not using ImageMagick, I have not found.
From now on, I will investigate.
by elf2000
Fri Jan 20, 2006 3:50 pm
Forum: Installation
Topic: Shared installation
Replies: 24
Views: 18006

...

I review the code of Garvin, Let's go!

I access this URL by a browser.

http://elf.no-ip.org/~user01/serendipity_admin.php

The following setup to $_SERVER.

$_SERVER['DOCUMENT_ROOT'] = '/var/www/html';
$_SERVER['PHP_SELF'] = "/~user01/serendipity_admin.php";
$_SERVER['SCRIPT_FILENAME ...
by elf2000
Fri Jan 20, 2006 3:35 pm
Forum: Installation
Topic: Shared installation
Replies: 24
Views: 18006

ahhh... I am disappointed...

I performed svn update.

if (empty($_SERVER['PHP_SELF'])) {
$test_path1 = $_SERVER['DOCUMENT_ROOT'] . rtrim(dirname($_SERVER['SCRIPT_FILENAME']), '/') . '/';
} else {
$test_path1 = $_SERVER['DOCUMENT_ROOT'] . rtrim(dirname($_SERVER['PHP_SELF ...
by elf2000
Fri Jan 20, 2006 5:29 am
Forum: Installation
Topic: shared installation error!!!
Replies: 46
Views: 24090

t0m_taylor,

"Full path"(in "Paths" section) is specified by installation work.
Was this specification made into "/usr/local/lib/php/s9y/"?

This specification is used on the next screen.
"include/db/db.inc.php" is added to this value.
This warning means that this specification was "/home/tommytay ...
by elf2000
Thu Jan 19, 2006 6:49 pm
Forum: Installation
Topic: shared installation error!!!
Replies: 46
Views: 24090

sorry, "error_report" is mistake, it is typo of "error_reporting". :oops:
And also the argument of fopen was mistaken.:oops:

I rewriten. Please retry.

<?php
error_reporting( E_ALL);
ini_set( "display_errors", "on");
echo "fopen(if shown 'false', file create error):";
$fp = fopen( "/tmp/".rand ...
by elf2000
Thu Jan 19, 2006 4:49 pm
Forum: Installation
Topic: shared installation error!!!
Replies: 46
Views: 24090

hi t0m_taylor,

The causality which a slash doubles is this.

if ( !defined('IN_installer') && IS_installed === false ) {
header('Location: ' . ($_SERVER['HTTPS'] == 'on' ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . str_replace('\\', '/', dirname($_SERVER['\
PHP_SELF'])) . '/serendipity ...
by elf2000
Wed Jan 18, 2006 5:50 pm
Forum: Installation
Topic: Shared installation
Replies: 24
Views: 18006

I am guesses with this information.

My config was:

/usr/local/lib/php/s9y -- s9y repository
/var/www/ -- document root
/var/www/serendipity/s9y-01/

"/var/www/serendipity/s9y-01/" is included in "/var/www/".
Garvin is writing that "/var/www/" is docroot.
That is, /var/www/serendipity/s9y-01 ...
by elf2000
Wed Jan 18, 2006 5:10 pm
Forum: Installation
Topic: Shared installation
Replies: 24
Views: 18006

Why guest?
This guest is elf2000.
by elf2000
Wed Jan 18, 2006 4:01 pm
Forum: Installation
Topic: Shared installation
Replies: 24
Views: 18006

I tried s9y version 1.0-alpha2(svn trunk now)

http://elf.no-ip.org/~elf/contribute/serendipity/2006-01-18/s9y-shared-steps-3.txt

It is processed as implemented.

elf.no-ip.org is not a virtual host.
It is the global domain of apache.

I tried in other environments.

OS:FreeBSD 5.4-STABLE #1
apache ...
by elf2000
Wed Jan 18, 2006 12:28 pm
Forum: Installation
Topic: Shared installation
Replies: 24
Views: 18006

/var/www/ -- document root
/var/www/serendipity/s9y-01/

This is not the outside of docroot.

Case my procedure, The file was created by "/usr/local/lib/php/s9y/".
I have already explained this difference.

It is because original s9y must be installed in docroot.
I do not installed in docroot ...
by elf2000
Wed Jan 18, 2006 12:04 pm
Forum: Installation
Topic: Shared installation
Replies: 24
Views: 18006

The method shares serendipity_local_config.inc.php and database between all the members.
This is not very good for an ASP use.
by elf2000
Wed Jan 18, 2006 11:36 am
Forum: Installation
Topic: Shared installation
Replies: 24
Views: 18006

garvin, Can you write work sequence?

I tried on the method near this URL again.
http://www.s9y.org/41.html

http://elf.no-ip.org/~elf/contribute/serendipity/2006-01-18/s9y-shared-steps-2.txt

I access http://example.com/~user01/ using a browser.
It result failed.
> Permissions
> /usr/local/lib/php ...