Search the Community
Showing results for tags 'iis'.
-
Ciao a tutti, Ho installato Prestashop 1.7.6.7 su server cloud aruba con php 7.2.26, non so a cosa sia dovuto ma questo sito dopo qualche minuto di esecuzione mi apre un infinità di processi php-cgi.exe e mi manda in palla il server con cpu al 100% ed il sito non carica, ho limitato il numero di istanze a 15 dal FastCGI ma lo stesso spesso il sito va in palla, come posso capire a cosa è dovuto? Tema, plugin, prestahop.... Qualcuno si è trovato in una situazione simile ? come posso capire quale parte di prestashop fa aprire tutti questi processi ?
-
I am planning to install Prestashop on a VPS Windows Server 2012R2 in order to have stock information "online" from an ERP System installed on the same Server on SQL 2008 Standard edition. The Server will have a Plesk Onyx installation for managing web-services. Am i on the right path ?? or must i take something under consideration. Server's info: 10Cpus, 50GBs of Ram and 1,2 TB SSD, 1Gbit Ethernet
- 4 replies
-
- iis
- windows 2012 r2
- (and 2 more)
-
First of all, sorry for my english. I have a Prestashop 1.6.1installation. I had a lot of troubles to active correctly friendly url, because my hosting is a dedicated Windows in Amazon. I had to create a web.config, because .htaccess don't works. Finally, I composed the following web.config: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <clear /> <rule name="Common Exploit Blocking" stopProcessing="true"> <match url="^(.*)$" /> <conditions logicalGrouping="MatchAny"> <add input="{QUERY_STRING}" pattern="mosConfig_[a-zA-Z_]{1,21}(=|\%3D)" /> <add input="{QUERY_STRING}" pattern="base64_encode.*\(.*\)" /> <add input="{QUERY_STRING}" pattern="(\<|%3C).*script.*(\>|%3E)" /> <add input="{QUERY_STRING}" pattern="GLOBALS(=|\[|\%[0-9A-Z]{0,2})" /> <add input="{QUERY_STRING}" pattern="_REQUEST(=|\[|\%[0-9A-Z]{0,2})" /> </conditions> <action type="Redirect" url="index.php" appendQueryString="false" redirectType="SeeOther" /> </rule> <rule name="Joomla Search Rule" stopProcessing="true"> <match url="(.*)" ignoreCase="true" /> <conditions logicalGrouping="MatchAll"> <add input="{URL}" pattern="^/search.php" ignoreCase="true" /> </conditions> <action type="Rewrite" url="/index.php" /> </rule> <rule name="wordpress" patternSyntax="Wildcard"> <match url="*"/> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/> </conditions> <action type="Rewrite" url="index.php"/> </rule> <rule name="Prestashop Images"> <match url="^(\d*)\-((\w+_?)+)/((\w+_?)+)\.jpg$" /> <action type="Rewrite" url="img/p/{R:1}/{R:1}-{R:2}.jpg" /> </rule> </rules> </rewrite> <caching> <profiles> <add extension=".php" policy="DisableCache" kernelCachePolicy="DisableCache" /> </profiles> </caching> </system.webServer> </configuration> Rewriting process works fine, but my product images shows the ? symbol (404 error image). My shop is not in root, is in "shop" directory. The url generated for images is like the following: http://www.myShopName.com/shop/2-home_default/product_name.jpg My theme is "default theme". Thank you for your time.
- 6 replies
-
- friendly url
- product image
-
(and 4 more)
Tagged with:
-
Saludos. Tengo problemas migrando mi tienda (Prestashop 1.6) de un servidor a otro, actualmente esta alojada en un servidor con Parallels Plesk y estoy migrandolo a un servidor Windows Server 2012 con IIS 8, MySQL 5.1 y PHP 5.2.9, use las instrucciones de este enlace al pie de la letra, sin omitir ni un solo paso: http://doc.prestashop.com/display/PS16/System+Administrator+Guide#SystemAdministratorGuide-MovingPrestaShop Después de todo el procedimiento, dentro del archivo hosts de Windows, escribo mi ip y la url de la tienda para verla local, de lo contrario, se va a la pagina actual, ya que el otro servidor aun funciona y esta en linea, la tienda presenta principalmente dos comportamientos, o muestra la pantalla de Bienvenida de IIS, o bien, muestra un error 404, tampoco puedo entrar a la administración, despliega el mismo error. Ya he modificado permisos, elimine el archivo .htaccess y lo volvi a crear, también, en la tabla de la base de datos ps_shop_url, probe las siguientes configuraciones: domain : MiDominioActual domain_ssl : MiDominioActual physical_path : / domain : MiDominioActual domain_ssl : MiDominioActual physical_path : /ruta de la tienda domain : localhost domain_ssl : localhost physical_path : /ruta de la tienda domain : campo vacio domain_ssl : campo vacio physical_path : /ruta de la tienda No se que otra cosa intentar, cabe mencionar que paralelo a esta pagina, tengo funcionando sin problemas un sitio Joomla! y otros 5 sitios html. Espero alguien pueda ayudar, gracias de antemano.
-
I have a problem. I have IIS. I set multishop but not displayed. (The main page is ok. ) HTTP-error: 404.0 - Not Found Requested url:http://192.168.30.45:8888/de/index.php?live_configurator_token=e6d124a29862ba30e977d6019bee7c86&id_employee=1&id_shop=2 Physical path: C:\inetpub\wwwroot\directory_name\de\index.php But \de\ is only virtual path... Know you the solution? Thank you!
-
I have been using and installing the PrestaShop for awhile now, and everytime when I encounter problems and solved the problem, I take notes and save in Microsoft Word document. Now I think since PrestaShop manual lacks of setup instructions on the Windows Server 2008 platform, so I decide to share some of my notes to everyone who is in needs of using their own Windows Server 2008 R2 with IIS 7.5 to host their site. PrestaShop Installation ONLY Guide.pdf Password is psv#14825
-
Salve a tutti, ho problemi con i famosi "caratteri accentati"... Il DB è impostato su uft8 e collation utf8_general_ci e se lo apro in remoto vedo nei campi i valori scritti giusti (ossia con caratteri accentati)... Ho creato una pagina "Modalità di pagamento" e in front-office mi fa vedere la "à" con un "?"...che succede ?!? Grazieeeeeeeeeee
- 2 replies
-
- prestashop 1.6.0.6
- iis
-
(and 2 more)
Tagged with:
-
Buenas tardes; Estoy tratando de publicar la web que he hecho con prestashop 1.6 en internet a traves de un phpmyadmin con iis. El caso es que he instalado prestashop en el server, he añadido un sitio nuevo en iis (ver capturas) donde he configurado la parte de examen de directorios(lo he habilitado) y el documento predeterminado (he añadido index.php)En iis tambien he configurado la ruta de acceso fisica de la web que apunta al directorio raíz donde reside la tienda (a partir de este directorio cuelgan las carpetas de themes, modules o prestashop). Por otra parte en phpmyadmin he configurado en la base de datos la ruta de la tienda en la tabla shop_url. Tambien he configurado en el DNS una entrada en la zona de busqueda directa con el nombre de la web (como no tenia claro si tenia que ser con las www he creado dos, una con y otra sin las www) No obstante, segun observo el error que me da parece ser un error de permisos pero he de comentar que como prueba he dado permisos al grupo "todos" en el directorio donde se aloja la web y tras volver a comprobar, no ha funcionado (despues he quitado obviamente el grupo todos de la acl del directorio) Tambien he modificado el fichero web.config del directorio raíz de la tienda y lo he dejado de la siguiente forma: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <directoryBrowse enabled="true" /> <defaultDocument> <files> <add value="index.php" /> </files> </defaultDocument> <rewrite> <rules> <rule name="www.elaljibevlc.com" enabled="false" stopProcessing="true"> <match url="elaljibevlc.com" /> <conditions> <add input="*" pattern="elaljibevlc.com" /> </conditions> <action type="Redirect" url="www.elaljibevlc.com" redirectType="Temporary" /> </rule> </rules> </rewrite> </system.webServer> </configuration> Algo se me escapa o no llego a tener bien configurado y no se que es.... Alguien puede ayudarme? Gracias de antemano!
-
Salve a tutti, sto provando da tempo ad aggiornare con 1-click-upgrade la mia versione 1.6.0.6 alla 1.6.0.9 (l'ultima) ma ogni volta mi dice: Directory x:\nomesito\x:\nomesito\admin_prestashop\autoupgrade does not exists or is not writable Da come potete vedere scrive nella "path" x:\nomesito\ + x:\nomesito\admin_prestashop\autoupgrade Installazione su Server Windows 2012 provata con e senza URL rewrite e con permessi di ADMIN.... sto impazzendo...
-
- autoupgrade
- prestashop 1.6.0.6
-
(and 3 more)
Tagged with:
-
Salve a tutti, sto cercando (con fatica) di settare al meglio Prestashop su Windows Server 2012 (questo abbiamo e questo ci teniamo...per ora...) ma riscontriamo diversi problemi... SCENARIO Windows Server 2012 + mySql + PHP 5.6 + Prestashop 1.6.0.6 Cartella "ADMIN" accessibile solo a particolari utenti settati sul Server Windows URL_REWRITE abilitate (e sembra funzionanti fino ad ora...) PROBLEMI Se tentiamo di fare un qualsiasi upload di file come ad esempio immagini per il CMS ci ritroviamo a vederle caricate con proprietario l'utente Administrator (ad esempio) e non IUSR (utente standard internet)...cosi facendo non sono visibili al normale web (chiede la password)... SOLUZIONI ?!? Grazie, io intanto studio ancora...
- 1 reply
-
- upload
- prestashop 1.6.0.6
-
(and 2 more)
Tagged with:
-
I'm setting up my first prestashop site and would like to enable URL friendly URLS but I am on a windows 2008 server. So far, on the server I created a web config, and tried to convert .htaccess files that I've seen posted on other listings... I havent studied up on regex before, so I was wondering if anyone could share some rules so that the rest of my site works... having trouble with pages like: /prices-drop /order /order?step=1 /best-sales So basically I have products pages working, category pages, images. The below is all working, and I am happy to share: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <outboundRules> <preConditions> <preCondition name="ResponseIsHtml1"> <add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" /> </preCondition> </preConditions> </outboundRules> <rules> <clear /> <rule name="product"> <match url="([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$" /> <conditions logicalGrouping="MatchAll" trackAllCaptures="false" /> <action type="Rewrite" url="product.php?id_product={R:2}" /> </rule> <rule name="product home"> <match url="([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$" /> <conditions logicalGrouping="MatchAll" trackAllCaptures="false" /> <action type="Rewrite" url="product.php?id_product={R:1}{R:3}" /> </rule> <rule name="images"> <match url="([a-z0-9]+)-([a-z0-9]+)(-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*).jpg" /> <conditions logicalGrouping="MatchAll" trackAllCaptures="false" /> <action type="Rewrite" url="/img/p/{R:1}-{R:2}{R:3}.jpg" appendQueryString="false" /> </rule> <rule name="image1"> <match url="([0-9]+)-([0-9]+)/([_a-zA-Z0-9-]*).jpg" /> <conditions logicalGrouping="MatchAll" trackAllCaptures="false" /> <action type="Rewrite" url="/img/p/{R:1}-{R:2}.jpg" /> </rule> <rule name="Category" enabled="true"> <match url="^([0-9]+)\-([a-zA-Z0-9-]*)" /> <conditions logicalGrouping="MatchAll" trackAllCaptures="false"> </conditions> <action type="Rewrite" url="category.php?id_category={R:1}" /> </rule> </rules> </rewrite> </system.webServer> </configuration> thanks steve
-
Hosting Prestashop on IIS, I get write access exception about Cache and Compile Smarty folders. Looking at exceptions I can notice that the file path where prestashop go to write is generated mixing slash and backslash(/ \), look below: Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file C:\inetpub\prestashop\Negozio1/cache/smarty/compile\5c\2f\55\wrt53df99bb95d018.79536926' in C:\inetpub\prestashop\Negozio1\tools\smarty\sysplugins\smarty_internal_write_file.php:44 Stack trace: #0 C:\inetpub\prestashop\Negozio1\tools\smarty\sysplugins\smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('C:\inetpub\pres...', 'compileTemplateSource() #2 C:\inetpub\prestashop\Negozio1\classes\controller\AdminController.php(1936): Smarty_Internal_TemplateBase->fetch('controllers/mod...') #3 C:\inetpub\prestashop\Negozio1\classes\controller\AdminController.php(2337): AdminControllerCore->initModal() #4 C:\inetpub\prestashop\Negozio1\classes\controller\Controller.php(163): AdminControllerCore->init() #5 C:\inetpub\prestashop\Negozio1\classes\Dispatcher.php(373): Cont in C:\inetpub\prestashop\Negozio1\tools\smarty\sysplugins\smarty_internal_write_file.php on line 44 I think that smarty_internal_write_file.php code need to be fixed for running on IIS for Windows Server! Anyone has solved this problem? Thanks!
-
I have v 1.5.5 with multistore enabled installed on a windows server running IIS 6. When I select a different store from the "Multistore configuration for" dropdown list the page refreshes and the default shop is always displayed in the dropdown. I see the url changes ( &setShopContext=s-2 ) based on the store selected but I can't configure for anything other than the default shop. I have tried this in different areas (products, themes) with the same result. Suggestions?
-
Hi all, i have 4 cache options in my prestashop 1.5.4.1 : - memcached - apc - xcache - filesystem The system is running on an windows server. The php version is 5.5, where opcache is included. How can i choose opcache for prestashop? Any ideas?
-
I have installed PrestaShop on IIS server using Plesk to a root folder of a domain - it installed without any apparent issue Once I open the site, I get a bunch of similar errors: PHP Warning: file_exists(): open_basedir restriction in effect. File(C:\inetpub\vhosts\pharmamalta.com\httpdocs/themes/default/modules/blocksearch/C:\inetpub\vhosts\pharmamalta.com\httpdocs/modules/blocksearch/blocksearch-top.tpl) is not within the allowed path(s): (C:/inetpub/vhosts/pharmamalta.com\;C:\Windows\Temp\) in C:\inetpub\vhosts\pharmamalta.com\httpdocs\classes\Tools.php on line 1380 I found that php.ini needs to be altered to have the following settings: extension = php_mysql.dll extension = php_gd2.dll allow_url_fopen = On register_globals = Off magic_quotes_gpc = Off allow_url_include = Off My server had these settings before installation. Any idea how to fix this?
- 2 replies
-
- open_basedir
- restriction in effect
-
(and 1 more)
Tagged with:
-
Buenas tardes, realize una migracion de apache 2.4 a IIS 7 y ahora cuando intento loguiar en el siitio me muestra este error el debug Fatal error: Call to a member function set() on a non-object in classes\cache\CacheMemcache.php on line 156 luego de analizar me di cuenta que antes tenia habilitada las funciones de memcached y cache que se instalaron en el PHP que tenia con el APACHE ahroa como uso el CGI PHP con IIS 7.5 crei que era por la extensión, la agregue al PHP del IIS pero sigue sin funcionar, este mensaje me aparece en muchas partes incluso desde el back-off cuando trato de desactivar en la opcion de rendimiento lo del cache. la URL de mi sitio esta en la firma y esta publico tengo el debuglog activado por favor si alguien me podria ayudar con esto. gracias
-
So this is what we get from a brand new fresh install on a cloud server which is at gearhost. The install worked just fine and completed but upon trying to access the store or admin it shows this. I have read some issues now after researching that UNC style path doesn't work with prostashop although I cant find that confirmed from any official source. Is it possible to get confirmation of this or anybody know why this is not working? Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file '\\CSCLUSTER02\CLOUDSITES\005067\astrohomestore.com\webroot/modules/favoriteproducts/views/templates/hook/favoriteproducts-header.tpl'' in \\CSCLUSTER02\CLOUDSITES\005067\astrohomestore.com\webroot\tools\smarty\sysplugins\smarty_internal_templatebase.php:127 Stack trace: #0 \\CSCLUSTER02\CLOUDSITES\005067\astrohomestore.com\webroot\classes\module\Module.php(1690): Smarty_Internal_TemplateBase->fetch() #1 \\CSCLUSTER02\CLOUDSITES\005067\astrohomestore.com\webroot\modules\favoriteproducts\favoriteproducts.php(105): ModuleCore->display('\\CSCLUSTER02\C...', 'favoriteproduct...') #2 \\CSCLUSTER02\CLOUDSITES\005067\astrohomestore.com\webroot\classes\Hook.php(473): FavoriteProducts->hookDisplayHeader(Array) #3 \\CSCLUSTER02\CLOUDSITES\005067\astrohomestore.com\webroot\classes\controller\FrontController.php(428): HookCore::exec('displayHeader') #4 \\CSCLUSTER02\CLOUDSITES\005067\astrohomestore.com\webroot\controllers\front\IndexControlle in \\CSCLUSTER02\CLOUDSITES\005067\astrohomestore.com\webroot\tools\smarty\sysplugins\smarty_internal_templatebase.php on line 127
- 3 replies
-
- fresh install
- iis
-
(and 2 more)
Tagged with:
-
Bonjour, Je n'ai pas encore installé prestashop. J'ai besoin savoir si on peut l'installer sur un serveur IIS 7 (windowsWebServer2008) (On a des sites web faits par WordPress et Joomla (donc php et MySql)) Je ne vois rien sur cela dans "Guide de démarrage pour PrestaShop 1.4". On ne parle qu’Apache Web Server. Est ce qu'il y a des informations (sur IIS) dans vos guides ? Sinon où je peux les trouver... Où je peux trouver les templates gratuits pour prestashop ? Merci
-
Hi I got trouble to get canonical url working in prestashop v1.5.3.1 on IIS 7.5 webserver My Setup Prestashop v 1.5.3.1 (installed in folder /prestashop/ ) Webserver IIS 7.5 on win 7 IIS url rewrite add-on is installed http://www.iis.net/downloads/microsoft/url-rewrite Short url activated in prestashop ( the .htaccess file exist) Web.config modified The short url are ok to display product and category but sadly i cant get any picture working, i think my problem is linked to a rewrite url rule here is my web.config <rewrite> <rules> <rule name="Imported Rule 1" stopProcessing="true"> <match url="^api/?(.*)$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/webservice/dispatcher.php?url={R:1}" appendQueryString="true" /> </rule> <rule name="Imported Rule 2" stopProcessing="true"> <match url="^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}-{R:2}{R:3}{R:4}.jpg" logRewrittenUrl="true" /> </rule> <rule name="Imported Rule 3" stopProcessing="true"> <match url="^([0-9]+)\-([0-9]+)(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}-{R:2}{R:3}.jpg" /> </rule> <rule name="Imported Rule 4" stopProcessing="true"> <match url="^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}/{R:1}{R:2}{R:3}.jpg" /> </rule> <rule name="Imported Rule 5" stopProcessing="true"> <match url="^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}/{R:2}/{R:1}{R:2}{R:3}{R:4}.jpg" /> </rule> <rule name="Imported Rule 6" stopProcessing="true"> <match url="^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}/{R:2}/{R:3}/{R:1}{R:2}{R:3}{R:4}{R:5}.jpg" /> </rule> <rule name="Imported Rule 7" stopProcessing="true"> <match url="^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}/{R:2}/{R:3}/{R:4}/{R:1}{R:2}{R:3}{R:4}{R:5}{R:6}.jpg" /> </rule> <rule name="Imported Rule 8" stopProcessing="true"> <match url="^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}/{R:2}/{R:3}/{R:4}/{R:5}/{R:1}{R:2}{R:3}{R:4}{R:5}{R:6}{R:7}.jpg" /> </rule> <rule name="Imported Rule 9" stopProcessing="true"> <match url="^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}/{R:2}/{R:3}/{R:4}/{R:5}/{R:6}/{R:1}{R:2}{R:3}{R:4}{R:5}{R:6}{R:7}{R:8}.jpg" /> </rule> <rule name="Imported Rule 10" stopProcessing="true"> <match url="^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}/{R:2}/{R:3}/{R:4}/{R:5}/{R:6}/{R:7}/{R:1}{R:2}{R:3}{R:4}{R:5}{R:6}{R:7}{R:8}{R:9}.jpg" /> </rule> <rule name="Imported Rule 11" stopProcessing="true"> <match url="^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}/{R:2}/{R:3}/{R:4}/{R:5}/{R:6}/{R:7}/{R:8}/{R:1}{R:2}{R:3}{R:4}{R:5}{R:6}{R:7}{R:8}{R:9}{R:1}0.jpg" /> </rule> <rule name="Imported Rule 12" stopProcessing="true"> <match url="^c/([0-9]+)(\-[_a-zA-Z0-9-\.*]*)(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/c/{R:1}{R:2}{R:3}.jpg" /> </rule> <rule name="Imported Rule 13" stopProcessing="true"> <match url="^c/([a-zA-Z-]+)(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/c/{R:1}{R:2}.jpg" /> </rule> <rule name="Imported Rule 14" stopProcessing="true"> <match url="^.*$" /> <conditions logicalGrouping="MatchAny"> <add input="{REQUEST_FILENAME}" matchType="IsFile" pattern="" ignoreCase="false" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" pattern="" ignoreCase="false" /> </conditions> <action type="None" /> </rule> <rule name="Imported Rule 15" stopProcessing="true"> <match url="^.*$" /> <action type="Rewrite" url="/prestashop/index.php" /> </rule> </rules> </rewrite> this image link is down it doesnt display anything (error 404) <img width="124" height="124" alt="" src="http://localhost:83/prestashop/15-home_default/ipod-nano.jpg"> this product link is ok http://localhost:83/prestashop/musique-ipods/1-ipod-nano.html How can i solve this picture display bug ? Thanks @+
- 3 replies
-
- rewrite url
- web.config
-
(and 1 more)
Tagged with:
-
Bonjour Je n'arrive pas à faire fonctionner les url simplifiées dans prestashop v1.5.3.1 sur un serveur IIS 7.5 version prestashop 1.5.3.1 (installé dans le dossier /prestashop/ ) serveur IIS 7.5 sur win 7 le module de ré écriture d'url pour iis installé http://www.iis.net/d...oft/url-rewrite url simplifiée activé dans prestashop (.htaccess existe) web.config modifié Les liens d'url simplifiés fonctionnent (accès produits + catégories OK) par contre aucune image n'est visible, je pense que cela provient d'une règle de redirection d'url concernant les images voici un extrait de mon web.config <rewrite> <rules> <rule name="Imported Rule 1" stopProcessing="true"> <match url="^api/?(.*)$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/webservice/dispatcher.php?url={R:1}" appendQueryString="true" /> </rule> <rule name="Imported Rule 2" stopProcessing="true"> <match url="^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}-{R:2}{R:3}{R:4}.jpg" logRewrittenUrl="true" /> </rule> <rule name="Imported Rule 3" stopProcessing="true"> <match url="^([0-9]+)\-([0-9]+)(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}-{R:2}{R:3}.jpg" /> </rule> <rule name="Imported Rule 4" stopProcessing="true"> <match url="^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}/{R:1}{R:2}{R:3}.jpg" /> </rule> <rule name="Imported Rule 5" stopProcessing="true"> <match url="^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}/{R:2}/{R:1}{R:2}{R:3}{R:4}.jpg" /> </rule> <rule name="Imported Rule 6" stopProcessing="true"> <match url="^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}/{R:2}/{R:3}/{R:1}{R:2}{R:3}{R:4}{R:5}.jpg" /> </rule> <rule name="Imported Rule 7" stopProcessing="true"> <match url="^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}/{R:2}/{R:3}/{R:4}/{R:1}{R:2}{R:3}{R:4}{R:5}{R:6}.jpg" /> </rule> <rule name="Imported Rule 8" stopProcessing="true"> <match url="^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}/{R:2}/{R:3}/{R:4}/{R:5}/{R:1}{R:2}{R:3}{R:4}{R:5}{R:6}{R:7}.jpg" /> </rule> <rule name="Imported Rule 9" stopProcessing="true"> <match url="^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}/{R:2}/{R:3}/{R:4}/{R:5}/{R:6}/{R:1}{R:2}{R:3}{R:4}{R:5}{R:6}{R:7}{R:8}.jpg" /> </rule> <rule name="Imported Rule 10" stopProcessing="true"> <match url="^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}/{R:2}/{R:3}/{R:4}/{R:5}/{R:6}/{R:7}/{R:1}{R:2}{R:3}{R:4}{R:5}{R:6}{R:7}{R:8}{R:9}.jpg" /> </rule> <rule name="Imported Rule 11" stopProcessing="true"> <match url="^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/p/{R:1}/{R:2}/{R:3}/{R:4}/{R:5}/{R:6}/{R:7}/{R:8}/{R:1}{R:2}{R:3}{R:4}{R:5}{R:6}{R:7}{R:8}{R:9}{R:1}0.jpg" /> </rule> <rule name="Imported Rule 12" stopProcessing="true"> <match url="^c/([0-9]+)(\-[_a-zA-Z0-9-\.*]*)(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/c/{R:1}{R:2}{R:3}.jpg" /> </rule> <rule name="Imported Rule 13" stopProcessing="true"> <match url="^c/([a-zA-Z-]+)(-[0-9]+)?/.+\.jpg$" ignoreCase="false" /> <action type="Rewrite" url="/prestashop/img/c/{R:1}{R:2}.jpg" /> </rule> <rule name="Imported Rule 14" stopProcessing="true"> <match url="^.*$" /> <conditions logicalGrouping="MatchAny"> <add input="{REQUEST_FILENAME}" matchType="IsFile" pattern="" ignoreCase="false" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" pattern="" ignoreCase="false" /> </conditions> <action type="None" /> </rule> <rule name="Imported Rule 15" stopProcessing="true"> <match url="^.*$" /> <action type="Rewrite" url="/prestashop/index.php" /> </rule> </rules> </rewrite> voici un lien d'image qui pose problème <img width="124" height="124" alt="" src="http://localhost:83/prestashop/15-home_default/ipod-nano.jpg"> un lien de produit ok http://localhost:83/prestashop/musique-ipods/1-ipod-nano.html Comment modifier le web.config pour que les images soient affichées ? Merci d'avance @+
- 1 reply
-
- 1
-
- IIS
- web.config
-
(and 1 more)
Tagged with:
-
Que tal comunidad, El dia de hoy me encontrado con un problema que me esta causando dolor de cabeza, ya que no puedo publicar mi tienda en un subdominio, ya antes habia publicado una tienda con prestashop 1.4.8 y no tuve problemas mayores, solo edite el archivo settings.inc.php... Pero ahora me doy cuenta de que prestashop 1.5.4 no tiene la misma configuracion en ese archivo, estoy pensando que la siguiente linea es la que causa el problema(prestashop 1.5.4 no la tiene) define('__PS_BASE_URI__', '/prestashop/'); Alguien podria ayudarme??? Saludos!
- 7 replies
-
- ps_base_uri
- IIS
-
(and 1 more)
Tagged with:
-
Hello, We're trying to install Prestashop on a Windows environment without success. After installing the product, we delete "install" directory and rename "admin" folder to "adminshop" as required to make Prestashop work. During the installation no errors or problems were noticed (all parameters were OK/green), apart from two parameters: - allow_url_fopen is NOT allowed; - magic quotes is NOT deactivated. We have no power on this, we can't manage php.ini file because we are on a Windows shared hosting solution. After that, WITHOUT us doing ANYTHING, if we just try to open the homepage of the just installed shop we get the error (web root is \\WAGNER\wwwroot$\3e1cdb6dd.hostnd\htdocs\windows\): SmartyException' with message 'Unable to load template file '\\WAGNER\wwwroot$\3e1cdb6dd.hostnd\htdocs\windows/modules/favoriteproducts/views/templates/hook/favoriteproducts-header.tpl'' in \\WAGNER\wwwroot$\3e1cdb6dd.hostnd\htdocs\windows\tools\smarty\sysplugins\smarty_internal_templatebase.php:127 If we open the Admin, we can see the admin homepage and we can access to SOME admin modules, but the most of them are unaccessible due to the same error in smarty_internal_templatebase.php:127. These are the results of Smarty's testInstall(): Smarty Installation test... Testing template directory... FAILED: \\WAGNER\wwwroot$\3e1cdb6dd.hostnd\htdocs\windows/themes/default/tpl\ does not exist. Testing compile directory... \\WAGNER\wwwroot$\3e1cdb6dd.hostnd\htdocs\windows\cache\smarty\compile is OK. Testing plugins directory... \\WAGNER\wwwroot$\3e1cdb6dd.hostnd\htdocs\windows\tools\smarty\plugins is OK. Testing cache directory... \\WAGNER\wwwroot$\3e1cdb6dd.hostnd\htdocs\windows\cache\smarty\cache is OK. Testing configs directory... FAILED: \\WAGNER\wwwroot$\3e1cdb6dd.hostnd\htdocs\windows/tools/smarty/configs\ does not exist. Testing sysplugin files... ... OK Testing plugin files... ... OK Tests complete. This have been made before line 127 in smarty_internal_templatebase.php. We know it can't find Template directory and Smarty's "configs" directory, but what can we do? It doesn't make sense to create those folders but it doesn't make sense that after installation completed those folders have not been created as well, if necessary. Also, we checked another (working) Prestashop installation on Linux where these two folders does not exist at all. Our parameters: PrestaShop ver: 1.5.3.1 (we can't use 1.5.4 because theme is not supported on that version) Server: Windows NT CHERUBINI13 6.1 build 7601 Server API: CGI/FastCGI SERVER_PROTOCOL: HTTP/1.1 SERVER_SOFTWARE: Microsoft-IIS/7.5 We can't access to Admin's system configuration page because we get the error when trying to open it. Thank you for your help.
-
Buenas, Por necesidad tengo que montar un prestashop sobre IIS, sabe alguien si funciona correctamente con iis7 y el modulo url rewrite 2.0 del mismo, al importar las reglas del .htaccess da error, se tendran que crear manualmente probaré y os contare como me va. Si alguien ya lo ha configurado me gustaria saber su opinión. Sino existe una solucion de pago que es Helicon Rewrite 3.0 que funciona correctamente. Gracias.