Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

.swf on index.php problems


star8

Recommended Posts

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...