amfphp

FLEX/amfPHP ActionScript error 2048

跟風遠走 提交于 2019-12-13 02:26:15
问题 Sorry about the mishmash of words in the title, but that's how confused I am. I can't even summarize the error I'm getting in a simple sentence. This flex/amfphp application works fine on my computer, even though it accesses an Oracle database on another server. However, when I try to access it from another computer, this is the error I get. I'll try and put the most relevant code in. (My browser tell me this is an ActionScript error). Fault faultString="Send failed" faultCode="Client.Error

Debug php with xdebug over AMFPHP

孤街醉人 提交于 2019-12-12 02:28:35
问题 I'm using WAMP Server 2.2, which practically comes with xdebug already on. I managed to start a debug fine using NetBeans 7.1. My problem is that its not actually the breakpoints that I mark on the application that starts the debug. It is always the index.php from AMFPHP. Am I doing something wrong? Does anyone uses xdebug and AMFPHP? Any tips? Thanks. 回答1: Netbeans and other IDEs will always break on the first line of the script. There is an option to turn at off: Go to Tool-> Options-> PHP-

How does Flex 3 datagrid paging work?

爱⌒轻易说出口 提交于 2019-12-12 01:17:12
问题 How does paging work, must Flex load in all the database records to determine how many pages to generate? Let's say I have a table with 10,000+ records and want to split it into pages of 10 records per page into a datagrid component. Does Flex load in the complete 10,000+ records, or just some of them? I would like to use PHP and AMF on the backend. 回答1: We also tried to make this a bit easier in Flash Builder 4 (and support any kind of data/server technology). 回答2: Here is a good article on

Can't see the services in the back office service browser

夙愿已清 提交于 2019-12-11 18:59:15
问题 Im trying to make a flash app that connects with AMFPHP 2.1. I got WAMP working, everything seems ok, but the back office service browser cant find any service I place in the service folder, not even the example. I’ve already checked the path in the config.php file, its ok. And the client generator says this: “Warning: Invalid argument supplied for foreach() in C:wampwwwBackOfficeClientGenerator.php on line 44″ Don’t know what to do. Any help or idea about what could be the problem will be

AMF class mapping not working

↘锁芯ラ 提交于 2019-12-11 12:11:47
问题 I am building an application using Flex 4.5 and Zend_AMF as my AMF endpoint. I would like to map a class called CRequest in PHP to a class called Request in Flex. This is my php class: <?php namespace app\web; class CRequest{ public $_explicitType = 'com.site.remote.Request'; public $stuff1; public $stuff2; } This is the actionscript class: com.site.remote.Request package com.dreamatique.remoting { [Bindable] [RemoteClass(alias="com.site.remote.Request")] public class Request { public var

amfphp 2.2, index.php gives fatal error?

徘徊边缘 提交于 2019-12-11 11:23:57
问题 I downloaded the lastet AMFPHP version from http://www.silexlabs.org/amfphp/downloads/ I tried this on Wamp and Xampp by hitting the default Amfphp URL, that is _http://localhost/amfphp-2.2/Amfphp/ And I put this on live server http://cubixshade.com/pitv/amfphp/Amfphp/ but getting the same error "Fatal error: Cannot use object of type stdClass as array in D:\xampp\htdocs\amfphp-2.2\Amfphp\Plugins\AmfphpMonitor\AmfphpMonitor.php on line 167" I have added or changed nothing in the downloaded

Flex Datagrid select multiple rows and send to amfphp backend

浪子不回头ぞ 提交于 2019-12-11 09:56:30
问题 I was researching over the forums around the internet for some solution to send and ArrayCollection to AmfPHP but I didn't find good responses for that and how I can access the array on PHP side to include into a MySQL table. My problem: I have a Flex datagrid populated with some Name and Email and I want create a way to permit users to create a group and select the Name to be part of this group. I saw in Flash Builder debugger that the data are being send good as ArrayCollection (transformed

AMF typed objects from flex back to PHP

亡梦爱人 提交于 2019-12-11 07:01:50
问题 Yesterday, I succeeded in sending typed objects from a PHP application to a flex front-end using Zend_AMF as per this question. The problem I am facing now is that I would like to send a typed object from flex to PHP and on the PHP side, be able to recieve it as a typed object instead of stdClass . Here is the class in flex: package com.mysite { [Bindable] [RemoteClass(alias="CTest")] public class CTest { public var stuff1:String; public var stuff2:String; public function CTest() { } } } And

PHP Max amount of inserts in one SQL query

房东的猫 提交于 2019-12-07 06:58:52
问题 I have a pretty simple question. I am inserting a lot of records at once in a MySQL table. It works for about 2000 records (actually a bit more). But say I want to insert 3000 records, than it doesn't do anything. I'm working through AS3 sending an array containing all the records via AMFPHP to a simple PHP script to parse and insert the array. Is this normal, or should I look into it? Currently I'm slicing my array in parts of 2000 records, and sending a couple AMFPHP requests instead of