vtiger.com - Home of vtiger CRM
Home Products Downloads Support Buy Support Partners Company  Community Forums Blogs   Extensions  
Call Us : +1 408-733-3229
 
Log in

Register | Forgot password ?
<<September 2010>>
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30

 Search this forum

SourceForge.net Logo


PHP4.4 compatibility - petition
Post new topic   Reply to topic  Forum Home -> Installation 5.x Previous topic :: Next topic
Goto page Previous  1, 2, 3, 4

Post  codyheit   Post subject: Re: PHP4.4 compatibility - petition
     Senior Member
Mon Jul 02, 2007 7:49 am 
Posts: 320 
 
  Reply with quote
Yes would would be nice to see
_________________
http://winefortheaverageman.blogspot.com/

    View user's profile Send private message Visit poster's website

Post  rrhode   Post subject: Re: PHP4.4 compatibility - petition
     
Mon Jul 02, 2007 3:41 pm 
Posts: 1 
 
  Reply with quote
aissa wrote:
Like said, php4 support is really easy to obtain !

This is the tips.
Replace all
setObjectValuesFromRequest($focus);
By
setObjectValuesFromRequest(&$focus);
You have your php4 support.


I discovered that you can keep it compatible with both by doing something like this:

Code:
$ver = explode( '.', PHP_VERSION );
$ver_num = $ver[0] . $ver[1] . $ver[2];
if ($ver_num < 500) {
   setObjectValuesFromRequest(&$focus);
} else {
   setObjectValuesFromRequest($focus);
}

    View user's profile Send private message

Post  stormlifter   Post subject: Re: PHP4.4 compatibility - petition
     
Wed Jul 04, 2007 5:10 pm 
Posts: 13 
 
  Reply with quote
tweakerxp wrote:
Signed! My host gives me 4.4.x and 5.2.x and that's all so vTiger is not useless to me.

That's my case as well. I'd love to see this work with either one.

    View user's profile Send private message

Post  nethcman   Post subject: Re: PHP4.4 compatibility - petition
     
Tue Jul 17, 2007 9:21 am 
Posts: 6 
 
  Reply with quote
I've changed the file
include/utils/CommonUtils.php

function setObjectValuesFromRequest($focus)
to
funzionaci setObjectValuesFromRequest(&$focus)

and all (seems) works fine

what do you think about this change?

    View user's profile Send private message

Post  srgeete   Post subject: Re: PHP4.4 compatibility - petition
     
Mon Aug 06, 2007 1:15 pm 
Posts: 2 
 
  Reply with quote
My Server Details:
Windows Server 2003 / IIS 6
PHP 4.4.6
MySQL 4.1

I have installed vtiger CRM 5.0.3 and have carried out all the recommended modifications to ensure everything works fine.

I still have the following issues regarding E-Mail Configuration.

1. Outgoing mail server configured and I am able to send E-mails. However I am unable to send the "Attachments" with the E- Mails.

2. I am unable to setup the Incoming Mail Configuration.

Please Advise.

S R Geete

    View user's profile Send private message Visit poster's website

Post  greyman   Post subject: Re: PHP4.4 compatibility - petition
     
Thu Aug 09, 2007 2:51 am 
Posts: 1 
 
  Reply with quote
nethcman wrote:
I've changed the file
include/utils/CommonUtils.php

function setObjectValuesFromRequest($focus)
to
funzionaci setObjectValuesFromRequest(&$focus)

and all (seems) works fine

what do you think about this change?


Using this mod, I have successfully install 5.0.3 on the following Plesk platform and all seems OK so far.

CentOS 4.x Linux
Apache 2.0.52
MySQL 4.1.20
PHP 4.3.9

I made sure that all the pre-requisites were installed, made the code modification quoted, then ran the install URL and got all green lights. Logged in and have been playing around without any problems so far. I have tried to create invoices and that works OK (mentioned to be a problem by someone else).

I have not been able to test the email handling yet due to other priorities. And of course we will be testing extensively before we run in even a beta site release. But looks promising at this time.

Thought it might be useful to others to know it is possible.

Graham

    View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    vtiger Forum Index -> Installation 5.x All times are GMT
Leave a Testimonial
Goto page Previous  1, 2, 3, 4
Page 4 of 4

Jump to: