[Vtigercrm-commits] [vtiger-commits] r6155 - in /vtigercrm/trunk/install: 0welcome.php 1checkSystem.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu May 18 11:30:43 EDT 2006


Author: richie
Date: Thu May 18 09:30:38 2006
New Revision: 6155

Log:
updated with the latest installer changes

Modified:
    vtigercrm/trunk/install/0welcome.php
    vtigercrm/trunk/install/1checkSystem.php

Modified: vtigercrm/trunk/install/0welcome.php
==============================================================================
--- vtigercrm/trunk/install/0welcome.php (original)
+++ vtigercrm/trunk/install/0welcome.php Thu May 18 09:30:38 2006
@@ -48,7 +48,7 @@
 <HTML>
 <HEAD>
 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title>vtiger CRM 5.0 Alpha5 Configuration Wizard</title>
+<title>vtiger CRM 5.0 Beta Configuration Wizard</title>
 <link rel="stylesheet" href="install/install.css" type="text/css" />
 </head>
 <body leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">
@@ -57,75 +57,50 @@
 <!-- Master table -->
 <table border=0 cellspacing=0 cellpadding=0 width=100%>
 <tr>
-	<td align=center>
+<td width="10%" valign="top"></td>
+<td align=center>
 	<br><br>
 	<!--  Top Header -->
-	<table border="0" cellspacing="0" cellpadding="0" width="80%" style="background:url(install/images/cwTopBg.gif) repeat-x;">
+	<table border="0" cellspacing="0" cellpadding="0" width="100%" style="background:url(install/images/cwTopBg.gif) repeat-x;">
 	<tr>
 		<td><img src="install/images/cwTopLeft.gif" alt="vtiger CRM" title="vtiger CRM"></td>
 		<td align=right><img src="install/images/cwTopRight.gif" alt="v5alpha5" title="v5alpha5"></td>
 	</tr>
-	</table>
-	
-	<br><br>
+	<tr><td><br>&nbsp;<img src="install/images/cwTitle.gif" alt="vtiger CRM Configuration Wizard" title="vtiger CRM Configuration Wizard"></td></tr>
+	</table><br>
 	
 	<!-- Welcome note -->
-	<table border="0" cellspacing="0" cellpadding="5" width="70%" class=small> 
+	<table border="0" cellspacing="0" cellpadding="5" width="95%"> 
 	<tr>	
-		<td colspan="2"><img src="install/images/cwTitle.gif" alt="vtiger CRM Configuration Wizard" title="vtiger CRM Configuration Wizard"></td>
-	</tr>
-	<tr>
-		<td style="color:#333399" width="70%"><span
-	style="text-alignment:justify">
+<td>
+<p><b>Welcome to the vtiger family!</b><p>
+<p>This is a product of pure teamwork, passion, and fanaticism!</p>
+<p>We are not perfect and neither do we seek perfection; but we do seek excellence. Yes, there will be issues in the product, but we will fix them too. Your help will be invaluable for the same.</p>
+<p><b>vtiger is 100% pure Open Source.</b> <em>You do not have to pay anything to use the product. If you do subscribe to the support package though, you will be able to get time-bound answers to all your queries</em>. We do provide telephone-support for paid customers only. <a href:"http://vtiger.com/index.php?option=com_content&task=view&id=19&Itemid=37"><b>Click here</b></a> for subscribing to the Support.</p>
+<p>vtiger believes in word of mouth alone, in fact, vtiger is nearing 0.30 million downloads without any advertisement whatsoever.</p>
+<p align="center">We do believe that <b>YOU</b> can and will make a difference.</p>
+<p>If you feel we have lived upto your expectations,  do consider spreading the word about vtiger by whichever means convenient to you.</p>
+<p>Please find mentioned below some information about us that you could utilize:<p>
 
