[FX.php List] Upgrading server to FM12 - what steps for FX.php
David
david.buck at seachem.com
Fri Jan 24 14:06:59 MST 2014
Thanks for the pointer… am back on track…. woot!
I had changed variable names in my instances to reflect the new server_data.php downloaded with v6. I had included a typo in $dataSourceType in my instance which caused the problem.
Fixed and working and no more errors in error_log!
Thanks for bearing with me. Hopefully you won't hear from me for another 6 years :)
Cheers,
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