I can not install Serendipity!

Having trouble installing serendipity?
wyh
Regular
Posts: 17
Joined: Tue May 18, 2004 4:53 am

I can not install Serendipity!

Post 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? :cry:
wyh
Regular
Posts: 17
Joined: Tue May 18, 2004 4:53 am

Post by wyh »

I've take a picture:

Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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...
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wyh
Regular
Posts: 17
Joined: Tue May 18, 2004 4:53 am

....

Post 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: :cry:
Image

what can i do next?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: ....

Post 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: :cry:
Image

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.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wyh
Regular
Posts: 17
Joined: Tue May 18, 2004 4:53 am

Post by wyh »

thanks,i will try...
wyh
Regular
Posts: 17
Joined: Tue May 18, 2004 4:53 am

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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); ?>
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wyh
Regular
Posts: 17
Joined: Tue May 18, 2004 4:53 am

info

Post 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* ) 
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: info

Post 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.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wyh
Regular
Posts: 17
Joined: Tue May 18, 2004 4:53 am

Post 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? :cry:
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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? :cry:
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...?
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wyh
Regular
Posts: 17
Joined: Tue May 18, 2004 4:53 am

Post by wyh »

I've already set ARCHIVE chomd to 777.but still can not work.:cry:
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

wyh wrote:I've already set ARCHIVE chomd to 777.but still can not work.:cry:
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')); ?>
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wyh
Regular
Posts: 17
Joined: Tue May 18, 2004 4:53 am

a NEW erorr appeared....

Post by wyh »

Image

sorry to truble you so MUCH :oops:
Post Reply