-Welcome to the vtiger family!<br><br>
-This is a product of pure teamwork,passion and fanaticism!
-<br>We are not perfect and neither do we seek perfection; but we do seek excellence. Yes, there will be issues in the product, but we will fix them too. Your help will be invaluable for the same.<br>
+<ul>
+<li><a href="http://blogs.vtiger.com">vtiger Blogs</a><br>&nbsp;</li> 
+<li><a href=" http://forums.vtiger.com">vtiger Public Forums</a><br>&nbsp;</li>
+<li><a href=" http://vtiger.fosslabs.com">vtigerForge</a><br>&nbsp;</li> 
+<li><a href="http://lists.vtigercrm.com/mailman/listinfo/vtigercrm-developers">Developers Mailing List</a> (vtigercrm-developers at lists.vtigercrm.com)<br>&nbsp;</li>
+<li>IRC Channel (Join Freenode - /join #vtiger<br>&nbsp;</li>
+<li><a href=" http://vtiger.fosslabs.com/cgi-bin/trac.cgi/newticket">Bug Tracker</a><br>&nbsp;</li>
+<li><a href=" http://www.flickr.com/photos/41109270@N00/">The growing vtiger family</a> ...<br>&nbsp;</li>
+</ul>
 
-<br>
-<br>
-<bold>vtiger is 100% pure Open Source. <u>You do not have to pay anything to use the product. If you do subscribe to the support package though, you will be able
-to get time-bound answers to all your queries</u>.We do provide telephone-support for paid customers only.
-The support subscription link is as follows :- 
-<ul> http://vtiger.com/index.php?option=com_content&task=view&id=19&Itemid=37 </ul>
+<p><b><i>Again, thanks for taking out the time to try vtiger! We want you to know that we really appreciate it.</i></b>
 
-vtiger believes in word of mouth alone, in fact, vtiger is nearing 0.30 million downloads without any advertisement whatsoever.<br><br><br>
-<center>
-We do believe that <b>YOU</b> can and will make a
-difference.</center><br><br><br>If you feel we have lived upto your expectations,  do consider spreading the word about vtiger by whichever means convenient to you.<br>
-Please find mentioned below some information about us that you could utilize
-<ul>http://blogs.vtiger.com</ul> 
-<ul>http://forums.vtiger.com </ul>
-<ul>http://vtiger.fosslabs.com (vtigerforge)</ul> 
-<ul>vtigercrm-developers at lists.vtigercrm.com (Mailing List)</ul>
-<ul>Join Freenode - /join #vtiger (IRC Channel)</ul>
-<ul>http://vtiger.fosslabs.com/cgi-bin/trac.cgi/newticket (Bug Tracker)</ul>
-<ul>http://www.flickr.com/photos/41109270@N00/ (The growing vtiger family ...)</ul>
-<br>
-<br>
-<b><i>Again, thanks for taking out the time to try vtiger! We want you to know that we really appreciate it.</i></b>
-
-<br>
-<br>
-<br>
-
-
-
-
-
-
-
-
-
-
-
-This Configuration Wizard will create vtiger CRM 5.0 Alpha5 databases and tables and configuration files you need to start. The entire process should
-				take about four minutes. Click the Start button when you are ready.</span> <br><br>
-				<span style="color:#555555">- vtiger CRM 5.0 Alpha5 is tested on mySQL 4.1.X, mySQL 5.0.19, PHP 5.0.19 and Apache 2.0.40. <br><br>
-				<center><font color='red'><b>vtiger CRM 5 will not work on mysql 4.0.x versions</b></font></center><center><font color='blue'><b>vtiger crm can run on a system which has xampp/lampp/wampp already installed in it</b></font></center></br> The installation wizard will guide you with the installation regardless of the setup you may have.<br>
-				<br></span>
-<br>
-		</td>
+<p><b>Installation Instructions:-</b></p>
+<p>This Configuration Wizard will create vtiger CRM 5.0 Beta databases and tables and configuration files you need to start. The entire process should take about four minutes. Click the Start button when you are ready. 
+<br><br>
+<p><span style="color:#555555">- vtiger CRM 5.0 Alpha5 is tested on mySQL 4.1.X, mySQL 5.0.19, PHP 5.0.19 and Apache 2.0.40.</p> 
+<p align="center"><font color='red'><b>vtiger CRM 5 will not work on mysql 4.0.x versions</b></font></center><center><font color='blue'><b>vtiger crm can run on a system which has xampp/lampp/wampp already installed in it</b></font></center>
+<p>The installation wizard will guide you with the installation regardless of the setup you may have.</span>
+</td>
 	</tr>
 	<tr>
 		<td >
@@ -133,12 +108,11 @@
 			<div align=left style="color:#737373;overflow: scroll; height: 100px; width: 95%;border:1px dashed #cccccc;padding:10px">
 			
 			<b>License Agreement</b><br>
-			This software is a collective work consisting of the following major Open Source components: <br>Apache software, MySQL server, PHP, SugarCRM, Smarty, TUTOS, phpSysinfo, SquirrelMail, and PHPMailer each licensed under a separate Open Source License.<br>
-			vtiger.com is not affiliated with nor endorsed by any of the above
+			This software is a collective work consisting of the following major Open Source components: <br>Apache software, MySQL server, PHP, SugarCRM, Smarty, TUTOS, phpSysinfo, SquirrelMail, and PHPMailer each licensed under a separate Open Source License. vtiger.com is not affiliated with nor endorsed by any of the above
 			providers.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 			<br>
 			<br>
-			1. Apache web server software used under the Apache License available
+			1. Apache Web server software used under the Apache License available
 			at &lt;vtiger CRM Home&gt;/vtigerCRM/apache/LICENSE.txt<br>
 			2. MySQL database software used under the GPL License available at
 			&lt;vtiger CRM Home&gt;/vtigerCRM/mysql/README.txt <br>
@@ -2588,7 +2562,7 @@
 			<br>
 			</div>
 
-		</td>
+	</td>
 	</tr>
 	<tr>
 		<td align="center" width="70%">
@@ -2598,11 +2572,8 @@
 				By clicking the Start button, you are agreeing to the licensing terms.
 		</form>
 		</td>
-	</tr>
+</tr>
 	</table>
-	
-	<br><br><br><br>
-	
 	<!-- Horizontal Shade -->
 	<table border="0" cellspacing="0" cellpadding="0" width="80%" style="background:url(install/images/cwShadeBg.gif) repeat-x;">
 	<tr>
@@ -2612,13 +2583,12 @@
 	</table>
 		
 	
-<!--	<table border="0" cellspacing="0" cellpadding="5" width="80%" class=small> 
+<table border="0" cellspacing="0" cellpadding="5" width="80%" class=small> 
 	<tr>	
 		<td ><img align="left" src="install/images/cwRegVCRM.gif" alt="Register vtiger CRM " title="Register vtiger CRM "> (Optional)</td>
 	</tr>
 	<tr>
-		<td><span style="color:#999999">Please take a moment to register your copy of vtiger CRM. Though this is optional, we encourage you to register. Only your name and email 
-		address are required for registration. We do not sell, rent, share or otherwise, distribute your information to third parties.<br></span>
+		<td><span style="color:#999999">Please take a moment to register your copy of vtiger CRM. Though this is optional, we encourage you to register. Only your name and email address are required for registration. We do not sell, rent, share or otherwise, distribute your information to third parties.<br></span>
 		
 		</td>
 	</tr>
@@ -2630,12 +2600,9 @@
   <A href="http://www.vtiger.com/products/crm/registration.html">the related document.</A>] 
   </IFRAME> 		</td>
 	</tr>
-	</table>
-	
-		
-	
-	
+	</table>	
 	</td>
+<td width="10%" valign="top"></td>
 </tr>
 </table>
 <!-- Master table closes -->

