Hello all, Again, please disregard, I found another example to follow and this time it works now. **note to self..must remember to commit after add new rows.
cheers, suomaf Hello all, Please disregard the previous post, i found another example to follow this one at http://www.onlamp.com/pub/a/onlamp/2007/07/19/introduction-to-flex-using-php.html and i am happy to report I have made contact with the database. I am now able to update and show the contents of the database. However one problem remains, if you go to http://202.160.32.83:8888/email/bin/list.php there is 11 data but when i go to http://202.160.32.83:8888/email/bin/email.html it only shows 3 data These 3 were available at the time of compile and if i were to recompile it will show the rest .. Is there something that I am doing wrong? Should i be refreshing the datagrid or perhaps some setting to apache or php? Please help suomaf suomaf wrote: > > Hello all, > > I am new to flex and am just starting out. Please forgive me if i am > asking noob questions. > I looked at the example at > http://devzone.zend.com/article/11-Integrating-Adobe-Flex-and-PHP and > tried to make it work for firebird. > > I have a linux box at 192.168.0.238 which has apache and also php and > firebird. I know that they work together. > > following the example I have changed the request.php, trial.mxml and my > firebird database as below. I am using flex3 beta 2 and when i move > everything to the linux box and try to run it at > http://192.168.0.238/trial/bin/trial.html, it loads but an error pops up > which is : > > "An action script error has occured" > [RPC Fault faultString="Security error accessing url" > faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"] > at > mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\flex_3_beta2\sdk\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:211] > at > mx.rpc::Responder/fault()[E:\dev\flex_3_beta2\sdk\frameworks\projects\rpc\src\mx\rpc\Responder.as:56] > at > mx.rpc::AsyncRequest/fault()[E:\dev\flex_3_beta2\sdk\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:110] > at > DirectHTTPMessageResponder/securityErrorHandler()[E:\dev\flex_3_beta2\sdk\frameworks\projects\rpc\src\mx\messaging\channels\DirectHTTPChannel.as:368] > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at flash.net::URLLoader/redirectEvent() > > so i followed instructions and placed a crossdomain.xml file at > 192.168.0.238/crossdomain.xml > and when that still did not work, i placed it in all the subdirectories.. > restarting the http service and I see no change and am still getting the > error. > > Is this an issue with the flex_3 sdk or am i doing something really > noobish? > > Can anyone please help? > > suomaf > -- View this message in context: http://www.nabble.com/trying-to-get-flex-%2B-php-%2B-firebird-to-work-tf4950235.html#a14225804 Sent from the FlexCoders mailing list archive at Nabble.com.

