i think the database is the answer bc like i said before i deleted everything and put the original files back and when i did this the only thing that changed was the text in the description was missing and the flash was still there
i think the database is the answer bc like i said before i deleted everything and put the original files back and when i did this the only thing that changed was the text in the description was missing and the flash was still there
here this is the description.php file and it changes the database somehow.......
Zen Cart Flash Description
Copyright (c) 2006 Wang Aocheng, All Right Reserved.
http://www.buybaobao.com
*/
include('includes/configure.php');
include('includes/database_tables.php');
$desc_db = @mysql_pconnect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD);
@mysql_select_db(DB_DATABASE, $desc_db);
$sql = "select products_description
from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd
where p.products_status = '1'
and p.products_id = '" . $_COOKIE['product_id'] . "'
and pd.products_id = p.products_id
and pd.language_id = '" . $_COOKIE['language'] . "'";
$query = mysql_query($sql);
$desc = mysql_fetch_array($query);
$value = 'desc=' . rawurlencode($desc['products_description']);
echo $value;
?>
That's not changing the database ... it's only reading it for display purposes.
so ... the problem is in your template files.
Open the Developer Toolkit in the Admin (under Tools). Search for swf or description.swf
Maybe that'll help you find "which" file contains the reference to it.
You'll find tips on using Dev Toolkit in the FAQ section ... or just read the instructions on the screen.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
ok so any suggestions?
If you don't want to do the Developer Toolkit suggestion I offered, then try this approach instead:
http://www.zen-cart.com/wiki/index.p...Obscure_Issues
Alternatively you may need to hire a programmer to find out which file you've put the changes in so they can be reversed.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
ok i will try the devoloper toolkit first
strange i deleted everything once again and replaced the old files and now its fine. Thanks dr byte
I have to restore my website.........
I wonder who the ############ made this ############## contribution ? free advertising ?
Why this can be allowed to place in ZEN CART for everyone to download ?