# Swf wont work on server

**URL:** <https://forum.kirupa.com/t/swf-wont-work-on-server/264478>\
**Category:** Uncategorized\
**Created:** [June 26, 2008, 2:20pm UTC](https://forum.kirupa.com/t/swf-wont-work-on-server/264478 "2008-06-26T14:20:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lordoneia](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@lordoneia](https://forum.kirupa.com/u/lordoneia)\
**Post date:** [June 26, 2008, 2:20pm UTC](https://forum.kirupa.com/t/swf-wont-work-on-server/264478/1 "2008-06-26T14:20:52Z")

</div>

i have a flash guest book that use php to read from a mysql database it work fine on my computer but when i uploaded to the server it doesn’t work. anybody any ideas why.

---

<div class="post-metadata">

**Author:** ![Lachhh](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@Lachhh](https://forum.kirupa.com/u/Lachhh)\
**Post date:** [June 26, 2008, 2:42pm UTC](https://forum.kirupa.com/t/swf-wont-work-on-server/264478/2 "2008-06-26T14:42:29Z")

</div>

Where it’s doesn’t work ? Have you trace your calls/answer from your php ?

---

<div class="post-metadata">

**Author:** ![lordoneia](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@lordoneia](https://forum.kirupa.com/u/lordoneia)\
**Post date:** [June 26, 2008, 2:45pm UTC](https://forum.kirupa.com/t/swf-wont-work-on-server/264478/3 "2008-06-26T14:45:47Z")

</div>

No how do you do that?

---

<div class="post-metadata">

**Author:** ![Lachhh](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@Lachhh](https://forum.kirupa.com/u/Lachhh)\
**Post date:** [June 26, 2008, 2:48pm UTC](https://forum.kirupa.com/t/swf-wont-work-on-server/264478/4 "2008-06-26T14:48:36Z")

</div>

I just meaned, debug where it doesn’t works.

Try to pu a debug textfield on your stage somewhere, and make a function  
MyTrace(msg:String) {  
debug\_txt.text += “  
” + msg;  
}

Now trace before your call and after your call, check where it don’t work

---

<div class="post-metadata">

**Author:** ![lordoneia](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@lordoneia](https://forum.kirupa.com/u/lordoneia)\
**Post date:** [June 26, 2008, 2:49pm UTC](https://forum.kirupa.com/t/swf-wont-work-on-server/264478/5 "2008-06-26T14:49:25Z")

</div>

i have no prior php experience i got the guest book from flepstudios it work fine on my computer but when uploaded  
it doesnt seem to be communicating properly? it is a swf that loads into another swf

---

<div class="post-metadata">

**Author:** ![Lachhh](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@Lachhh](https://forum.kirupa.com/u/Lachhh)\
**Post date:** [June 26, 2008, 2:54pm UTC](https://forum.kirupa.com/t/swf-wont-work-on-server/264478/6 "2008-06-26T14:54:05Z")

</div>

Ok you don’t have the fla ?

So i can’T help you. Check where you got it and read for help. Check if you need to put other files then the swf. If I can’t see code, i can’t help you.

Sorry

Lachhh

---

<div class="post-metadata">

**Author:** ![lordoneia](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@lordoneia](https://forum.kirupa.com/u/lordoneia)\
**Post date:** [June 26, 2008, 3:29pm UTC](https://forum.kirupa.com/t/swf-wont-work-on-server/264478/7 "2008-06-26T15:29:12Z")

</div>

I do have the fla to both swfs the main website and the guestbook the guest book read from an external as file that communicates with php files what code do you need to see? the guest book loads into the main site it just doesn’t work once place on the server.

---

<div class="post-metadata">

**Author:** ![Lachhh](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@Lachhh](https://forum.kirupa.com/u/Lachhh)\
**Post date:** [June 26, 2008, 3:49pm UTC](https://forum.kirupa.com/t/swf-wont-work-on-server/264478/8 "2008-06-26T15:49:15Z")

</div>

Well my first guess will be that the .php are not on your server, or one of the swf is missing on the server.

But I really think that it’s a problem of loading external files so one of your swf or the php files.

That’s why i told you to trace before and after the call of the loading of your second swf, and before and after the communication with your php files.

But maybe there’s a validation if your swf is on a specific URL, which would not load or do anything. Who knows ! :D.

So check if all the loading are made properly, then tell me if they are any others problem.

Lachhh