Modified: vtigercrm/trunk/install/1checkSystem.php
==============================================================================
--- vtigercrm/trunk/install/1checkSystem.php (original)
+++ vtigercrm/trunk/install/1checkSystem.php Thu May 18 09:30:38 2006
@@ -1,404 +1,404 @@
-<?php
-/*********************************************************************************
- * The contents of this file are subject to the SugarCRM Public License Version 1.1.2
- * ("License"); You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at http://www.sugarcrm.com/SPL
- * Software distributed under the License is distributed on an  "AS IS"  basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
- * the specific language governing rights and limitations under the License.
- * The Original Code is: SugarCRM Open Source
- * The Initial Developer of the Original Code is SugarCRM, Inc.
- * Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.;
- * All Rights Reserved.
- * Contributor(s): ______________________________________.
- ********************************************************************************/
-/*********************************************************************************
- * $Header: /advent/projects/wesat/vtiger_crm/sugarcrm/install/1checkSystem.php,v 1.16 2005/03/08 12:01:36 samk Exp $
- * Description:  Executes a step in the installation process.
- ********************************************************************************/
-
-//get php configuration settings.  requires elaborate parsing of phpinfo() output
-?>
-<html>
-<?php
-
-
-ob_start();
-eval("phpinfo();");
-$info = ob_get_contents();
-ob_end_clean();
-
- foreach(explode("\n", $info) as $line) {
-           if(strpos($line, "Client API version")!==false)
-               $mysql_version = trim(str_replace("Client API version", "", strip_tags($line)));
- }
-
-
-
-
-
-
-
-
-
-ob_start();
-phpinfo(INFO_GENERAL);
-$string = ob_get_contents();
-ob_end_clean();
-
-$pieces = explode("<h2", $string);
-$settings = array();
-foreach($pieces as $val)
-{
-   preg_match("/<a name=\"module_([^<>]*)\">/", $val, $sub_key);
-   preg_match_all("/<tr[^>]*>
-									   <td[^>]*>(.*)<\/td>
-									   <td[^>]*>(.*)<\/td>/Ux", $val, $sub);
-   preg_match_all("/<tr[^>]*>
-									   <td[^>]*>(.*)<\/td>
-									   <td[^>]*>(.*)<\/td>
-									   <td[^>]*>(.*)<\/td>/Ux", $val, $sub_ext);
-   foreach($sub[0] as $key => $val) {
-		if (preg_match("/Configuration File \(php.ini\) Path /", $val)) {
-	   		$val = preg_replace("/Configuration File \(php.ini\) Path /", '', $val);
-			$phpini = strip_tags($val);
-	   	}
-   }
-
-}
-
-$gd_info_alternate = 'function gd_info() {
-$array = Array(
-                       "GD Version" => "",
-                       "FreeType Support" => 0,
-                       "FreeType Support" => 0,
-                       "FreeType Linkage" => "",
-                       "T1Lib Support" => 0,
-                       "GIF Read Support" => 0,
-                       "GIF Create Support" => 0,
-                       "JPG Support" => 0,
-                       "PNG Support" => 0,
-                       "WBMP Support" => 0,
-                       "XBM Support" => 0
-                     );
-       $gif_support = 0;
-
-       ob_start();
-       eval("phpinfo();");
-       $info = ob_get_contents();
-       ob_end_clean();
-
-       foreach(explode("\n", $info) as $line) {
-           if(strpos($line, "GD Version")!==false)
-               $array["GD Version"] = trim(str_replace("GD Version", "", strip_tags($line)));
-           if(strpos($line, "FreeType Support")!==false)
-               $array["FreeType Support"] = trim(str_replace("FreeType Support", "", strip_tags($line)));
-           if(strpos($line, "FreeType Linkage")!==false)
-               $array["FreeType Linkage"] = trim(str_replace("FreeType Linkage", "", strip_tags($line)));
-           if(strpos($line, "T1Lib Support")!==false)
-               $array["T1Lib Support"] = trim(str_replace("T1Lib Support", "", strip_tags($line)));
-           if(strpos($line, "GIF Read Support")!==false)
-               $array["GIF Read Support"] = trim(str_replace("GIF Read Support", "", strip_tags($line)));
-           if(strpos($line, "GIF Create Support")!==false)
-               $array["GIF Create Support"] = trim(str_replace("GIF Create Support", "", strip_tags($line)));
-           if(strpos($line, "GIF Support")!==false)
-               $gif_support = trim(str_replace("GIF Support", "", strip_tags($line)));
-           if(strpos($line, "JPG Support")!==false)
-               $array["JPG Support"] = trim(str_replace("JPG Support", "", strip_tags($line)));
-           if(strpos($line, "PNG Support")!==false)
-               $array["PNG Support"] = trim(str_replace("PNG Support", "", strip_tags($line)));
-           if(strpos($line, "WBMP Support")!==false)
-               $array["WBMP Support"] = trim(str_replace("WBMP Support", "", strip_tags($line)));
-           if(strpos($line, "XBM Support")!==false)
-               $array["XBM Support"] = trim(str_replace("XBM Support", "", strip_tags($line)));
-       }
-
-       if($gif_support==="enabled") {
-           $array["GIF Read Support"]  = 1;
-           $array["GIF Create Support"] = 1;
-       }
-
-       if($array["FreeType Support"]==="enabled"){
-           $array["FreeType Support"] = 1;    }
-
-       if($array["T1Lib Support"]==="enabled")
-           $array["T1Lib Support"] = 1;
-
-       if($array["GIF Read Support"]==="enabled"){
-           $array["GIF Read Support"] = 1;    }
-
-       if($array["GIF Create Support"]==="enabled")
-           $array["GIF Create Support"] = 1;
-
-       if($array["JPG Support"]==="enabled")
-           $array["JPG Support"] = 1;
-
-       if($array["PNG Support"]==="enabled")
-           $array["PNG Support"] = 1;
-
-       if($array["WBMP Support"]==="enabled")
-           $array["WBMP Support"] = 1;
-
-       if($array["XBM Support"]==="enabled")
-           $array["XBM Support"] = 1;
-
-       return $array;
-
-}';
-
-?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title>vtiger CRM 5.0 Alpha5 Installer: Step 1</title>
-<link rel="stylesheet" href="include/install/install.css" type="text/css" />
-</head>
-<body leftMargin="0" topMargin="0" marginheight="0" marginwidth="0" class="">
-
-<!-- Master table -->
-<table border=0 cellspacing=0 cellpadding=0 width=100%>
-<tr>
-	<td align=center>
-	<br><br>
-	<!--  Top Header -->
-	<table border="0" cellspacing="0" cellpadding="0" width="80%" style="background:url(include/install/images/cwTopBg.gif) repeat-x;">
-	<tr>
-		<td><img src="include/install/images/cwTopLeft.gif" alt="vtiger CRM" title="vtiger CRM"></td>
-		<td align=right><img src="include/install/images/cwTopRight.gif" alt="v5alpha5" title="v5alpha5"></td>
-	</tr>
-	</table>
-	
-	
-	
-	<!-- 1 of 5 header -->
-	<table border="0" cellspacing="0" cellpadding="5" width="75%" class=small> 
-	<tr>	
-		<td valign=top><img src="include/install/images/cwIcoSystem.gif" alt="System Check" title="System Check"></td>
-		<td width=98% valign=top>
-			<table border=0 cellspacing=0 cellpadding=0 width=100%>
-			<tr>
-				<td><img src="include/install/images/cwHdrVtConfWiz.gif" alt="vtiger CRM Configuration Wizard" title="vtiger CRM Configuration Wizard"></td>
-				<td align=right><img src="include/install/images/cwStep1of5.gif" alt="Step 1 of 5" title="Step 1 of 5"></td>
-			</tr>
-			<tr>
-				<td colspan=2><img src="include/install/images/cwHdrSysCheck.gif" alt="System Check" title="System Check"></td>
-			</tr>
-			</table>
-			<hr noshade size=1>
-		</td>
-
-	</tr>
-	<tr>
-		<td></td>
-		<td valign="top" align=center>
-		<!-- System Check -->
-	    <table cellpadding="10" cellspacing="1" width="90%" border="0" class="small" style="background-color:#cccccc">
-		<tr bgcolor="#efefef"><td colspan=2><span style="color:#003399"><strong>Core Components</strong></span></td></tr>
-		<tr bgcolor="#fafafa">
-			<td valign=top ><strong>PHP version 5.0.x</strong><BR></td>
-			<td  valign=top bgcolor="white"><?php $php_version = phpversion(); echo (str_replace(".", "", $php_version) < "430") ? "<strong><font color=\"#FF0000\">Failed.</strong><br> Invalid version ($php_version) Installed</font>" : "<strong><font color=\"#0066CC\">Passed</strong><br>Version $php_version Installed</font>"; ?></td>
-    	</tr>
-	<tr bgcolor="#fafafa">
-			<td valign=top ><strong>IMAP Support Availability</strong></td>
-        	<td valign=top bgcolor=white><?php echo function_exists('imap_open')?"<strong><font color=\"#0066CC\">Passed</strong><br>IMAP library available</font>":"<strong><font color=\"#FF0000\">Failed</strong><br>Not Available</font>";?></td>
-	    </tr>
-		<tr bgcolor="#fafafa">
-			<td valign=top ><strong>GD graphics library</strong><br> version 2.0 or later</td>
-			<td valign=top bgcolor="white"><?php
-								if (!extension_loaded('gd')) {
-									echo "<strong><font size=-1 color=\"#FF0000\">GD Graphics Library not configured. </strong>.<br>Check out our <a href='http://sourceforge.net/docman/?group_id=107819'>online documentation</a> for tips on enabling this library. You can ignore this error and continue your vtiger CRM installation, however the chart images simply won't work.</font>";
-								}
-								else {
-									if (!function_exists('gd_info'))
-									{
-										eval($gd_info_alternate);
-									}
-
-									$gd_info = gd_info();
-
-									if (isset($gd_info['GD Version'])) {
-										$gd_version = $gd_info['GD Version'];
-										$gd_version=preg_replace('%[^0-9.]%', '', $gd_version);
-
-										if ($gd_version > "2.0") {
-											echo "<strong><font color=\"#0066CC\">Passed</strong><br>Version $gd_version Installed</font>";
-										}
-										else {
-											echo "<strong><font color=\"#0066CC\">Passed</strong><br>Version $gd_version Installed.</font>";
-										}
-									}
-									else {
-										echo "<strong><font size=-1 color=\"#FF0000\">GD Library available, but not properly configured in your PHP installation</strong>.<br>You can ignore this error and continue your vtiger CRM installation, however the chart images simply won't work.</font>";
-									}
-								}
-								?>
-			</td>
-		</tr>
-		<tr bgcolor="#efefef"><td colspan=2><strong><span style="color:#003399">Read/Write Access</span></strong></td></tr>
-		<tr bgcolor="#fafafa">
-			<td valign=top ><strong>PHP Configuration</strong><br>(config.inc.php)</strong></td>
-			<td valign=top bgcolor="white" ><?php echo (is_writable('./config.inc.php') || is_writable('.'))?"<strong><font color=\"#0066CC\">Writeable</font>":"<strong><font color=\"#FF0000\">Failed</strong><br>Not Writeable</font>"; ?></td>
-		</tr>
-		 <tr bgcolor="#fafafa">
-		    <td valign=top ><strong>Cache Directory </strong> <br>(cache/)</td>
-            <td valign=top bgcolor="white" ><?php echo (is_writable('./cache/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</font></strong>"; ?></td>
-        </tr>
-		 <tr bgcolor="#fafafa">
-		    <td valign=top ><strong>Mail Merge Template Directory </strong><br>(test/wordtemplatedownload/)</td>
-            <td valign=top bgcolor="white"><?php echo (is_writable('./test/wordtemplatedownload/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong><br> You might experience issues with the word template feature. Visit <a href=\"http://www.vtiger.com/discussions/viewtopic.php?p=2200#2200\" target=\"_blank\">forums</a> for more details </font>"; ?></td>
-        </tr>
-		<tr bgcolor="#fafafa">
-		    <td valign=top ><strong>Uploads Directory</strong><br> (storage/)</td>
-            <td valign=top bgcolor="white"><?php echo (is_writable('./storage/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You might experience problems with the file attachments feature. Refer <a href=http://www.vtiger.com/forums/viewtopic.php?t=24&highlight=permission>File attachments issue</a> for more details </font>"; ?></td>
-        </tr>
-		<tr bgcolor="#fafafa">
-		    <td valign=top ><strong>Install Directory</strong><br> (install/)</td>
-            <td valign=top bgcolor="white"><?php echo (is_writable('./install/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You might experience problems with the last step of installation.</font>"; ?></td>
-        </tr>
-		<tr bgcolor="#fafafa">
-		    <td valign=top ><strong>Installation file</strong><br> (install.php)</td>
-            <td valign=top bgcolor="white"><?php echo (is_writable('./install.php'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You might experience problems with the last step of installation.</font>"; ?></td>
-        </tr>
-	<tr bgcolor="#fafafa">
-		<td valign=top ><strong>Product Image Directory</strong><br> (test/product/)</td>
-		<td valign=top bgcolor="white"><?php echo (is_writable('./test/product/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You might experience problems while attaching image for Products.Refer <a href=http://www.vtiger.com/forums/viewtopic.php?t=24&highlight=permission>File attachments issue</a> for more details </font>"; ?></td>
-	</tr>
-	<tr bgcolor="#fafafa">
-		<td valign=top ><strong>User Image Directory</strong><br> (test/user/)</td>
-		<td valign=top bgcolor="white"><?php echo (is_writable('./test/user/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You might experience problems while attaching image for Users. Refer <a href=http://www.vtiger.com/forums/viewtopic.php?t=24&highlight=permission>File attachments issue</a> for more details </font>"; ?></td>
-	</tr>
-	<tr bgcolor="#fafafa">
-		<td valign=top ><strong>Contact Image Directory</strong><br> (test/contact/)</td>
-		<td valign=top bgcolor="white"><?php echo (is_writable('./test/contact/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You might experience problems while attaching image for Contacts. Refer <a href=http://www.vtiger.com/forums/viewtopic.php?t=24&highlight=permission>File attachments issue</a> for more details </font>"; ?></td>
-	</tr>
-		<tr bgcolor="#fafafa">
-		    <td valign=top ><strong>Logo Directory</strong><br> (test/logo/)</td>
-            <td valign=top bgcolor="white"><?php echo (is_writable('./test/logo/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You might experience problems with the company logo in the pdf generation. Refer <a href=http://www.vtiger.com/forums/viewtopic.php?t=24&highlight=permission>File attachments issue</a> for more details </font>"; ?></td>
-        </tr>
-
-		<tr bgcolor="#fafafa">
-		    <td valign=top ><strong>Email Templates Directory</strong><br> (modules/Emails/templates/)</td>
-			<td valign=top bgcolor="white"><?php echo (is_writable('./modules/Emails/templates/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong><br> You might experience problems with the email templates feature. Refer <a href= http://www.vtiger.com/forums/viewtopic.php?t=388&highlight=permission>Email templates issue </a> for more details  </font>"; ?></td>
-		</tr>
-		<tr bgcolor="#fafafa">
-           <td valign=top ><strong>User Privileges</strong><br> (user_privileges/)</td>
-           <td valign=top bgcolor="white"><?php echo (is_writable('./user_privileges/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong><br> You will not be able to login </font>"; ?></td>
-        </tr>
-	
-	<tr bgcolor="#fafafa">
-                <td valign=top ><strong>Smarty Compile Directory </strong><br> (Smarty/templates_c)</td>
-                <td valign=top bgcolor="white"><?php echo (is_writable('./Smarty/templates_c/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You will not be able to login </font>";?></td>
-        </tr>
-	
-	<tr bgcolor="#fafafa">
-                <td valign=top ><strong>Tabdata File Permission </strong><br> (tabdata.php) </td>
-                <td valign=top bgcolor="white"><?php echo (is_writable('./tabdata.php'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You will not be able to work with the product</font>";?></td>
-        </tr>
-
-	<tr bgcolor="#fafafa">
-                <td valign=top ><strong>ParentTabdata File Permission </strong><br> (parent_tabdata.php) </td>
-                <td valign=top bgcolor="white"><?php echo (is_writable('./parent_tabdata.php'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You will not be able to work with the product</font>";?></td>
-        </tr>
-
-	
-	<tr bgcolor="#fafafa">
-                <td valign=top ><strong>Smarty Cache Directory </strong><br> (Smarty/cache)</td>
-                <td valign=top bgcolor="white"><?php echo (is_writable('./Smarty/cache/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong>";?></td>
-        </tr>
-
-       </tbody>
-	   </table>
-
-<br><br>
-	   
-	   <!-- Recommended Settings -->
-		<table cellpadding="10" cellspacing="1" width="90%" border="0" class="small" style="background-color:#cccccc">
-		<tr bgcolor="#efefef"><td colspan=2><span style="color:#003399"><strong>Recommended Settings: We strongly suggest that you check for the following values in your php.ini file </strong></span></td></tr>
-		<tr bgcolor="#ffffff"> <td valign=top ><strong>Safe Mode Off</strong></tr>
-		<tr bgcolor="#ffffff"> <td valign=top ><strong>Display Errors On</strong></tr>
-		<tr bgcolor="#ffffff"> <td valign=top ><strong>File Uploads On</strong></tr>
-		<tr bgcolor="#ffffff"> <td valign=top ><strong>Register Globals Off</strong></tr>
-		<tr bgcolor="#ffffff"> <td valign=top ><strong>Max Execution Time 300</strong></tr>
-		<tr bgcolor="#ffffff"> <td valign=top ><strong>output_buffering= On</strong></tr>
-		<tr bgcolor="#ffffff"> <td valign=top ><strong>Change the memory limit = 16M</strong></tr>
-		<tr bgcolor="#ffffff"> <td valign=top ><strong>error_reporting = E_WARNING & ~E_NOTICE</strong></tr>
-		<tr bgcolor="#ffffff"> <td valign=top ><strong>allow_call_time_reference = On</strong></tr>
-		<tr bgcolor="#ffffff"> <td valign=top ><strong>output_buffering= On</strong></tr>
-		<tr bgcolor="#ffffff">  <td valign=top ><a href="http://www.vtiger.com/products/crm/help/vtiger_CRM_Linux_Dependencies.pdf">Linux installation pre-requisites</a></tr>
-		</table>
-
-	</td>
-</tr>
-</table>
-
-	<br><br>
-
-	
-	<table border=0 cellspacing=0 cellpadding=0 width=70% class=small>
-	<tr>
-		<td><img src="include/install/images/cwURL.gif"></td>
-		<td align=right>
-			<form action="install.php" method="post" name="form" id="form">
-			<input type="hidden" name="file" value="2setConfig.php" />
-			<input type="image" src="include/install/images/cwBtnNext.gif" border="0" onClick="window.location=('install.php')">
-		</td>
-	</tr>
-	</table>
-	<br><br>
-	<!-- Horizontal Shade -->
-	<table border="0" cellspacing="0" cellpadding="0" width="80%" style="background:url(include/install/images/cwShadeBg.gif) repeat-x;">
-	<tr>
-		<td><img src="include/install/images/cwShadeLeft.gif"></td>
-		<td align=right><img src="include/install/images/cwShadeRight.gif"></td>
-	</tr>
-	</table>
-
-
-</td>
-</tr>
-</table>
-<!-- Master table closes -->
-
-<br><br><br>
-<!--
-<table width="75%" border="0" cellpadding="3" cellspacing="0" align="center" style="border-bottom: 1px dotted #CCCCCC;"><tbody>
-  <tr>
-      <td align="left"><a href="http://www.vtiger.com" target="_blank" title="vtiger CRM"><IMG alt="vtiger CRM" border="0" src="include/images/vtiger_crmlogo.gif"/></a></td>
-      <td align="right"><h2>Step 1 of 5</h2></td>
-      <td align="right"><IMG alt="vtiger CRM" border="0" src="include/images/spacer.gif" width="10" height="1"/></td>
-    </tr>
-</tbody></table>
-<table width="75%" align="center" border="0" cellpadding="10" cellspacing="0" border="0"><tbody>
-    <tr>
-      <td width="100%" colspan="3">
-		<table width=100% cellpadding="0" cellspacing="0" border="0"><tbody><tr>
-			  <td>
-			   <table cellpadding="0" cellspacing="0" border="0"width="100%" ><tbody><tr>
-
-				<td><h3>System Check</h3></td>
-				</tr>
-		    	</tbody></table>
-			  </td>
-			  <td width="85%" align="right"><hr width="100%"></td>
-			  </tr>
-		</tbody></table>
-	  </td>
-    </tr>
-    <tr><td colspan="3" align="center"><br>
-	</td>
-		</tr>
-       </tbody></table>
-	    <table cellpadding="5" cellspacing="1" width="75%" border="0" align="center"><tbody>
-
-	<tr>
-       <td colspan="3" align="right">
-	    <form action="install.php" method="post" name="form" id="form">
-		<input type="hidden" name="file" value="2setConfig.php" />
-		<input class="button" type="submit" name="next" value="Next >" /></td>
-    </tr>
-	</tbody>
--->
-</form>
-</body>
-</html>
+<?php
+/*********************************************************************************
+ * The contents of this file are subject to the SugarCRM Public License Version 1.1.2
+ * ("License"); You may not use this file except in compliance with the
+ * License. You may obtain a copy of the License at http://www.sugarcrm.com/SPL
+ * Software distributed under the License is distributed on an  "AS IS"  basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
+ * the specific language governing rights and limitations under the License.
+ * The Original Code is: SugarCRM Open Source
+ * The Initial Developer of the Original Code is SugarCRM, Inc.
+ * Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.;
+ * All Rights Reserved.
+ * Contributor(s): ______________________________________.
+ ********************************************************************************/
+/*********************************************************************************
+ * $Header: /advent/projects/wesat/vtiger_crm/sugarcrm/install/1checkSystem.php,v 1.16 2005/03/08 12:01:36 samk Exp $
+ * Description:  Executes a step in the installation process.
+ ********************************************************************************/
+
+//get php configuration settings.  requires elaborate parsing of phpinfo() output
+?>
+<html>
+<?php
+
+
+ob_start();
+eval("phpinfo();");
+$info = ob_get_contents();
+ob_end_clean();
+
+ foreach(explode("\n", $info) as $line) {
+           if(strpos($line, "Client API version")!==false)
+               $mysql_version = trim(str_replace("Client API version", "", strip_tags($line)));
+ }
+
+
+
+
+
+
+
+
+
+ob_start();
+phpinfo(INFO_GENERAL);
+$string = ob_get_contents();
+ob_end_clean();
+
+$pieces = explode("<h2", $string);
+$settings = array();
+foreach($pieces as $val)
+{
+   preg_match("/<a name=\"module_([^<>]*)\">/", $val, $sub_key);
+   preg_match_all("/<tr[^>]*>
+									   <td[^>]*>(.*)<\/td>
+									   <td[^>]*>(.*)<\/td>/Ux", $val, $sub);
+   preg_match_all("/<tr[^>]*>
+									   <td[^>]*>(.*)<\/td>
+									   <td[^>]*>(.*)<\/td>
+									   <td[^>]*>(.*)<\/td>/Ux", $val, $sub_ext);
+   foreach($sub[0] as $key => $val) {
+		if (preg_match("/Configuration File \(php.ini\) Path /", $val)) {
+	   		$val = preg_replace("/Configuration File \(php.ini\) Path /", '', $val);
+			$phpini = strip_tags($val);
+	   	}
+   }
+
+}
+
+$gd_info_alternate = 'function gd_info() {
+$array = Array(
+                       "GD Version" => "",
+                       "FreeType Support" => 0,
+                       "FreeType Support" => 0,
+                       "FreeType Linkage" => "",
+                       "T1Lib Support" => 0,
+                       "GIF Read Support" => 0,
+                       "GIF Create Support" => 0,
+                       "JPG Support" => 0,
+                       "PNG Support" => 0,
+                       "WBMP Support" => 0,
+                       "XBM Support" => 0
+                     );
+       $gif_support = 0;
+
+       ob_start();
+       eval("phpinfo();");
+       $info = ob_get_contents();
+       ob_end_clean();
+
+       foreach(explode("\n", $info) as $line) {
+           if(strpos($line, "GD Version")!==false)
+               $array["GD Version"] = trim(str_replace("GD Version", "", strip_tags($line)));
+           if(strpos($line, "FreeType Support")!==false)
+               $array["FreeType Support"] = trim(str_replace("FreeType Support", "", strip_tags($line)));
+           if(strpos($line, "FreeType Linkage")!==false)
+               $array["FreeType Linkage"] = trim(str_replace("FreeType Linkage", "", strip_tags($line)));
+           if(strpos($line, "T1Lib Support")!==false)
+               $array["T1Lib Support"] = trim(str_replace("T1Lib Support", "", strip_tags($line)));
+           if(strpos($line, "GIF Read Support")!==false)
+               $array["GIF Read Support"] = trim(str_replace("GIF Read Support", "", strip_tags($line)));
+           if(strpos($line, "GIF Create Support")!==false)
+               $array["GIF Create Support"] = trim(str_replace("GIF Create Support", "", strip_tags($line)));
+           if(strpos($line, "GIF Support")!==false)
+               $gif_support = trim(str_replace("GIF Support", "", strip_tags($line)));
+           if(strpos($line, "JPG Support")!==false)
+               $array["JPG Support"] = trim(str_replace("JPG Support", "", strip_tags($line)));
+           if(strpos($line, "PNG Support")!==false)
+               $array["PNG Support"] = trim(str_replace("PNG Support", "", strip_tags($line)));
+           if(strpos($line, "WBMP Support")!==false)
+               $array["WBMP Support"] = trim(str_replace("WBMP Support", "", strip_tags($line)));
+           if(strpos($line, "XBM Support")!==false)
+               $array["XBM Support"] = trim(str_replace("XBM Support", "", strip_tags($line)));
+       }
+
+       if($gif_support==="enabled") {
+           $array["GIF Read Support"]  = 1;
+           $array["GIF Create Support"] = 1;
+       }
+
+       if($array["FreeType Support"]==="enabled"){
+           $array["FreeType Support"] = 1;    }
+
+       if($array["T1Lib Support"]==="enabled")
+           $array["T1Lib Support"] = 1;
+
+       if($array["GIF Read Support"]==="enabled"){
+           $array["GIF Read Support"] = 1;    }
+
+       if($array["GIF Create Support"]==="enabled")
+           $array["GIF Create Support"] = 1;
+
+       if($array["JPG Support"]==="enabled")
+           $array["JPG Support"] = 1;
+
+       if($array["PNG Support"]==="enabled")
+           $array["PNG Support"] = 1;
+
+       if($array["WBMP Support"]==="enabled")
+           $array["WBMP Support"] = 1;
+
+       if($array["XBM Support"]==="enabled")
+           $array["XBM Support"] = 1;
+
+       return $array;
+
+}';
+
+?>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+<HEAD>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>vtiger CRM 5.0 Beta Configuration Wizard: Step 1</title>
+<link rel="stylesheet" href="include/install/install.css" type="text/css" />
+</head>
+<body leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">
+
+<!-- Master table -->
+<table border=0 cellspacing=0 cellpadding=0 width=100%>
+<tr>
+	<td align=center>
+	<br><br>
+	<!--  Top Header -->
+	<table border="0" cellspacing="0" cellpadding="0" width="80%" style="background:url(include/install/images/cwTopBg.gif) repeat-x;">
+	<tr>
+		<td><img src="include/install/images/cwTopLeft.gif" alt="vtiger CRM" title="vtiger CRM"></td>
+		<td align=right><img src="include/install/images/cwTopRight.gif" alt="v5alpha5" title="v5alpha5"></td>
+	</tr>
+	</table>
+	
+	
+	
+	<!-- 1 of 5 header -->
+	<table border="0" cellspacing="0" cellpadding="5" width="75%"> 
+	<tr>	
+		<td valign=top><img src="include/install/images/cwIcoSystem.gif" alt="System Check" title="System Check"></td>
+		<td width=98% valign=top>
+			<table border=0 cellspacing=0 cellpadding=0 width=100%>
+			<tr>
+				<td><img src="include/install/images/cwHdrVtConfWiz.gif" alt="vtiger CRM Configuration Wizard" title="vtiger CRM Configuration Wizard"></td>
+				<td align=right><img src="include/install/images/cwStep1of5.gif" alt="Step 1 of 5" title="Step 1 of 5"></td>
+			</tr>
+			<tr>
+				<td colspan=2><img src="include/install/images/cwHdrSysCheck.gif" alt="System Check" title="System Check"></td>
+			</tr>
+			</table>
+			<hr noshade size=1>
+		</td>
+
+	</tr>
+	<tr>
+		<td></td>
+		<td valign="top" align=center>
+		<!-- System Check -->
+	    <table cellpadding="10" cellspacing="1" width="90%" border="0" class="small" style="background-color:#cccccc">
+		<tr bgcolor="#efefef"><td colspan=2><span style="color:#003399"><strong>Core Components</strong></span></td></tr>
+		<tr bgcolor="#fafafa">
+			<td valign=top ><strong>PHP version 5.0.x</strong><BR></td>
+			<td  valign=top bgcolor="white"><?php $php_version = phpversion(); echo (str_replace(".", "", $php_version) < "430") ? "<strong><font color=\"#FF0000\">Failed.</strong><br> Invalid version ($php_version) Installed</font>" : "<strong><font color=\"#0066CC\">Passed</strong><br>Version $php_version Installed</font>"; ?></td>
+    	</tr>
+	<tr bgcolor="#fafafa">
+			<td valign=top ><strong>IMAP Support Availability</strong></td>
+        	<td valign=top bgcolor=white><?php echo function_exists('imap_open')?"<strong><font color=\"#0066CC\">Passed</strong><br>IMAP library available</font>":"<strong><font color=\"#FF0000\">Failed</strong><br>Not Available</font>";?></td>
+	    </tr>
+		<tr bgcolor="#fafafa">
+			<td valign=top ><strong>GD graphics library</strong><br> version 2.0 or later</td>
+			<td valign=top bgcolor="white"><?php
+								if (!extension_loaded('gd')) {
+									echo "<strong><font size=-1 color=\"#FF0000\">GD Graphics Library not configured. </strong>.<br>Check out our <a href='http://sourceforge.net/docman/?group_id=107819'>online documentation</a> for tips on enabling this library. You can ignore this error and continue your vtiger CRM installation, however the chart images simply won't work.</font>";
+								}
+								else {
+									if (!function_exists('gd_info'))
+									{
+										eval($gd_info_alternate);
+									}
+
+									$gd_info = gd_info();
+
+									if (isset($gd_info['GD Version'])) {
+										$gd_version = $gd_info['GD Version'];
+										$gd_version=preg_replace('%[^0-9.]%', '', $gd_version);
+
+										if ($gd_version > "2.0") {
+											echo "<strong><font color=\"#0066CC\">Passed</strong><br>Version $gd_version Installed</font>";
+										}
+										else {
+											echo "<strong><font color=\"#0066CC\">Passed</strong><br>Version $gd_version Installed.</font>";
+										}
+									}
+									else {
+										echo "<strong><font size=-1 color=\"#FF0000\">GD Library available, but not properly configured in your PHP installation</strong>.<br>You can ignore this error and continue your vtiger CRM installation, however the chart images simply won't work.</font>";
+									}
+								}
+								?>
+			</td>
+		</tr>
+		<tr bgcolor="#efefef"><td colspan=2><strong><span style="color:#003399">Read/Write Access</span></strong></td></tr>
+		<tr bgcolor="#fafafa">
+			<td valign=top ><strong>PHP Configuration</strong><br>(config.inc.php)</strong></td>
+			<td valign=top bgcolor="white" ><?php echo (is_writable('./config.inc.php') || is_writable('.'))?"<strong><font color=\"#0066CC\">Writeable</font>":"<strong><font color=\"#FF0000\">Failed</strong><br>Not Writeable</font>"; ?></td>
+		</tr>
+		 <tr bgcolor="#fafafa">
+		    <td valign=top ><strong>Cache Directory </strong> <br>(cache/)</td>
+            <td valign=top bgcolor="white" ><?php echo (is_writable('./cache/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</font></strong>"; ?></td>
+        </tr>
+		 <tr bgcolor="#fafafa">
+		    <td valign=top ><strong>Mail Merge Template Directory </strong><br>(test/wordtemplatedownload/)</td>
+            <td valign=top bgcolor="white"><?php echo (is_writable('./test/wordtemplatedownload/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong><br> You might experience issues with the word template feature. Visit <a href=\"http://www.vtiger.com/discussions/viewtopic.php?p=2200#2200\" target=\"_blank\">forums</a> for more details </font>"; ?></td>
+        </tr>
+		<tr bgcolor="#fafafa">
+		    <td valign=top ><strong>Uploads Directory</strong><br> (storage/)</td>
+            <td valign=top bgcolor="white"><?php echo (is_writable('./storage/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You might experience problems with the file attachments feature. Refer <a href=http://www.vtiger.com/forums/viewtopic.php?t=24&highlight=permission>File attachments issue</a> for more details </font>"; ?></td>
+        </tr>
+		<tr bgcolor="#fafafa">
+		    <td valign=top ><strong>Install Directory</strong><br> (install/)</td>
+            <td valign=top bgcolor="white"><?php echo (is_writable('./install/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You might experience problems with the last step of installation.</font>"; ?></td>
+        </tr>
+		<tr bgcolor="#fafafa">
+		    <td valign=top ><strong>Installation file</strong><br> (install.php)</td>
+            <td valign=top bgcolor="white"><?php echo (is_writable('./install.php'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You might experience problems with the last step of installation.</font>"; ?></td>
+        </tr>
+	<tr bgcolor="#fafafa">
+		<td valign=top ><strong>Product Image Directory</strong><br> (test/product/)</td>
+		<td valign=top bgcolor="white"><?php echo (is_writable('./test/product/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You might experience problems while attaching image for Products.Refer <a href=http://www.vtiger.com/forums/viewtopic.php?t=24&highlight=permission>File attachments issue</a> for more details </font>"; ?></td>
+	</tr>
+	<tr bgcolor="#fafafa">
+		<td valign=top ><strong>User Image Directory</strong><br> (test/user/)</td>
+		<td valign=top bgcolor="white"><?php echo (is_writable('./test/user/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You might experience problems while attaching image for Users. Refer <a href=http://www.vtiger.com/forums/viewtopic.php?t=24&highlight=permission>File attachments issue</a> for more details </font>"; ?></td>
+	</tr>
+	<tr bgcolor="#fafafa">
+		<td valign=top ><strong>Contact Image Directory</strong><br> (test/contact/)</td>
+		<td valign=top bgcolor="white"><?php echo (is_writable('./test/contact/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You might experience problems while attaching image for Contacts. Refer <a href=http://www.vtiger.com/forums/viewtopic.php?t=24&highlight=permission>File attachments issue</a> for more details </font>"; ?></td>
+	</tr>
+		<tr bgcolor="#fafafa">
+		    <td valign=top ><strong>Logo Directory</strong><br> (test/logo/)</td>
+            <td valign=top bgcolor="white"><?php echo (is_writable('./test/logo/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You might experience problems with the company logo in the pdf generation. Refer <a href=http://www.vtiger.com/forums/viewtopic.php?t=24&highlight=permission>File attachments issue</a> for more details </font>"; ?></td>
+        </tr>
+
+		<tr bgcolor="#fafafa">
+		    <td valign=top ><strong>Email Templates Directory</strong><br> (modules/Emails/templates/)</td>
+			<td valign=top bgcolor="white"><?php echo (is_writable('./modules/Emails/templates/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong><br> You might experience problems with the email templates feature. Refer <a href= http://www.vtiger.com/forums/viewtopic.php?t=388&highlight=permission>Email templates issue </a> for more details  </font>"; ?></td>
+		</tr>
+		<tr bgcolor="#fafafa">
+           <td valign=top ><strong>User Privileges</strong><br> (user_privileges/)</td>
+           <td valign=top bgcolor="white"><?php echo (is_writable('./user_privileges/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong><br> You will not be able to login </font>"; ?></td>
+        </tr>
+	
+	<tr bgcolor="#fafafa">
+                <td valign=top ><strong>Smarty Compile Directory </strong><br> (Smarty/templates_c)</td>
+                <td valign=top bgcolor="white"><?php echo (is_writable('./Smarty/templates_c/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You will not be able to login </font>";?></td>
+        </tr>
+	
+	<tr bgcolor="#fafafa">
+                <td valign=top ><strong>Tabdata File Permission </strong><br> (tabdata.php) </td>
+                <td valign=top bgcolor="white"><?php echo (is_writable('./tabdata.php'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You will not be able to work with the product</font>";?></td>
+        </tr>
+
+	<tr bgcolor="#fafafa">
+                <td valign=top ><strong>ParentTabdata File Permission </strong><br> (parent_tabdata.php) </td>
+                <td valign=top bgcolor="white"><?php echo (is_writable('./parent_tabdata.php'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong> <br>You will not be able to work with the product</font>";?></td>
+        </tr>
+
+	
+	<tr bgcolor="#fafafa">
+                <td valign=top ><strong>Smarty Cache Directory </strong><br> (Smarty/cache)</td>
+                <td valign=top bgcolor="white"><?php echo (is_writable('./Smarty/cache/'))?"<strong><font color=\"#0066CC\">Writeable</font></strong>":"<strong><font color=\"#FF0000\">Not Writeable</strong>";?></td>
+        </tr>
+
+       </tbody>
+	   </table>
+
+<br><br>
+	   
+	   <!-- Recommended Settings -->
+		<table cellpadding="10" cellspacing="1" width="90%" border="0" class="small" style="background-color:#cccccc">
+		<tr bgcolor="#efefef"><td colspan=2><span style="color:#003399"><strong>Recommended Settings: We strongly suggest that you check for the following values in your php.ini file </strong></span></td></tr>
+		<tr bgcolor="#ffffff"> <td valign=top ><strong>Safe Mode Off</strong></tr>
+		<tr bgcolor="#ffffff"> <td valign=top ><strong>Display Errors On</strong></tr>
+		<tr bgcolor="#ffffff"> <td valign=top ><strong>File Uploads On</strong></tr>
+		<tr bgcolor="#ffffff"> <td valign=top ><strong>Register Globals Off</strong></tr>
+		<tr bgcolor="#ffffff"> <td valign=top ><strong>Max Execution Time 300</strong></tr>
+		<tr bgcolor="#ffffff"> <td valign=top ><strong>output_buffering= On</strong></tr>
+		<tr bgcolor="#ffffff"> <td valign=top ><strong>Change the memory limit = 16M</strong></tr>
+		<tr bgcolor="#ffffff"> <td valign=top ><strong>error_reporting = E_WARNING & ~E_NOTICE</strong></tr>
+		<tr bgcolor="#ffffff"> <td valign=top ><strong>allow_call_time_reference = On</strong></tr>
+		<tr bgcolor="#ffffff"> <td valign=top ><strong>output_buffering= On</strong></tr>
+		<tr bgcolor="#ffffff">  <td valign=top ><a href="http://www.vtiger.com/products/crm/help/vtiger_CRM_Linux_Dependencies.pdf">Linux installation pre-requisites</a></tr>
+		</table>
+
+	</td>
+</tr>
+</table>
+
+	<br><br>
+
+	
+	<table border=0 cellspacing=0 cellpadding=0 width=70% class=small>
+	<tr>
+		<td><img src="include/install/images/cwURL.gif"></td>
+		<td align=right>
+			<form action="install.php" method="post" name="form" id="form">
+			<input type="hidden" name="file" value="2setConfig.php" />
+			<input type="image" src="include/install/images/cwBtnNext.gif" border="0" onClick="window.location=('install.php')">
+		</td>
+	</tr>
+	</table>
+	<br><br>
+	<!-- Horizontal Shade -->
+	<table border="0" cellspacing="0" cellpadding="0" width="80%" style="background:url(include/install/images/cwShadeBg.gif) repeat-x;">
+	<tr>
+		<td><img src="include/install/images/cwShadeLeft.gif"></td>
+		<td align=right><img src="include/install/images/cwShadeRight.gif"></td>
+	</tr>
+	</table>
+
+
+</td>
+</tr>
+</table>
+<!-- Master table closes -->
+
+<br><br><br>
+<!--
+<table width="75%" border="0" cellpadding="3" cellspacing="0" align="center" style="border-bottom: 1px dotted #CCCCCC;"><tbody>
+  <tr>
+      <td align="left"><a href="http://www.vtiger.com" target="_blank" title="vtiger CRM"><IMG alt="vtiger CRM" border="0" src="include/images/vtiger_crmlogo.gif"/></a></td>
+      <td align="right"><h2>Step 1 of 5</h2></td>
+      <td align="right"><IMG alt="vtiger CRM" border="0" src="include/images/spacer.gif" width="10" height="1"/></td>
+    </tr>
+</tbody></table>
+<table width="75%" align="center" border="0" cellpadding="10" cellspacing="0" border="0"><tbody>
+    <tr>
+      <td width="100%" colspan="3">
+		<table width=100% cellpadding="0" cellspacing="0" border="0"><tbody><tr>
+			  <td>
+			   <table cellpadding="0" cellspacing="0" border="0"width="100%" ><tbody><tr>
+
+				<td><h3>System Check</h3></td>
+				</tr>
+		    	</tbody></table>
+			  </td>
+			  <td width="85%" align="right"><hr width="100%"></td>
+			  </tr>
+		</tbody></table>
+	  </td>
+    </tr>
+    <tr><td colspan="3" align="center"><br>
+	</td>
+		</tr>
+       </tbody></table>
+	    <table cellpadding="5" cellspacing="1" width="75%" border="0" align="center"><tbody>
+
+	<tr>
+       <td colspan="3" align="right">
+	    <form action="install.php" method="post" name="form" id="form">
+		<input type="hidden" name="file" value="2setConfig.php" />
+		<input class="button" type="submit" name="next" value="Next >" /></td>
+    </tr>
+	</tbody>
+-->
+</form>
+</body>
+</html>





More information about the vtigercrm-commits mailing list