Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with Flash Banner


jazzdevil

Recommended Posts

I installed Banner Manager 1.6 and I added my swf file from Admin Panel / Banner Manager. Then, I had this error in my homepage.

Fatal error: Call to undefined function mm_output_flash_movie() in /home/dd752540/public_html/includes/functions/banner.php on line 117

 

banner.php - line 117 is:

$banner_string = '<a href="' . tep_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner['banners_id']) . '" target="_self">' . mm_output_flash_movie( $banner['banners_title'], DIR_WS_IMAGES . $banner['banners_image'] , $size[0] , $size[1]) . '</a>';

 

How can I fix this problem?

Link to comment
Share on other sites

I installed Banner Manager 1.6 and I added my swf file from Admin Panel / Banner Manager. Then, I had this error in my homepage.

Fatal error: Call to undefined function mm_output_flash_movie() in /home/dd752540/public_html/includes/functions/banner.php on line 117

 

banner.php - line 117 is:

$banner_string = '<a href="' . tep_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner['banners_id']) . '" target="_self">' . mm_output_flash_movie( $banner['banners_title'], DIR_WS_IMAGES . $banner['banners_image'] , $size[0] , $size[1]) . '</a>';

 

How can I fix this problem?

You need to add the code for that function to /includes/functions/html_output.php

 

The code for it is at the bottom of this thread

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...