QuoteReplyTopic: trouble with flash in header Posted: 13 October 2010 at 12:50pm
OK - what am I doing wrong? This works GREAT on my sandbox server at home. It shows the flash file, runs just fine. However, when I put this in the includes on the live forum, I get a 500 error!
At home I created a folder called "ads" at forum/ads I put the adhere.swf file in it. I added the code seen below to the header.asp file of the forum. It worked fine. I tried to simply copy things up to the live forum, 500 error, I replace the header.asp with the stock file and it works again.
Actually, NO, that's not involved here in this case. We haven't been using it. We WERE using the forum banner changer, but then when the forum was last upgraded, Bruce disabled it due to some errors with the new forum files. So we're not using it and haven't been for a year - is there really some code left in there?? Anyway, the forum has been stable and untouched for many months - since last year, actually. Running just fine, but then I added the code below and BOOM....... Server500 error.
This is the ONLY chnge I made when it broke - above is the entire header.asp. Below is the actual snippet of code I added to the asp file. Nothing else
this is the code that works on the SAME header file at home, but doesn't live:
I added a TD to hold a PNG file, that worked to display a static file. We decided to go with FLASH for the sample ad (NOT the header banner, but a sample ad only, small one) The PNG worked, so I grabbed this code and added it to display the small flash. It works on my server at home. The files at home are identical in every way to the live forum - I did a straight copy from forum to home server, I run SQL and IIS. The thing works great at home........... But when I add the SAME code below on the live forum, it's a SERVER 500 message. Pretty plain, really
Scotty - you were right, sorry!! WOW, I guess I had that code in my sandbox... and then when we updated it was disabled as Bruce said there was a conflict and I never got it changed back on my sandbox. WOW, well, it wasn't what i expected, however YOU fixed it for me with your comment! Thank you!!!
If you no longer wish to use the feature I would recommend removing it from your header file as it could cause problems in the future even if its not causing the issue here.
As for your second post, I cant see how that would cause a problem as all I see is static HTML.
As I said, what is the error you are receiving?
*edit*
umm, never mind - you replied while i was typing my reply
LOL - yes, I could have swore I'd synched my home server and the host (Bruce's server) but I guess i screwed up. I used WINDIFF and compared the two files, and finally your post hit me like a brick in the head - duh, and I removed that top line and bingo, it started working. I had used the header.asp from my home system. I was wrong, and you helped fix it.
Now, I need to find someone to pay to upgrade our software and move all the mods into the latest forum version.............. I simply can't do it now. (and we need some of the new features - we're growing!)
I love your mod, and we will get back to using it after we somehow get upgraded to the latest. My son will do the header images (eventually........ i hope)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum
Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.
Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.