Welcome, Guest
  • Author Topic: Unable to view Ecard  (Read 3350 times)

    Renwaar

    • Server what's that
    • *
    • Posts: 4
      • View Profile
      • Email
    Unable to view Ecard
    « on: 08/24/09, 09:36 »
    Hi there, I've tried searching the forums but I am unable to find a solution, apologies in advance if this is answered elsewhere.

    I have installed the demo (tutorial) files and with a bit of tweaking i have email sending ok, however the link then looks fine but only shows a blank page, I'm pretty sure this is something to do with the way the flash is embedded.

    The source is not showing the variables, as below.

    Please can anyone advise.

    Andy

    <HTML>
    <HEAD>

    <TITLE>Here's your Flash Ecard - from the Flash-dB.com Tutorial</TITLE>

    </head>

    <body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" rightmargin="0" marginheight="0" marginwidth="0">

    <center>

    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
     codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
     >
     <PARAM NAME=movie VALUE=""> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="" quality=high bgcolor=#FFFFFF   TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
    </OBJECT>

    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
     codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
     >
     <PARAM NAME=movie VALUE=""> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="" quality=high bgcolor=#FFFFFF   TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
    </OBJECT>
    </center>
    </BODY>
    </HTML>

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: Unable to view Ecard
    « Reply #1 on: 08/24/09, 10:12 »
    did you check, that the data files are created ok?

    Could you give a life link to where it is installed?

    I am pretty sure it is a rights problem ;)
    happy flashing
    8)
    Ronald

    Renwaar

    • Server what's that
    • *
    • Posts: 4
      • View Profile
      • Email
    Re: Unable to view Ecard
    « Reply #2 on: 08/24/09, 10:51 »
    Hi Ronald,

    Thank you for your super quick response, yes I checked the .txt file was created and it looks ok.

    ToName=andy&ToEmail=andy@videoshed.com&FromName=andy&FromEmail=andy@videoshed.com&Greeting=greetings&IntroMessage=messages&Created=Ecard Created on Monday 24th 2009f August 2009 ( 04:46:27 PM )

    I have set this up on my server to test, I am finding that the SelectCard.php is not showing any flash, it doesn't seem to be getting variables so not showing the card.

    My test area is here. http://videoshed.com/Ecards/ecard_test.html

    I have only changed the AS in Ecard2

    Thanks for this.

    Andy


    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: Unable to view Ecard
    « Reply #3 on: 08/24/09, 15:06 »
    check your php code - the swf file name and parameters are not inserted.

    maybe you are using old php3 coding, but running current php4 or even 5.

    Usualy with php4 and up the globals are set to off - so you have to retreive the GET Variables explicte with $_GET['variablename'].
    happy flashing
    8)
    Ronald

    Renwaar

    • Server what's that
    • *
    • Posts: 4
      • View Profile
      • Email
    Re: Unable to view Ecard
    « Reply #4 on: 08/25/09, 02:42 »
    Thanks Ronald,

    This is indeed where the problem lies, I've not worked with php for some time, so all looked ok to me.

    I have tried a number of different options, could you just confirm what I need to change as I am still having problems, from what you told me I assumed that I would just need to change SelectCard.php...

    to  <PARAM NAME=movie VALUE=<? print $_GET["goto"];?>>

    Am I missing something as I am still not getting the variables.

    Thanks Again.

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: Unable to view Ecard
    « Reply #5 on: 08/25/09, 04:27 »
    the variables you are receiving are EcardText and ENum.

    So you have to retreive them with $_GET function.

    You can do this:

    $ENum=$_GET['ENum'];
    $EcardText=$_GET['EcardText'];

    This should be doing it, if you didnt make any further changes to the php script.

    Be aware of phps capability to see the difference between capitalized and non capitalized letters in variable names !
    happy flashing
    8)
    Ronald

    Renwaar

    • Server what's that
    • *
    • Posts: 4
      • View Profile
      • Email
    Re: Unable to view Ecard
    « Reply #6 on: 08/25/09, 06:26 »
    My thanks for your help Ronald, this is sorted.

    Best Wishes

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: Unable to view Ecard
    « Reply #7 on: 08/25/09, 08:59 »
    keep on flashing :D
    happy flashing
    8)
    Ronald