Welcome, Guest. Please login or register.
Did you miss your activation email?
05/22/12, 06:19
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Server side Scripting and Database Support
| |-+  Flash Remoting with AMF (Moderators: Flash-db, Musicman, Jorge Solis, papachan, nothingGrinder)
| | |-+  FLASH + AMF to MYSQL connection, work in vista but no work in XP
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 Print
Author Topic: FLASH + AMF to MYSQL connection, work in vista but no work in XP  (Read 6992 times)
JOSH_PERU
Jr. Programmer
**
Posts: 73


View Profile Email
« on: 11/13/08, 18:52 »

is so rare, when i run any sample of flash + amf + mysql connection, dont get the data from the mysql in the flash movie (online), but in vista works good.... any idea what happen?...

ps.: a few days ago its works good in xp, i dont move anything, and when i test again, its no work... the movie get the data in xp when preview the movie in flash CS3 application...

thanks in advance for yours replies.

the link is...

http://www.prorezonline.com/System (do you need fill all the form... and press submit...
Logged
JOSH_PERU
Jr. Programmer
**
Posts: 73


View Profile Email
« Reply #1 on: 11/14/08, 16:06 »

any idea?... well i can read that some people have the same problem... well i try install a AMF sample, in another server... but the result is the same...

http://joshwebmaster.com/test/remoting.swf


i use this time lower captions for news.php, for the directory... and the script...
Logged
JOSH_PERU
Jr. Programmer
**
Posts: 73


View Profile Email
« Reply #2 on: 11/14/08, 19:10 »

hey, i use Charles to debug my swf... well... its said

FAILURE : Client closed connection before receiving entire response

RESPONSE CODE: 200 OK

Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #3 on: 11/14/08, 19:24 »

The first URL is just a big form
The second one seems to work

Jorge
Logged

JOSH_PERU
Jr. Programmer
**
Posts: 73


View Profile Email
« Reply #4 on: 11/15/08, 06:22 »

thanks Jorge, http://www.prorezonline.com/System (do you need fill all the form... and press preview my website button... )
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #5 on: 11/15/08, 06:40 »

Fill all this huge form? Really?
Upload the other example to the host, will be less time consuming (at least to check if amfphp is running)

Jorge
Logged

JOSH_PERU
Jr. Programmer
**
Posts: 73


View Profile Email
« Reply #6 on: 11/15/08, 12:23 »

yes the AMF run...

ok, the link is... http://www.prorezonline.com/System/main_preview.swf

Thanks.


a person in another computer, and in another country can see the template with the data... he use windows vista, i see the template in blank... only with the shapes... i use windows xp.



« Last Edit: 11/15/08, 12:29 by JOSH_PERU » Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #7 on: 11/15/08, 12:57 »

you prpably dont allow the use of activeX components.
The plugin for the flashplayer is an activeX component Wink
Logged

happy flashing
Cool
Ronald
JOSH_PERU
Jr. Programmer
**
Posts: 73


View Profile Email
« Reply #8 on: 11/15/08, 16:07 »

mmmm is propably, but its happen in firefox and ie7... and i have another AMF connection, in other server, and its work good... 
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #9 on: 11/16/08, 06:02 »

The gateway says:

The class {Preview} could not be found under the class path {/hermes/bosweb/web061/b611/ipw.prorez/public_html/System/amfphp/services/Preview.php}

That means you didn't upload Preview.php

Jorge
Logged

JOSH_PERU
Jr. Programmer
**
Posts: 73


View Profile Email
« Reply #10 on: 11/16/08, 07:03 »

Ok, i use first... Preview.php, for all scripts in the swf... but i read here in another post that maybe the lower or higher captios are the problem... i change the name to... preview.php... and change the names in the script. I upload it again, and its work.... but its work before with Preview.php, i dont know what happen.

whatever, thanks so much for all your help... Smiley
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #11 on: 11/16/08, 11:53 »

this depends on the host, where its residing.
Professional hosts are running under LINUX/UNIX, which knows the difference of captions, while windows hosts repeat the caption, but makes no difference searching.
On LINUX/UNIX hosts, you can have both, preview.php and Preview.php - they are two different files.
Sometimes IE caches the writing, you entered earlyer, and changes preview to Preview - the only way out: delete history and enter it as it is written at the host.
Logged

happy flashing
Cool
Ronald
JOSH_PERU
Jr. Programmer
**
Posts: 73


View Profile Email
« Reply #12 on: 11/18/08, 21:44 »

Something so interesting... its work in my desktop, but no in my laptop... both have ie 7, and firefox, win XP. What happen?...  (http://www.prorezonline.com/System/main_preview.swf)
« Last Edit: 11/18/08, 21:51 by JOSH_PERU » Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #13 on: 11/19/08, 01:51 »

check the settings bit by bit and delete cache
Logged

happy flashing
Cool
Ronald
JOSH_PERU
Jr. Programmer
**
Posts: 73


View Profile Email
« Reply #14 on: 11/19/08, 06:49 »

is really strange... because this is a new laptop and is the first time that i see this page, something in the html or php maybe block the swf that i embed on it... and the swf cant comunicate with the php services?...

ok, i test in both machines with Charles and get this data, i upload this time a remoting sample more simple, to test the script to.

in my Desktop here work:

URL : http://www.prorezonline.com/test2/remoting.swf
Status : Complete
Response Code : 304 Not Modified
Protocol : HTTP/1.1
Method : GET
content Type:
Client Addres: /127.0.0.1
Remote Address: www.prorezonline.com/66.96.130.88

in my Laptop here no work:

URL : http://www.prorezonline.com/test2/remoting.swf
Status : Complete
Response Code : 200 OK
Protocol : HTTP/1.1
Method : GET
content Type: application/x-shockwave-flash
Client Addres: /127.0.0.1
Remote Address: www.prorezonline.com/66.96.130.88
« Last Edit: 11/19/08, 11:05 by JOSH_PERU » Logged
Pages: [1] 2 Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!