Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Hlep please!problems on index.php with .swf


star8

Recommended Posts

Posted

Hello everyone,

 

I have changed what has to be changed as what's written on this thread, like changing the html image wrapper function, and

inserting this on my index.php.

 

define('TEXT_MAIN', '

 

<td align="center">

 

<<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="640" height="480" id="tech" align="middle">

 

<param name="allowScriptAccess" value="sameDomain" />

 

<param name="movie" value="/images/XXXXXXX.swf" />

 

<param name="quality" value="high" />

 

<embed src="/images/XXXXXXXX.swf" quality="high" width="480" height="400" name="tech" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

 

</object>

 

</td>

 

');

 

 

But then I get this messages on top of my homepage:

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /hsphere/local/home/buildcak/buildcakeeasily.dk/oscommerce_st/catalog/includes/functions/html_output.php:306) in /hsphere/local/home/buildcak/buildcakeeasily.dk/oscommerce_st/catalog/includes/functions/sessions.php on line 67 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /hsphere/local/home/buildcak/buildcakeeasily.dk/oscommerce_st/catalog/includes/functions/html_output.php:306) in /hsphere/local/home/buildcak/buildcakeeasily.dk/oscommerce_st/catalog/includes/functions/sessions.php on line 67

 

And the flash image is not being shown.

 

My header.php has only xxx.gif file because I don't want flash in it. The flash image should only be in the index.php, meaning should be shown in the body text.

 

What was wrong with this?

 

Can anyone help out? I would appreciate it very much.

 

Thank you

Posted

You should not have changed the html wrapper function in your includes/html_ouput.php.

 

My languages/english/index.php looks like this:

define('TEXT_MAIN', '

text, text, text, text .....

<br>

<center>

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" width=400 height=208 align=middle id=thevisiondepot>

<PARAM name="Movie" value="thevisiondepot.swf">

<PARAM name="loop" value="false">

<PARAM name="bgcolor" value="#808080">

<EMBED src="thevisiondepot.swf" width=400 height=208 align=middle swLiveConnect=true pluginspage="https://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" LOOP=FALSE bgcolor=#808080 name="thevisiondepot">

</EMBED>

</OBJECT>

 

');

 

I did nothing to html_output.php and my flash shows up find on my index page.

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Posted

It worked!!! Thank you very much Jason!!! You saved my day. I could have asked right away instead of using 2 days following the thread. You can't imagine how happy you made me. :D Thank you very much!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...