amfphp2 errors

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown amfphp2 errors

by Jorge Solis :: Rate this Message:

| View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi guys


Nice to see someone is behind this project, kudos to all you and keep the good work !
Ok, I have tested this alpha release in a couple of common environments and get errors. This are the scenarios:
- Goal: get a recordset (1000 rows) from a mysql database from Flex 4 using RemoteObject
- First environment: Web server with PHP 4.4.9, currently working with amfphp 1.9 beta2 ok
Error:

<b>Parse error</b>: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in <b>/nfs/c07/h02/mnt/101698/domains/jorgesolis.net/html/amfphp/Core/Common/ClassFindInfo.php</b> on line <b>23</b>


- Second environment: Local webserver on Windows for development only (XAMMP with PHP Version 5.3.5) that is working ok with amfphp 1.9 beta2
Error:

<b>Fatal error</b>: Uncaught exception 'Amfphp_Core_Exception' with message 'couldn't write data ' in C:\xampp\htdocs\amfphp2\Core\Amf\Serializer.php:562
Stack trace:
#0 C:\xampp\htdocs\amfphp2\Core\Amf\Serializer.php(476): Amfphp_Core_Amf_Serializer->writeData(Resource id #37)
#1 C:\xampp\htdocs\amfphp2\Core\Amf\Serializer.php(555): Amfphp_Core_Amf_Serializer->writeTypedObject(Object(AmfphpFlexMessaging_AcknowledgeMessage))
#2 C:\xampp\htdocs\amfphp2\Core\Amf\Serializer.php(126): Amfphp_Core_Amf_Serializer->writeData(Object(AmfphpFlexMessaging_AcknowledgeMessage))
#3 C:\xampp\htdocs\amfphp2\Core\Amf\Handler.php(185): Amfphp_Core_Amf_Serializer->serialize()
#4 C:\xampp\htdocs\amfphp2\Core\Gateway.php(173): Amfphp_Core_Amf_Handler->serialize(Object(Amfphp_Core_Amf_Packet))
#5 C:\xampp\htdocs\amfphp2\gateway.php(24): Amfphp_Core_Gateway->service()
#6 {main}
thrown in <b>C:\xampp\htdocs\amfphp2\Core\Amf\Serializer.php</b> on line <b>562</b>


If you have any hint about this issues would be great!
Also posted here http://community.silexlabs.org/amfphp/forum_en/topic.php?id=879 but seems I'm the only one on this forum


Jorge Solis

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
amfphp-general mailing list
amfphp-general@...
https://lists.sourceforge.net/lists/listinfo/amfphp-general

Re: amfphp2 errors

by arielsom :: Rate this Message:

| View Threaded | Show Only this Message

Hi,
 the forums are still here
http://sourceforge.net/projects/amfphp/forums
We've put up some new forums at silex labs, but they aren't really running yet. I've answered you there though
Ariel

On Tue, Apr 26, 2011 at 3:19 PM, Jorge Solis <solisarg@...> wrote:
Hi guys


Nice to see someone is behind this project, kudos to all you and keep the good work !
Ok, I have tested this alpha release in a couple of common environments and get errors. This are the scenarios:
- Goal: get a recordset (1000 rows) from a mysql database from Flex 4 using RemoteObject
- First environment: Web server with PHP 4.4.9, currently working with amfphp 1.9 beta2 ok
Error:

<b>Parse error</b>: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in <b>/nfs/c07/h02/mnt/101698/domains/jorgesolis.net/html/amfphp/Core/Common/ClassFindInfo.php</b> on line <b>23</b>


- Second environment: Local webserver on Windows for development only (XAMMP with PHP Version 5.3.5) that is working ok with amfphp 1.9 beta2
Error:

<b>Fatal error</b>: Uncaught exception 'Amfphp_Core_Exception' with message 'couldn't write data ' in C:\xampp\htdocs\amfphp2\Core\Amf\Serializer.php:562
Stack trace:
#0 C:\xampp\htdocs\amfphp2\Core\Amf\Serializer.php(476): Amfphp_Core_Amf_Serializer->writeData(Resource id #37)
#1 C:\xampp\htdocs\amfphp2\Core\Amf\Serializer.php(555): Amfphp_Core_Amf_Serializer->writeTypedObject(Object(AmfphpFlexMessaging_AcknowledgeMessage))
#2 C:\xampp\htdocs\amfphp2\Core\Amf\Serializer.php(126): Amfphp_Core_Amf_Serializer->writeData(Object(AmfphpFlexMessaging_AcknowledgeMessage))
#3 C:\xampp\htdocs\amfphp2\Core\Amf\Handler.php(185): Amfphp_Core_Amf_Serializer->serialize()
#4 C:\xampp\htdocs\amfphp2\Core\Gateway.php(173): Amfphp_Core_Amf_Handler->serialize(Object(Amfphp_Core_Amf_Packet))
#5 C:\xampp\htdocs\amfphp2\gateway.php(24): Amfphp_Core_Gateway->service()
#6 {main}
thrown in <b>C:\xampp\htdocs\amfphp2\Core\Amf\Serializer.php</b> on line <b>562</b>


If you have any hint about this issues would be great!
Also posted here http://community.silexlabs.org/amfphp/forum_en/topic.php?id=879 but seems I'm the only one on this forum


Jorge Solis

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
amfphp-general mailing list
amfphp-general@...
https://lists.sourceforge.net/lists/listinfo/amfphp-general



------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
amfphp-general mailing list
amfphp-general@...
https://lists.sourceforge.net/lists/listinfo/amfphp-general