Jump to content

idefixxed

Members
  • Posts

    5
  • Joined

  • Last visited

Contact Methods

Profile Information

  • Location
    Czechia
  • Activity
    Freelancer

idefixxed's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. Zdravím, také jsem narazil na tento problém s PS 1.5.6.0. Konfigurace - Základní nastavení - Povolit IFRAME v polích HTML: http://www.prestashop.com/forums/topic/260321-the-field-description-english-english-is-invalid/?do=findComment&comment=1362863 V popisech produktů používáme IFRAME pro VIMEO/YouTube videa.
  2. Zdravím, řešil jsem chybové hlášení Error 500 po zápisu PrestaShopu 1.5.6.0 do .htaccessu. Webserver s PHP ver. 5.3.27. Zde je odkaz na řešení na anglickém fóru: http://www.prestashop.com/forums/topic/283209-htaccess-generates-error-500/ V případě instalace PrestaShopu 1.5.6.0 na Českém hostingu je potřeba požádat technickou podporu o aktivaci "mod_env" modulu. A doplňuji info, že Vám technická podpora na požádání aktivuje i jeden z kešovacích modulů, v mém případě jsem požádal o aktivaci "Memcached".
  3. Thank you very much for your advice! Now PS 1.5.6.0 works perfectly. Here is a note for Český hosting customers (http://www.cesky-hosting.cz/). Ask tech support for an activation of the "mod_env" module.
  4. Thanks for your reply. Here is a complete .htaccess file: <IfModule mod_rewrite.c> SetEnv HTTP_MOD_REWRITE On RewriteEngine on RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L] RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L] RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L] RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L] RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L] RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # AlphaImageLoader for IE and fancybox RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L] # Dispatcher RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule ^.*$ - [NC,L] RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType text/css "access plus 1 week" ExpiresByType text/javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType image/x-icon "access plus 1 year" </IfModule> FileETag INode MTime Size <IfModule mod_deflate.c> <IfModule mod_filter.c> AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/x-javascript </IfModule> </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /index.php?controller=404 Then I have to comment/delete mentioned directive: SetEnv HTTP_MOD_REWRITE On And yes, PS shows warning about non function mod_rewite module on webserver. Well, it is on... So, I'm going to contact my host tech support. Cheers.
  5. Hello. I'm getting Error 500 when updating Performance or SEO/URL. Well, just because of one extra rule @ .htaccess: SetEnv HTTP_MOD_REWRITE On (SEO/URL settings is not saved at all, Performance setting is saved well.) Possible start of this problem could be at a migration of PS (ver. 1.5.6.0) from webserver with PHP ver. 5.4 (file system PS_DIRECTORY /../../) to another with PHP ver. 5.3.27 (normal file system). Both are virtual servers. Fresh PS installation on webserver with PHP 5.3.27 works perfectly... Because PS doesn't put extra rule @ .htaccess. Hopefuly, I've described my first "big" problem clearly enough. Thanks in advance for any help or links. Cheers
×
×
  • Create New...