[FX.php List] Upgrading server to FM12 - what steps for FX.php
David
david.buck at seachem.com
Fri Jan 24 11:45:06 MST 2014
no, I am not passing anything as the third parameter, $dataServerVersion. Should I be?
I have default server_data.php file from github, and have just inserted my values ie:
<?php
error_reporting(E_ALL);
if (! defined('DEBUG')) {
define('DEBUG', true); // set to true to turn debugging on
}
if (! defined('DEBUG_FUZZY')) {
define('DEBUG_FUZZY', true); // set to true to activate the fuzzy debugger
}
$serverIP = '192.168.0.56';
$webCompanionPort = 80;
$dataSourceType = 'fmalt';
$webUN = 'myuser';
$webPW = 'mypassword';
$scheme = 'http';
function fmdate( $cD, $cM, $cY ) {
return substr( '00' . $cM, -2 ) . '/' . substr( '00' . $cD, -2 ) . '/' . $cY;
}
?>
Many thanks,
David.
On Jan 24, 2014, at 1:03 PM, Chris Hansen <chris at iViking.org> wrote:
> David,
>
> No, those should be set automagically based on what is passed in as your data type. Are you passing anything as the third parameter when you create your FX instance? If so, what is it's value?
>
> Best,
>
> --Chris
>
> On Jan 24, 2014, at 9:26 AM, David <david.buck at seachem.com> wrote:
>
>> Thanks for comments so far.
>>
>> I have discovered the apache error_log file :)
>>
>> The error_log has been significantly helpful to help me identify that variable names in server_data.php are different on v6 to my older installation of v4.
>>
>> I have eliminated those errors but I am now stuck with the following errors in error_log:
>>
>>
>> [Fri Jan 24 11:18:59 2014] [error] [client 192.168.0.158] PHP Notice: Undefined variable: datasourceDescription in /Library/WebServer/Documents/mysolution/FX.php on line 302
>> [Fri Jan 24 11:18:59 2014] [error] [client 192.168.0.158] PHP Notice: Undefined variable: datasourceClassName in /Library/WebServer/Documents/mysolution/FX.php on line 308
>> [Fri Jan 24 11:18:59 2014] [error] [client 192.168.0.158] PHP Fatal error: Class name must be a valid object or a string in /Library/WebServer/Documents/mysolution/FX.php on line 308
>>
>>
>>
>> Towards the top of my FX.php file the following variables are defined:
>>
>> var $dataServer = "";
>> var $dataServerType = 'fmpro';
>> var $dataServerVersion = 7;
>>
>>
>> Do these need to be changed?
>>
>> Many thanks,
>>
>> David.
>>
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list