[ Index ] |
PHP Cross Reference of phpwcms V1.5.0 _r431 (28.01.12) |
[Summary view] [Print] [Text view]
1 <?php 2 /************************************************************************************* 3 Copyright notice 4 5 (c) 2002-2012 Oliver Georgi <oliver@phpwcms.de> // All rights reserved. 6 7 This script is part of PHPWCMS. The PHPWCMS web content management system is 8 free software; you can redistribute it and/or modify it under the terms of 9 the GNU General Public License as published by the Free Software Foundation; 10 either version 2 of the License, or (at your option) any later version. 11 12 The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html 13 A copy is found in the textfile GPL.txt and important notices to the license 14 from the author is found in LICENSE.txt distributed with these scripts. 15 16 This script is distributed in the hope that it will be useful, but WITHOUT ANY 17 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 18 PARTICULAR PURPOSE. See the GNU General Public License for more details. 19 20 This copyright notice MUST APPEAR in all copies of the script! 21 *************************************************************************************/ 22 23 24 $_SERVER['DOCUMENT_ROOT'] = $phpwcms['DOC_ROOT']; 25 $phpwcms["root"] = !empty($phpwcms["root"]) ? "/".$phpwcms["root"] : ""; 26 27 ?> 28 29 30 31 <p><span class="title"><strong>Ready to start phpwcms?</strong> Some "problems" 32 maybe OK - you can check by testing phpwcms installation.</span></p> 33 <table border="0" cellpadding="0" cellspacing="0" summary=""> 34 <tr><?php 35 36 $status = check_path_status($phpwcms["root"]."/".$phpwcms["file_path"]); 37 if($status != 2) { 38 $status = set_chmod($phpwcms["root"]."/".$phpwcms["file_path"], 0777, $status); 39 } 40 41 ?> 42 <td align="right" class="v10">filestorage: </td> 43 <td<?php echo gib_bg_color($status==2?2:0) ?>> <strong><font color="#FFFFFF"><?php echo html_specialchars($phpwcms["file_path"]) ?></font></strong> </td> 44 <td><img src="../img/leer.gif" alt="" width="1" height="19"></td> 45 <td><?php echo gib_status_text($status) ?></td> 46 </tr> 47 48 <tr><td colspan="4" class="v10"><img src="../img/leer.gif" alt="" width="1" height="2"></td></tr> 49 <tr><?php 50 51 $status = check_path_status($phpwcms["root"]."/".$phpwcms["file_path"].'/can_be_deleted'); 52 if($status != 2) { 53 $status = set_chmod($phpwcms["root"]."/".$phpwcms["file_path"].'/can_be_deleted', 0777, $status); 54 } 55 56 57 ?> 58 <td align="right" class="v10">deleted files: </td> 59 <td<?php echo gib_bg_color($status==2?2:0) ?>> <strong><font color="#FFFFFF"><?php echo html_specialchars($phpwcms["file_path"].'/can_be_deleted') ?></font></strong> </td> 60 <td><img src="../img/leer.gif" alt="" width="1" height="19"></td> 61 <td><?php echo gib_status_text($status) ?></td> 62 </tr> 63 64 <tr><td colspan="4" class="v10"><img src="../img/leer.gif" alt="" width="1" height="2"></td></tr> 65 <tr><?php 66 $status = check_path_status($phpwcms["root"]."/".$phpwcms["templates"]); 67 68 ?> 69 <td align="right" class="v10">templates: </td> 70 <td<?php echo gib_bg_color($status) ?>> <strong><font color="#FFFFFF"><?php echo html_specialchars($phpwcms["templates"]) ?></font></strong> </td> 71 <td><img src="../img/leer.gif" alt="" width="1" height="19"></td> 72 <td><?php echo gib_status_text($status==1 ? 3 : $status) ?></td> 73 </tr> 74 75 <tr><td colspan="4" class="v10"><img src="../img/leer.gif" alt="" width="1" height="2"></td></tr> 76 <tr><?php 77 78 $template_lang_path = trim($phpwcms["templates"], '/').'/template_lang'; 79 $status = check_path_status($phpwcms["root"]."/".$template_lang_path); 80 81 ?> 82 <td align="right" class="v10">template languages: </td> 83 <td<?php echo gib_bg_color($status) ?>> <strong><font color="#FFFFFF"><?php echo html_specialchars($template_lang_path) ?></font></strong> </td> 84 <td><img src="../img/leer.gif" alt="" width="1" height="19"></td> 85 <td><?php echo gib_status_text($status==1 ? 3 : $status) ?></td> 86 </tr> 87 88 <tr><td colspan="4" class="v10"><img src="../img/leer.gif" alt="" width="1" height="2"></td></tr> 89 <tr><?php 90 $status = check_path_status($phpwcms["root"]."/".$phpwcms["ftp_path"]); 91 if($status != 2) { 92 $status = set_chmod($phpwcms["root"]."/".$phpwcms["ftp_path"], 0777, $status); 93 } 94 95 ?> 96 <td align="right" class="v10">ftp takeover: </td> 97 <td<?php echo gib_bg_color($status==2?2:0) ?>> <strong><font color="#FFFFFF"><?php echo html_specialchars($phpwcms["ftp_path"]) ?></font></strong> </td> 98 <td><img src="../img/leer.gif" alt="" width="1" height="19"></td> 99 <td><?php echo gib_status_text($status) ?></td> 100 </tr> 101 102 <tr><td colspan="4" class="v10"><img src="../img/leer.gif" alt="" width="1" height="8"></td></tr> 103 <tr><?php $status = check_path_status($phpwcms["root"]."/".$phpwcms["content_path"]); ?> 104 <td align="right" class="v10">frontend content: </td> 105 <td<?php echo gib_bg_color($status) ?>> <strong><font color="#FFFFFF"><?php echo html_specialchars($phpwcms["content_path"]) ?></font></strong> </td> 106 <td><img src="../img/leer.gif" alt="" width="1" height="19"></td> 107 <td><?php echo gib_status_text($status==1 ? 3 : $status) ?></td> 108 </tr> 109 <tr><td colspan="4" class="v10"><img src="../img/leer.gif" alt="" width="1" height="2"></td></tr> 110 <tr><?php 111 $status = check_path_status($phpwcms["root"]."/".$phpwcms["content_path"]."/images"); 112 if($status != 2) { 113 $status = set_chmod($phpwcms["root"]."/".$phpwcms["content_path"]."/images", 0777, $status); 114 } 115 116 ?> 117 <td align="right" class="v10">frontend images: </td> 118 <td<?php echo gib_bg_color($status==2?2:0) ?>> <strong><font color="#FFFFFF"><?php echo html_specialchars($phpwcms["content_path"]."/images") ?></font></strong> </td> 119 <td><img src="../img/leer.gif" alt="" width="1" height="19"></td> 120 <td><?php echo gib_status_text($status) ?></td> 121 </tr> 122 123 <tr><td colspan="4" class="v10"><img src="../img/leer.gif" alt="" width="1" height="2"></td></tr> 124 <tr><?php 125 $status = check_path_status($phpwcms["root"]."/".$phpwcms["content_path"]."/form"); 126 if($status != 2) { 127 $status = set_chmod($phpwcms["root"]."/".$phpwcms["content_path"]."/form", 0777, $status); 128 } 129 ?> 130 <td align="right" class="v10">frontend form: </td> 131 <td<?php echo gib_bg_color($status==2?2:0) ?>> <strong><font color="#FFFFFF"><?php echo html_specialchars($phpwcms["content_path"]."/form") ?></font></strong> </td> 132 <td><img src="../img/leer.gif" alt="" width="1" height="19"></td> 133 <td><?php echo gib_status_text($status) ?></td> 134 </tr> 135 136 <tr><td colspan="4" class="v10"><img src="../img/leer.gif" alt="" width="1" height="2"></td></tr> 137 <tr><?php 138 $status = check_path_status($phpwcms["root"]."/".$phpwcms["content_path"]."/tmp"); 139 if($status != 2) { 140 $status = set_chmod($phpwcms["root"]."/".$phpwcms["content_path"]."/tmp", 0777, $status); 141 } 142 143 ?> 144 <td align="right" class="v10">frontend tmp: </td> 145 <td<?php echo gib_bg_color($status==2?2:0) ?>> <strong><font color="#FFFFFF"><?php echo html_specialchars($phpwcms["content_path"]."/tmp") ?></font></strong> </td> 146 <td><img src="../img/leer.gif" alt="" width="1" height="19"></td> 147 <td><?php echo gib_status_text($status) ?></td> 148 </tr> 149 150 <tr><td colspan="4" class="v10"><img src="../img/leer.gif" alt="" width="1" height="2"></td></tr> 151 <tr><?php 152 $status = check_path_status($phpwcms["root"]."/".$phpwcms["content_path"]."/rss"); 153 if($status != 2) { 154 $status = set_chmod($phpwcms["root"]."/".$phpwcms["content_path"]."/rss", 0777, $status); 155 } 156 ?> 157 <td align="right" class="v10">frontend rss: </td> 158 <td<?php echo gib_bg_color($status==2?2:0) ?>> <strong><font color="#FFFFFF"><?php echo html_specialchars($phpwcms["content_path"]."/rss") ?></font></strong> </td> 159 <td><img src="../img/leer.gif" alt="" width="1" height="19"></td> 160 <td><?php echo gib_status_text($status) ?></td> 161 </tr> 162 163 <tr><td colspan="4" class="v10"><img src="../img/leer.gif" alt="" width="1" height="2"></td></tr> 164 <tr><?php 165 $status = check_path_status($phpwcms["root"]."/".$phpwcms["content_path"]."/gt"); 166 if($status != 2) { 167 $status = set_chmod($phpwcms["root"]."/".$phpwcms["content_path"]."/gt", 0777, $status); 168 } 169 ?> 170 <td align="right" class="v10">frontend gt: </td> 171 <td<?php echo gib_bg_color($status==2?2:0) ?>> <strong><font color="#FFFFFF"><?php echo html_specialchars($phpwcms["content_path"]."/gt") ?></font></strong> </td> 172 <td><img src="../img/leer.gif" alt="" width="1" height="19"></td> 173 <td><?php echo gib_status_text($status) ?></td> 174 </tr> 175 176 <tr><td colspan="4" class="v10"><img src="../img/leer.gif" alt="" width="1" height="2"></td></tr> 177 <tr><?php 178 $status = check_path_status($phpwcms["root"]."/".$phpwcms["content_path"]."/pages"); 179 ?> 180 <td align="right" class="v10">frontend pages: </td> 181 <td<?php echo gib_bg_color($status) ?>> <strong><font color="#FFFFFF"><?php echo html_specialchars($phpwcms["content_path"]."/pages") ?></font></strong> </td> 182 <td><img src="../img/leer.gif" alt="" width="1" height="19"></td> 183 <td><?php echo gib_status_text($status==1 ? 3 : $status) ?></td> 184 </tr> 185 186 187 <tr><td colspan="4" class="v10"><img src="../img/leer.gif" alt="" width="1" height="8"></td></tr> 188 <tr><?php 189 $status = check_file_status($phpwcms["root"]."/".$phpwcms["templates"]."/inc_default/startup.php"); 190 if($status != 2) { 191 $status = set_chmod($phpwcms["root"]."/".$phpwcms["templates"]."/inc_default/startup.php", 0666, $status, 1); 192 } 193 ?> 194 <td align="right" class="v10">startup text: </td> 195 <td<?php echo gib_bg_color($status==2?2:0) ?>> <font color="#FFFFFF"><?php echo html_specialchars($phpwcms["templates"]."/inc_default/startup.php") ?></font> </td> 196 <td><img src="../img/leer.gif" alt="" width="1" height="19"></td> 197 <td><?php echo gib_status_text($status) ?></td> 198 </tr> 199 200 <tr><td colspan="4" class="v10"><img src="../img/leer.gif" alt="" width="1" height="2"></td></tr> 201 <tr><?php 202 $status = check_file_status($phpwcms["root"]."/".$phpwcms["templates"]."/inc_css/frontend.css"); 203 if($status != 2) { 204 $status = set_chmod($phpwcms["root"]."/".$phpwcms["templates"]."/inc_css/frontend.css", 0666, $status, 1); 205 } 206 207 ?> 208 <td align="right" class="v10">main CSS file: </td> 209 <td<?php echo gib_bg_color($status==2?2:0) ?>> <font color="#FFFFFF"><?php echo html_specialchars($phpwcms["templates"]."/inc_css/frontend.css") ?></font> </td> 210 <td><img src="../img/leer.gif" alt="" width="1" height="19"></td> 211 <td><?php echo gib_status_text($status) ?></td> 212 </tr> 213 214 <tr><td colspan="4" class="v10"><img src="../img/leer.gif" alt="" width="1" height="2"></td></tr> 215 <tr><?php 216 $status = check_file_status($phpwcms["root"]."/config/phpwcms/conf.indexpage.inc.php"); 217 if($status != 2) { 218 $status = set_chmod($phpwcms["root"]."/".$phpwcms["templates"]."/config/phpwcms/conf.indexpage.inc.php", 0666, $status, 1); 219 } 220 221 ?> 222 <td align="right" class="v10">index level settings: </td> 223 <td<?php echo gib_bg_color($status==2?2:0) ?>> <font color="#FFFFFF"><?php echo html_specialchars("config/phpwcms/conf.indexpage.inc.php") ?></font> </td> 224 <td><img src="../img/leer.gif" alt="" width="1" height="19"></td> 225 <td><?php echo gib_status_text($status) ?></td> 226 </tr> 227 228 <tr> 229 <td colspan="4" class="v10"> </td> 230 </tr> 231 <tr> 232 <td align="right" class="v10"> </td> 233 <td colspan="3"><table border="0" cellpadding="0" cellspacing="0" summary=""> 234 <tr> 235 <td bgcolor="#99CC00"> </td> 236 <td class="v10"> OK </td> 237 <td bgcolor="#FF3300"> </td> 238 <td class="v10"> PROBLEM</td> 239 </tr> 240 </table></td> 241 </tr> 242 </table> 243 244 <p><a href="get_conf_file.php"><strong>Download the created config file</strong></a>* 245 and copy it to ./config/phpwcms/<strong>conf.inc.php</strong> — you 246 can also edit values manually. Maybe you have to rename the file if you download 247 using Internet Explorer (name is: <strong>conf.inc.php</strong>). Another possible way is to 248 connect to your account by ftp. Then place the file ./setup/<strong>setup.conf.inc.php</strong> in ./config/phpwcms. There you have to delete or rename default conf.inc.php — then 249 rename setup.conf.inc.php to conf.inc.php. It's not possible to start the setup 250 process again as long the setup folder still exists and if you have downloaded 251 the created config file once.<br> 252 <br> 253 <strong style="color:#FF0000;">ATTENTION!!!<br>Delete 254 the "setup" folder 255 otherwise everybody might see your username, passwords and settings.</strong></p> 256 <p>To makes changes again or proof your values:<br /> 257 — <a href="setup.php?step=1">MySQL database infos</a><br /> 258 — <a href="setup.php?step=2">site infos and admin account</a><br /> 259 — <a href="setup.php?step=3">path values</a><br /> 260 — <a href="setup.php?step=4">content values</a></p> 261 <p>Please check infos about system and PHP version with the requirements. <strong>Very 262 important when you use ImageMagick:</strong> Please check that the system 263 can find the application (paths must be registered to the system - try this 264 by using "convert 265 -version" inside your terminal or command line). Check <a href="http://www.imagemagick.org/" target="_blank">http://www.imagemagick.org</a> for 266 additional information.</p>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Jan 29 16:31:14 2012 | Cross-referenced by PHPXref 0.7.1 |