vtiger supports PHP 5.2!
June 8th, 2007 by Philip
Few more days to go make it in realisation.
A week after a tight scheduled release of vtiger CRM 5.0.3, we are back to work, had enough time to relax, still we have our developers who will be on compensatory off in the coming week too. Minnie and I have planned to take up tasks such as PHP 5.2.x support, UTF-8 support across the product including the database and starting mysql as service in our exe version.
I hope many of our developers and users would have faced lot of issues while installing vtiger on php 5.2.x and with character set, i’hve collected issues from forums apart from this if any of you, have come across with new issues, do post your issues / suggestions here, this will be helpful in achieving the task quicker.
Iam rightnow testing vtiger 5.0.3 with PHP 5.2.1, found few issues after fixing i was able to install sucessfully. Expecting issues during the walkthrough.
Awaiting for your feedback.
Have a great weekend!




Dear philip,
Tanks lot for the magnificent work in the 5.0.3.
Extend our gratefulness to all team.
We are initiating evaluation of vtiger and have 5.2.1 PHP in GENTOO and UTF-8 in MySql.
We made some tests with SugarCRM but we are not very happy.
By the way you he could cite the main differences of contruções with vTigerCRM and SugarCRM?
Tanks.
BEST OF THE YEAR IDEA! is UTF-8 support across the product including the database.
We are looking forward for it couple years
Hey, that sounds REALLY good. If UTF is being fully supported, that will solve one of the few issues that still bothers my company with the current release.
(and I’m quite sure that his applies for many others in the community as well)
Also 5.2 will be much appreciated
Is PDF export will support utf-8 too?
Is the PHP 5.2 compatability going to be a point release (5.0.4/5.0.3a), or are we going to be going to have to mess about with CVS or patches? Frankly I was stunned when the PHP 5.2 fix was not considered for the 5.0.3 release seeing as a) it’s a known issue affecting the majority of new deployments, and b) there are 3rd party workarounds in the forum, so it was never going to be a huge job.
Yes I would like to see a patch so that vtiger works for:
PHP: 5.2.2
and
MySQL: 4.1.22
Yes - please support php 5.2.
vt 5.0.2 (patched for php 5.2) is running and I do not like to change the running system until vt 5.0.3 will support php 5.2.
Regards
Jons
Hi,
jcarlosa:
I couldn’t get your below question, can you explain pls.
Guy:
We’ll try to do that too!
Gary Pigott:
We have planned it for release (5.0.4), if it get’s delayed, we’ll give php 5.2 support as patch if ready for deployment (only changed files) for customers.
Yes! we should have considered this in 5.0.3, since we had too many bugs in our plate, so we have decided to take it latter. But i accept the severity, it should have taken up for 5.0.3. We’ll provide the fix at the earliest.
How long will it take you to offer a new vtiger for php 5.2.
vtiger 5.02/php 5.2 ist working quite well and we do not want to run into new problems.
Offical release of vtiger version supporting php 5.2 may take some more time (may be a month or so), but we can give a patch for existing 5.0.3 users with only changed files to support php 5.2. Thanks to johnread who contributed the patch. Right now vtiger is being tested on php 5.2, and need few more days for testing, we may provide the patch early next week.
Mike: once the patch is out you can upgrade to 5.0.3 and apply the patch.
Thanks sounds great
Supporting php5.2 … sounds great. I am looking forward to the patch!
php 5.2 support is a good and important step for vtiger.
thanks for your work.
PHP 5.2.2 and UTF-8 -> my 2 problems!
I’m happy for a patch in the next time.
Thanks for your work!
UTF-8
PLEASE make sure to provide a UTF-8 patch ASAP - it seems that this is a killer problem for the Outlook Sync, and not just for us (have a look at the forums)…
Hi,
I have uploaded changed files in vtiger CRM 5.0.3 to support php 5.2. Download the patch and unzip it in the vtigercrm home directory.
This patch will work fine for 5.0.3 and vtiger older versions upgraded to 5.0.3.
Kindly test it and let me know the feedback and issues you face if any.
To download the patch click here
Thank you, Philip!
I have tested with PHP 5.2.1 -> 0 problems
That’s very good!
Thank , Philip!
I tested with PHP 5.2.1 its o.k.
I add ErrorHandler.php and in “config.inc.php” below the comments before include(’vtigerversion.php’)-
require_once(’ErrorHandler.php’);
I have make a
new installationwith php5.2.1:1. upload 5.0.3
2. upload patch php5.2
3. start /install.php
4. In the last step “Internal Server Error”
(the database have records without data)
What can I do?
Sorry: new installation with strong (not strike!)
Install with php4 and later switch to php5.2.1 is o.k.
except:
A running 5.0.3 with php5.2.1 give by webmail a white page (I can see menu only).
Hans,
Reason for blank screen in webmail would be, imap would have not been configured with php 5.2.1
Does the patch just work for PHP 5.2 or will it also allow vtiger 5.0.3 to run under PHP 4?
The patch is compatible for lower versions of vtiger supported PHP.
I am running vtiger 5.0.2 and php 5.2. Do I only have to install the patch or the whole vtiger 5.0.3?
Hi Philip,
This didn’t seem to cure my problem - when I add a new contact it does not save.
Any ideas?
Ken
Same thing Ken, so you’re not alone.
Hi Ben and Ken,
Can you post the steps you followed to upgrade to php5.2
Else you sent the vtigercrm log file
Thanks Philip,
I ended up doing yet another reinstall and managed to get it working this time. I had to make an ErrorHandler.php file and edit config.template.php though to get it working right this time.
Webmail still loads a blank page though.
I did install patch, and I have this error at step 5:
Can’t create table ‘./vtigercrm503/#sql-726b_ba.frm’ (errno: 121)Error: Tables partially created. Table creation failed.
at Mysql 5.0.37 I got this at log (this is just a sample, but there is a lot):
070618 16:30:52 InnoDB: Error: in ALTER TABLE `vtigercrm503/vtiger_entityname`
InnoDB: has or is referenced in foreign key constraints
InnoDB: which are not compatible with the new table definition.
070618 16:30:52 InnoDB: Error: table `vtigercrm503/vtiger_entityname` does not exist in the InnoDB internal
InnoDB: data dictionary though MySQL is trying to drop it.
InnoDB: Have you copied the .frm file of the table to the
InnoDB: MySQL database directory from another database?
InnoDB: You can look for further help from
InnoDB: http://dev.mysql.com/doc/refman/5.0/en/innodb-troubleshooting.html
As importan data, at Mysql DB, there are many tables.
No answer? I try it again:
I am running vtiger 5.0.2 and php 5.2. Do I only have to install the patch or the whole vtiger 5.0.3?
Jahn,
I really woudn’t touch 5.03 with php 5.2 until they get their act together and release a proper patch. WHen they do, you’ll install the upgrade to 5.02 then the patch.
We are doing the testings and are finding out some issues here and there with the PHP5.2 support. Once we are through with them, we will be able to announce it to the community.
Then, I guess, the world will be a happier place to live in ;-). This is good impetus for you folks to buy the support packages too, right?
Jahn,
Need to upgrade your 5.0.2 to 5.0.3 by applying the patch3 and then apply the php 5.2 patch.
I have PHP 5.2 installed on a Debian box with Vtiger 5.0.3. Imap mail module is loaded with php but I still get the blank mail screen when trying to view my inbox. ideas of what to check?
Thanks
Hello Philip
looking at http://www.vtiger.com/index.php?option=com_content&task=view&id=30&Itemid=57 I only find “v5.0 Patch 3″ but no “php 5.2 patch”. Where do I find it?
@Guy
On this topic you will find a solution for UTF-8 in reports.
http://forums.vtiger.com/viewtopic.php?p=48972#48972
regards
alex
Hi Jahn,
Click here to download the patch to support php 5.2
This is new forum ?