From: Dmitry S. <sh...@cm...> - 2005-06-01 07:08:55
|
$lang =3D array( "Here" =3D> "here", "HTTPaddress" =3D> "HTTP address of your site", "Adminlogin" =3D> "Admin's login", "Adminpassword" =3D> "Admin's password", "Adminmail" =3D> "Admin's email", "Admin_path" =3D> "Administrative area path", "D_language" =3D> "Default language", "D_charset" =3D> "Default charset", "IncorrectHTTPpath" =3D> "HTTP address is not a prefix of = administrative area path\\nor HTTP address completely matches = administrative area path!", "NeedFill" =3D> "Fill in the form first!", "SorryForgotTell" =3D> "Sorry, forgot to tell you...", "Step1Content" =3D> "Hello, my name is... I don't want to tell it to = you for now :) We are not <i>that</i> close yet :) But I got some work = here and you will help me. <br /><br />Okay, you decided to install <a = href=3D\"http://sapid.sourceforge.net\">SAPID</a>. Honest! I'm here to = help you.<br /><br />".(!$flag_win?"First of all, we need to set some = file permissions. Here's the list: <br /><br /> =09 usr/dump 777<br /> usr/dump/*.* 777<br /> usr/extensions 777<br /> usr/extensions/*.* 666<br /> usr/templates 777<br /> usr/templates/*.* 666<br /> usr/templates/images 777<br /> usr/xml 777<br /> usr/xml/*.* 666<br /> usr/xml/content/ 777<br /> usr/xml/sdc/ 777<br /> usr/xml/vdb/ 777<br /> usr/xml/vdb/books/ 777<br /> usr/xml/vdb/news/ 777<br /> usr/xml/vdb/allcomments_index/ 777<br /> log 777<br /> etc/rc.conf.php 666<br /> .htaccess 666<br /> <br /><br /> I can do it for you, but in this case give me your ftp data. I promise, = I'll forget it after doing my work: <br /><br />":""), "SAPIDconfutil" =3D> "SAPID Configuration Utility", "Ftpsite" =3D> "FTP host to connect.", "Ftpuser" =3D> "FTP username", "Ftppass" =3D> "FTP password", "Ftppath" =3D> "Path to SAPID from FTP root", "Otherwise"=3D>"".(!$flag_win?"Otherwise, if you do not trust me or = permissions already set l":"L")."et's <a = href=3D\"?step=3D1\">continue</a>.", "Beastie" =3D> "Daemona", "Step2Top" =3D> "Let's continue. Fill in this form", "Givemepermissionstomodify" =3D> "Hey! Give me permissions to modify or = create <i>.htaccess</i> file in the root folder, please!<br /><br />To = do this login to your server's shell and type something like this:<br = /><br />#cd /path/to/sapid/<br />#touch .htaccess<br />#chmod 666 = .htaccess", "Givemepermissionstomod2" =3D> "Hey! Give me permissions to modify or = create <i>.htaccess</i> file in the root folder, please!<br /><br />To = do this login to your server's shell and type something like this:<br = /><br />#cd /path/to/sapid/<br />#touch .htaccess<br />#chmod 666 = .htaccess", "Givemepermissionstomod3" =3D> "Hey! Give me permissions to modify or = create <i>usr/xml/users.xml</i> file, please!<br /><br />To do this = login to your server's shell and type something like this:<br /><br = />#cd /path/to/sapid/usr/xml/<br />#touch users.xml<br />#chmod 666 = users.xml", "Givemepermissionstomod41" =3D> "Hey! Give me permissions to modify or = create", "Givemepermissionstomod42" =3D> "file, please!<br /><br />To do this = login to your server's shell and type something like this:<br /><br />", "Complite1" =3D> "Ok, configuration is finished. Congrats!<br /><br /> = Now delete <b>", "Complite2" =3D> "/install.php</b>, because keeping it is insecure.<br = />I cannot change owner and group for files I just extracted, so I set = permissions to all my files to 0777 to give you permissions to delete = them. If you wish you may change this now by logging into your server\'s = shell or over ftp. But, please, leave usr/ and log/ dirs writable for = me.<br /><br />Now you may click ", "Complite3" =3D> "to view your new site, or ", "Complite4" =3D> "here</a> to login to administrative area.<br /><br = />Good luck!<br /><br />P.S. My name is Daemona. Remember that!", "Could_not_connect_to" =3D> "Could not connect to <B>{ftpsite}</B>", "Successfully_connected_to" =3D> "Successfully connected to = <B>{ftpsite}</B>, but could not change working directory to ", "Could_not_set_permissions_to" =3D> "Could not set permissions to ", "...using_login" =3D> "using login <B>{ftpuser}</B> and password ", "Could_not_login_to" =3D> "Could not login to ", "Permissions_error" =3D> "Hey! Give me permissions to modify or create = <i>.htaccess</i> file in the root folder, please!<br /><br />To do this = login to your server's shell and type something like this:<br /><br = />#cd /path/to/sapid/<br />#touch .htaccess<br />#chmod 666 .htaccess", "It_is_not_supporting_modrewrite" =3D> 'I discovered that this server = doesn\'t have Apache Mod_Rewrite installed.<br /> Actually, it is not a problem for me, but Mod_Rewrite is very = helpful.<br /><br /> If you think that I\'m wrong and Mod_Rewrite is installed, just <a = href=3D"#" onClick=3D"document.getElementById(\'settings\').submit(); = return false;" >tell me</a>, otherwise we will <a href=3D"#" = onClick=3D"document.getElementById(\'modrewrite\').value=3D\'{MODREWRITE}= \'; document.getElementById(\'settings\').submit(); return = false;">continue</a>.' ); |