Check out the Latest Articles:

Upgrade osCommerce Flash Carousel 3.0 to 3.2

If you installed osCommerce Flash Carousel 3.0 please download new version from http://addons.oscommerce.com/info/6123 address with titled osCommerce Flash Carousel 3.2 (Fatih)

Please backup your store files before starting upgrade.

Open osCommerce Flash Carousel 3.2.zip file. You will find update_from_3.0_to_3.2 directory. Please follow below instructions.

Upgrade Step 1:
Open your store catalog/index.php file. Find below lines and delete them. If you have already unmodified osCommerce RC2a catalog/index.php file, you can copy index.php file from update_from_3.0_to_3.2/modified_files/catalog to your store catalog/index.php file (replace it).

1
2
3
4
5
6
7
<script type="text/javascript" src="kampanya/swfobject.js"></script> 
<style type="text/css" media="screen"> 
    object { outline:none; } 
</style> 
<script type="text/javascript"> 
    swfobject.registerObject("flash_carousel", "9.0.0", "kampanya/expressInstall.swf") 
</script>

Upgrade Step 2:
Go update_from_3.0_to_3.2/modified_files/ directory.
Copy below files to your store (Replace with your existing files).
modified_files/catalog/kampanya/style_1/medium/kampanya.swf
modified_files/catalog/includes/classes/flash_carousel_image_resize.php
modified_files/catalog/includes/functions/flash_carousel.php
modified_files/catalog/includes/modules/flash_carousel.php

Step 3:
At this step we will modify catalog/includes/configure.php file. When you see webpage at “http://www.xxxx.xxx” osCommerce Flash Carousel works as expected but when you try “http://xxxxx.xxx” osCommerce Flash Carousel doesn’t show. In order to work both osCommerce Flash Carousel at both “http://www.xxxx.xxx” and “http://xxxxx.xxx” please follow below instrauction.

Open catalog/includes/configure.php and add below line to the top of the file after

1
$dom_name = $_SERVER["SERVER_NAME"];

And find below lines.

1
2
3
4
define('HTTP_SERVER', 'http://www.my-current-domain-name.com');
define('HTTPS_SERVER', 'https://www.my-current-domain-name.com');
define('HTTP_COOKIE_DOMAIN', 'www.my-current-domain-name.com');
define('HTTPS_COOKIE_DOMAIN', 'www.my-current-domain-name.com');

Replace with the below lines.

1
2
3
4
define('HTTP_SERVER', 'http://' . $dom_name);
define('HTTPS_SERVER', 'https://' . $dom_name);
define('HTTP_COOKIE_DOMAIN', $dom_name);
define('HTTPS_COOKIE_DOMAIN', $dom_name);

You can get more information about Multiple domains addons http://addons.oscommerce.com/info/5850.