did you tested with a owserver and a ownet.php interface?

2011/3/21 Roberto Spadim <[email protected]>:
> hum... maybe it's a problem (or not) with swig interface
> maybe just a swig option about returning NULL instead another 'php
> unreadable' value
>
> must check with owfs developers since i'm not good at SWIG interface... sorry
>
> 2011/3/21 William Brown <[email protected]>:
>> Have not resolved issue completely. Page is working but when I use get
>> it always returns null. I re-added
>>
>> load_php_OW.php to my code and commented every thing except the GLOBAL 
>> variable which I thought was needed for php. Did not fix my get problem. My 
>> new question is how do I debug the get process so I can see what is wrong? 
>> Perl read works and I get correct results. PHP get only gives null. I'm not 
>> sure what you need as patch but will try when things are working again.
>>
>>
>> On 03/20/2011 03:09 PM, Paul Alfille wrote:
>>> Yes, is there a fix to make your hand work automatic?
>>>
>>> On Sun, Mar 20, 2011 at 4:06 PM, Roberto Spadim<[email protected]>  
>>> wrote:
>>>> worked? we have problems at owfs source code to change?
>>>>
>>>> 2011/3/20 William Brown<[email protected]>:
>>>>> Solved.
>>>>> 1 - I had to put "extension=libowphp.so" in /etc/php5/apache2/php.ini in
>>>>> the dynamic extensions section
>>>>> 2 - Reset enable-dl to false in the same php.ini.
>>>>> 3 - Remove 'load_php_OW.php' from my code.
>>>>>
>>>>> On 03/19/2011 09:31 PM, William Brown wrote:
>>>>>> Found a partial answer to my dl() problem. Ubuntu 10.10 uses PHP5.3 and
>>>>>> has removed dl() from "SAPIs". Don't know what that means yet other than
>>>>>> it doesn't work with Apache2. I am looking for a solution but if you
>>>>>> have any suggestions please tell me. This issue needs to be resolved in
>>>>>> the owfs code for the future.
>>>>>>
>>>>>>
>>>>>> On 03/18/2011 12:47 AM, William Brown wrote:
>>>>>>> I have had this working since 2009. Only after install from scratch does
>>>>>>> it not work. Do you want ALL the code?
>>>>>>>
>>>>>>> On 03/17/2011 11:21 PM, Roberto Spadim wrote:
>>>>>>>> send your code
>>>>>>>>
>>>>>>>> 2011/3/18 William Brown<[email protected]>:
>>>>>>>>> I installed Ubuntu 10.10 and owfs 2.8;7 from scratch. Now my web page
>>>>>>>>> doesn't work unless I remove the line
>>>>>>>>>
>>>>>>>>> require (load_php_OW.php)
>>>>>>>>>
>>>>>>>>> Then the page works ok without any 1wire information.
>>>>>>>>>
>>>>>>>>> I also got avahi and bonjour modules missing messages.
>>>>>>>>> Mar 17 21:12:38 Irry OWFS[28024]: CONNECT:
>>>>>>>>> ow_avahi_link.c:OW_Load_avahi_library(99) No Avahi support. Library
>>>>>>>>> libavahi-common couldn't be loaded.
>>>>>>>>> Mar 17 21:12:38 Irry OWFS[28024]: CONNECT:
>>>>>>>>> ow_dnssd.c:OW_Load_dnssd_library(136) Zeroconf/Bonjour is disabled
>>>>>>>>> since
>>>>>>>>> dnssd library isn't found
>>>>>>>>>
>>>>>>>>> I created  symlinks
>>>>>>>>> /usr/lib/lidns.so for /usr/lib/libdns.so.64 and
>>>>>>>>> /usr/lib/libavahi-common.so for /usr/lib/libavahi-common.so.3,
>>>>>>>>>
>>>>>>>>> I changed php.ini so now enable_dl=1.
>>>>>>>>> Owhttpd works and shows my devices.
>>>>>>>>> What else can I check to find my error?
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>
>>>>>>>>> Colocation vs. Managed Hosting
>>>>>>>>> A question and answer guide to determining the best fit
>>>>>>>>> for your organization - today and in the future.
>>>>>>>>> http://p.sf.net/sfu/internap-sfd2d
>>>>>>>>> _______________________________________________
>>>>>>>>> Owfs-developers mailing list
>>>>>>>>> [email protected]
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>>>>>>>
>>>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Colocation vs. Managed Hosting
>>>>>>> A question and answer guide to determining the best fit
>>>>>>> for your organization - today and in the future.
>>>>>>> http://p.sf.net/sfu/internap-sfd2d
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Owfs-developers mailing list
>>>>>>> [email protected]
>>>>>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>>>> ------------------------------------------------------------------------------
>>>>>> Colocation vs. Managed Hosting
>>>>>> A question and answer guide to determining the best fit
>>>>>> for your organization - today and in the future.
>>>>>> http://p.sf.net/sfu/internap-sfd2d
>>>>>> _______________________________________________
>>>>>> Owfs-developers mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Colocation vs. Managed Hosting
>>>>> A question and answer guide to determining the best fit
>>>>> for your organization - today and in the future.
>>>>> http://p.sf.net/sfu/internap-sfd2d
>>>>> _______________________________________________
>>>>> Owfs-developers mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Roberto Spadim
>>>> Spadim Technology / SPAEmpresarial
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Colocation vs. Managed Hosting
>>>> A question and answer guide to determining the best fit
>>>> for your organization - today and in the future.
>>>> http://p.sf.net/sfu/internap-sfd2d
>>>> _______________________________________________
>>>> Owfs-developers mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>>
>>> ------------------------------------------------------------------------------
>>> Colocation vs. Managed Hosting
>>> A question and answer guide to determining the best fit
>>> for your organization - today and in the future.
>>> http://p.sf.net/sfu/internap-sfd2d
>>> _______________________________________________
>>> Owfs-developers mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Colocation vs. Managed Hosting
>> A question and answer guide to determining the best fit
>> for your organization - today and in the future.
>> http://p.sf.net/sfu/internap-sfd2d
>> _______________________________________________
>> Owfs-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>
>
>
> --
> Roberto Spadim
> Spadim Technology / SPAEmpresarial
>



-- 
Roberto Spadim
Spadim Technology / SPAEmpresarial

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to