Page 1 of 2
I can not install Serendipity!
Posted: Tue May 18, 2004 4:58 am
by wyh
After i uploaded all files to a document SP and chang chmod to 777,i ran intall, all things seemed ok,but the following infomationg appears:
- DIRECTORY_NON_EXISTANT
Directory /local/www/data/sp/archives does not exist and could not be created. Please manually create the directory
-> run mkdir /local/www/data/sp/archives
-> run chmod go+rwx /local/www/data/sp/archives
then,i created archives directory under SP, the problem is the same.
can someone help me to point out WHY?

Posted: Tue May 18, 2004 8:16 am
by wyh
I've take a picture:

Posted: Tue May 18, 2004 10:35 am
by garvinhicking
Something seems to be terribly wrong with the path information you entered within Serendipity. The screenshot you supplied shows that there are no stylesheets loaded, which should be in your case.
Please open the config panel from scratch and look at the default path values s9y autodetects and compare them to what you entered. There must be some error in a way that s9y cannot see the right directory...
....
Posted: Tue May 18, 2004 11:46 am
by wyh
I tried to change the path many diffrent times of which you just mentioned.
Sometimes the stylesheets is loaded, however, the problem is the SAME.
See this screenshot:
what can i do next?
Re: ....
Posted: Tue May 18, 2004 12:20 pm
by garvinhicking
wyh wrote:I tried to change the path many diffrent times of which you just mentioned.
Sometimes the stylesheets is loaded, however, the problem is the SAME.
See this screenshot:
what can i do next?
That screenshot looks better. However, please create a phpinfo.php file (with the contents '<?php phpinfo(); ?>' inside your s9y directory and make that available to me, so I can see your path settings.
The please tell me which paths you entered in s9y and I can compare them.
Regards,
Garvin.
Posted: Tue May 18, 2004 12:52 pm
by wyh
thanks,i will try...
Posted: Tue May 18, 2004 1:53 pm
by wyh
i sorry to say that my phpinfo() has been disabled for security reasons by my host.
Doyou have another way to slove this prob for me?
thank you very much.
Posted: Tue May 18, 2004 4:01 pm
by garvinhicking
wyh wrote:i sorry to say that my phpinfo() has been disabled for security reasons by my host.
Doyou have another way to slove this prob for me?
thank you very much.
Yes. Give me the output of:
<?php print_r($GLOBALS); ?>
info
Posted: Tue May 18, 2004 5:01 pm
by wyh
Code: Select all
Array ( [HOME] => / [PATH] => /sbin:/bin:/usr/sbin:/usr/bin [DOCUMENT_ROOT] => /local/www/data [HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* [HTTP_ACCEPT_ENCODING] => gzip, deflate [HTTP_ACCEPT_LANGUAGE] => zh-cn [HTTP_CONNECTION] => Keep-Alive [HTTP_HOST] => omybbs.51.net [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Alexa Toolbar) [REDIRECT_SCRIPT_URI] => http://omybbs.51.net/phpinfo.php [REDIRECT_SCRIPT_URL] => /phpinfo.php [REDIRECT_STATUS] => 200 [REDIRECT_URL] => /phpinfo.php [REMOTE_ADDR] => 219.139.195.38 [REMOTE_PORT] => 1874 [SCRIPT_FILENAME] => /u/omybbs.51.net/phpinfo.php [SCRIPT_URI] => http://omybbs.51.net/phpinfo.php [SCRIPT_URL] => /phpinfo.php [SERVER_ADDR] => 211.157.3.248 [SERVER_ADMIN] => webmaster@51.net [SERVER_NAME] => omybbs.51.net [SERVER_PORT] => 80 [SERVER_SIGNATURE] => [SERVER_SOFTWARE] => Apache [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => GET [QUERY_STRING] => [REQUEST_URI] => /phpinfo.php [SCRIPT_NAME] => /phpinfo.php [PATH_TRANSLATED] => /u/omybbs.51.net/phpinfo.php [PHP_SELF] => /phpinfo.php [argv] => Array ( ) [argc] => 0 [HTTP_POST_VARS] => Array ( ) [_POST] => Array ( ) [HTTP_GET_VARS] => Array ( ) [_GET] => Array ( ) [HTTP_COOKIE_VARS] => Array ( ) [_COOKIE] => Array ( ) [HTTP_SERVER_VARS] => Array ( [DOCUMENT_ROOT] => /local/www/data [HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* [HTTP_ACCEPT_ENCODING] => gzip, deflate [HTTP_ACCEPT_LANGUAGE] => zh-cn [HTTP_CONNECTION] => Keep-Alive [HTTP_HOST] => omybbs.51.net [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Alexa Toolbar) [PATH] => /sbin:/bin:/usr/sbin:/usr/bin [REDIRECT_SCRIPT_URI] => http://omybbs.51.net/phpinfo.php [REDIRECT_SCRIPT_URL] => /phpinfo.php [REDIRECT_STATUS] => 200 [REDIRECT_URL] => /phpinfo.php [REMOTE_ADDR] => 219.139.195.38 [REMOTE_PORT] => 1874 [SCRIPT_FILENAME] => /u/omybbs.51.net/phpinfo.php [SCRIPT_URI] => http://omybbs.51.net/phpinfo.php [SCRIPT_URL] => /phpinfo.php [SERVER_ADDR] => 211.157.3.248 [SERVER_ADMIN] => webmaster@51.net [SERVER_NAME] => omybbs.51.net [SERVER_PORT] => 80 [SERVER_SIGNATURE] => [SERVER_SOFTWARE] => Apache [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => GET [QUERY_STRING] => [REQUEST_URI] => /phpinfo.php [SCRIPT_NAME] => /phpinfo.php [PATH_TRANSLATED] => /u/omybbs.51.net/phpinfo.php [PHP_SELF] => /phpinfo.php [argv] => Array ( ) [argc] => 0 ) [_SERVER] => Array ( [DOCUMENT_ROOT] => /local/www/data [HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* [HTTP_ACCEPT_ENCODING] => gzip, deflate [HTTP_ACCEPT_LANGUAGE] => zh-cn [HTTP_CONNECTION] => Keep-Alive [HTTP_HOST] => omybbs.51.net [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Alexa Toolbar) [PATH] => /sbin:/bin:/usr/sbin:/usr/bin [REDIRECT_SCRIPT_URI] => http://omybbs.51.net/phpinfo.php [REDIRECT_SCRIPT_URL] => /phpinfo.php [REDIRECT_STATUS] => 200 [REDIRECT_URL] => /phpinfo.php [REMOTE_ADDR] => 219.139.195.38 [REMOTE_PORT] => 1874 [SCRIPT_FILENAME] => /u/omybbs.51.net/phpinfo.php [SCRIPT_URI] => http://omybbs.51.net/phpinfo.php [SCRIPT_URL] => /phpinfo.php [SERVER_ADDR] => 211.157.3.248 [SERVER_ADMIN] => webmaster@51.net [SERVER_NAME] => omybbs.51.net [SERVER_PORT] => 80 [SERVER_SIGNATURE] => [SERVER_SOFTWARE] => Apache [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => GET [QUERY_STRING] => [REQUEST_URI] => /phpinfo.php [SCRIPT_NAME] => /phpinfo.php [PATH_TRANSLATED] => /u/omybbs.51.net/phpinfo.php [PHP_SELF] => /phpinfo.php [argv] => Array ( ) [argc] => 0 ) [HTTP_ENV_VARS] => Array ( [HOME] => / [PATH] => /sbin:/bin:/usr/sbin:/usr/bin ) [_ENV] => Array ( [HOME] => / [PATH] => /sbin:/bin:/usr/sbin:/usr/bin ) [HTTP_POST_FILES] => Array ( ) [_FILES] => Array ( ) [_REQUEST] => Array ( ) [GLOBALS] => Array *RECURSION* )
Re: info
Posted: Tue May 18, 2004 6:10 pm
by garvinhicking
So, if you saved your phpinfo.php file EXACTLY where you saved your serendipity installation (where all the serendipity_functions.inc.php and other files are in), then you must set those paths inside your installation
Full Path: /local/www/data/
Upload Path: uploads/
Relative Path: /
Relative Template path: templates/
Relative Upload Path: uploads/
URL to blog:
http://omybbs.51.net/
This should be what s9y automatically unpacks. What your error could be is that you think you can enter the paths where s9y should install itself, but what you ARE entering in fact is the place where you already installed s9y.
Where you install s9y is a matter of where you unpack s9y to.
Hope that helps,
Garvin.
Posted: Wed May 19, 2004 4:47 am
by wyh
thank you very very much.
your PATH is the same with what Serendipity have detected.so,i still can not install it.may be i should give up?

Posted: Wed May 19, 2004 11:08 am
by garvinhicking
wyh wrote:thank you very very much.
your PATH is the same with what Serendipity have detected.so,i still can not install it.may be i should give up?

Did you try to chmod the base directory to 777? And if there is an 'archives' subdirectory, chmod that to 777 as well. It should work then...?
Posted: Thu May 20, 2004 6:03 am
by wyh
I've already set ARCHIVE chomd to 777.but still can not work.

Posted: Thu May 20, 2004 11:35 am
by garvinhicking
wyh wrote:I've already set ARCHIVE chomd to 777.but still can not work.

Yes, but did you set the base directory to it as well?
Please post the directory structure of the whole directory tree where you unpacked s9y to. Most FTP utilies support getting a filelist WITH PERMISSIONS, so that I can see something like:
<code>
total 560
drwxr-xr-x 11 garvin garvin 4096 May 15 15:15 .
drwxrwxrwx 18 garvin garvin 4096 May 15 13:38 ..
drwxr-xr-x 2 garvin garvin 4096 May 15 13:37 CVS
-rw------- 1 garvin garvin 119 May 15 15:15 DEADJOE
-rw-r--r-- 1 garvin garvin 3259 Mar 15 11:12 INSTALL
-rw-r--r-- 1 garvin garvin 1539 Jan 23 06:50 LICENSE
-rw-r--r-- 1 garvin garvin 25508 May 15 12:57 NEWS
-rw-r--r-- 1 garvin garvin 16493 Apr 7 08:43 README
-rw-r--r-- 1 garvin garvin 132 Mar 23 19:09 TODO
drwxr-xr-x 8 garvin garvin 4096 May 15 13:37 bundled-libs
-rw-r--r-- 1 garvin garvin 6408 May 14 10:29 comment.php
-rw-r--r-- 1 garvin garvin 2668 Apr 3 19:36 compat.php
drwxr-xr-x 3 garvin garvin 4096 May 15 13:37 deployment
</code>
If you can't get your FTP editor to that, try a php script:
<?php print_r(passthru('ls -la')); ?>
a NEW erorr appeared....
Posted: Fri Jun 04, 2004 10:10 am
by wyh
sorry to truble you so MUCH
