PDA

View Full Version : Amfphp not work on new server


theskyisblue
06-20-2007, 10:32 PM
Hi All,

Had completed Jesses' brilliant tutorial about a month ago, had it all working smoothly. Webhost has since swapped server, and none of the database content appears in flash.

All settings and files are the same (as i transferred them myself). Using php4 still, same databases etc. Cant work out what the problem is?

Could it be a mime setting on the server or something along those lines??

Very frustrating! :mad:

theskyisblue
06-20-2007, 10:41 PM
No worries,

just found this php workaround:

http://sourceforge.net/tracker/index.php?func=detail&aid=1717254&group_id=72483&atid=534662

... even though the server is running php4, it still fixed the problem.

Cheers all.

LOLFlash
06-20-2007, 11:51 PM
what version of amfphp your are using?

1.9 doesnt work on my php4

1.2 works fine

theskyisblue
06-20-2007, 11:54 PM
1.2.5

theskyisblue
06-21-2007, 09:53 AM
Ahhhhh,
Yet another hurdle....
Amphp forum works fine now when i test locally in a .swf file, using the remote servers' php databases, but when i embed this swf into html.... no database content appears!
Why would this be?

mooska
06-21-2007, 03:06 PM
add crossdomain.xml to the server. You probably have got different domain in the swf (ie www.mydomain.com versus mydomain.com)

theskyisblue
06-21-2007, 03:31 PM
Brilliant, thanks very much mooska. What a strange concept!