Jump to content

fazee

Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Location
    Scotland
  • Activity
    Other

fazee's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I am having trouble with PS1.4.4.1 Recently I added internal link to flash logo in my theme's header.tpl and used just the file name as src. In any other case (fill link http:// or directory path) it would break my ssl connection and moan about "unsecure contents of the website" Now, every page created by CMS does not contain the flash logo. By replacing source path of flash I can get it to work but as I said, SSL will break. I believe this could be fixed by adding rewrite rule in .htaccess I am not a programmer so be as clear as a tear please Thanks in advance!
  2. nevermind... sorted. it was enough to change url to ar so = new FlashObject("logo.swf", "animacja", "414", "133", "8.0.0", true); etc... no other path Cheers
  3. same problem here, presta 1.4.4.1. I am not a developer, my question may be lame.... After my pal modified my theme's header.tpl to load flash logo, I get big red X in chrome. Preblem is here: <script type="text/javascript" src="http://dobrefajki.pl/flashobject.js"></script> </head> <body id="index"> <div id="page"> <!-- Header --> <div id="header"> <div id="flashcontent1"> <span style="font-style: italic;">no flash</span> <br /> <a href="http://www.adobe.com/go/getflashplayer" target="_blank"><img src="get_flash_player.gif" style="border: none" alt="download flash player" /></a> </div> <script type="text/javascript"> // <![CDATA[ var so = new FlashObject("http://dobrefajki.pl/logo.swf", "animacja", "414", "133", "8.0.0", true); so.write("flashcontent1"); // ]]> </script> <div id="header_right"> and there is my header.tpl <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}"> <head> <title>{$meta_title|escape:'htmlall':'UTF-8'}</title> {if isset($meta_description) AND $meta_description} <meta name="description" content="{$meta_description|escape:html:'UTF-8'}" /> {/if} {if isset($meta_keywords) AND $meta_keywords} <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" /> {/if} <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta name="generator" content="PrestaShop" /> <meta name="robots" content="{if isset($nobots)}no{/if}index,follow" /> <link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" /> <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" /> <script type="text/javascript"> var baseDir = '{$content_dir}'; var static_token = '{$static_token}'; var token = '{$token}'; var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; var priceDisplayMethod = {$priceDisplay}; var roundMode = {$roundMode}; </script> {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" /> {/foreach} {/if} {if isset($js_files)} {foreach from=$js_files item=js_uri} <script type="text/javascript" src="{$js_uri}"></script> {/foreach} {/if} {$HOOK_HEADER} <script type="text/javascript" src="http://dobrefajki.pl/flashobject.js"></script> </head> <body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}> {if !$content_only} {if isset($restricted_country_mode) && $restricted_country_mode} <div id="restricted-country"> <p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p> </div> {/if} <div id="page"> <!-- Header --> <div id="header"> <div id="flashcontent1"> <span style="font-style: italic;">no flash</span> <br /> <a href="http://www.adobe.com/go/getflashplayer" target="_blank"><img src="get_flash_player.gif" style="border: none" alt="download flash player" /></a> </div> <script type="text/javascript"> // <![CDATA[ var so = new FlashObject("http://dobrefajki.pl/logo.swf", "animacja", "414", "133", "8.0.0", true); so.write("flashcontent1"); // ]]> </script> <div id="header_right"> {$HOOK_TOP} </div> </div> <div id="flash_baner"> tutaj flash </div> <div id="columns"> <!-- Left --> <div id="left_column" class="column"> {$HOOK_LEFT_COLUMN} </div> <!-- Center --> <div id="center_column"> {/if}[root@server prestashop_new2]# I have no clue what to do... please help if possible. I know there should be no hard link but tried with src=./logo.swf etc and still no joy
  4. I was doing it yesterday. Depending on what is your webserver setup you need to make sure that virtual host on port 443 points to the same directory. It can be caused by a number of issues - ServerName directive etc.... You can test if your SSL is installed correctly here: http://www.sslshopper.com/ssl-checker.html then come back and paste your output to make sure http server is configured properly. Also, in prestashop database there is table called PS_SHOP_DOMAINS_SSL which must be domainname given to CA when they signed your crt. Good luck
×
×
  • Create New...