communica Posted March 13, 2012 Share Posted March 13, 2012 Bonjour j ai voulu passer ma boutique en local , car en ligne je perd trop de temps lors de la créations des catégories / sous catégories / produits/ personnalisation etc de plus la régénération des miniature est impossible chez 1 & 1 si elle sont en trop grand nombre mais voila lors de l'import dans wamp je ne peux plus accéder a la BO ni au front office d'ailleurs ^^ j’obtiens une erreur disant que le lien vers la BD ne peut être établi. "Link to database cannot be established" du coup je vois pas trop comment faire. Link to comment Share on other sites More sharing options...
Johann Posted March 13, 2012 Share Posted March 13, 2012 normal, en local il faut que tu changes certains trucs dans ton fichier /config/settings.inc.php Pour wamp, le user va devenir "root", le mot de passe sera vide (""), le host sera "localhost" et le nom de la base... celui que tu donneras à ta base mysql locale (dans laquelle tu devras importer ta base de chez 1&1. Pour importer la base, tu peux par exemple la sauvegarder via le backoffice (outils, sauvegarder BDD), tu downloades le fichier de sauvegarde en local, tu le dézippes et tu l'importes avec phpmyadmin Link to comment Share on other sites More sharing options...
communica Posted March 13, 2012 Author Share Posted March 13, 2012 merci pour cette réponse rapide. Je teste cela et viens faire mon retour , merci bien ;o) Link to comment Share on other sites More sharing options...
communica Posted March 13, 2012 Author Share Posted March 13, 2012 je viens de faire comme tu le disait un peu plus haut mais il y a un souci lorsque je vais sur le localhost de wamp je clique sur le projet (j ai collé dans le dossier .www le contenu complet de mon site) et importé ma BD par la sauvegarde dans phpmyadmin (par contre elle est en Bz2 et n’était pas prise en compte il faut la dezzippé copier coller exécuter) donc lorsque je clique sur ce lien de projet ben j arrive sur mon site en ligne ^^ et ne suis pas en local du tout. j ai du loupé un truc ^^ Link to comment Share on other sites More sharing options...
Johann Posted March 13, 2012 Share Posted March 13, 2012 ah oui, j'ai oublié quelques trucs en route ! dans ta base de données, dans la table ps_config, tu devras peut-etre changer les valeurs de "PS_SHOP_DOMAIN" et "PS_SHOP_DOMAIN_SSL" en les mettant à "localhost" de meme, dans /config/settings.inc.php, tu dois aussi changer __PS_BASE_URI__ en mettant le chemin local de ton site ("c:\wamp\www\tonsite") ça devrait aller mieux Link to comment Share on other sites More sharing options...
communica Posted March 13, 2012 Author Share Posted March 13, 2012 merci pour l info complémentaire ! j'ai modifié __PS_BASE_URI__ en mettant le chemin local je n ai pas les valeurs PS_SHOP_DOMAIN" et "PS_SHOP_DOMAIN_SSL dans la table ps_config maintenant je reste bien en local mais j'ai une page blanche ^^ quand je pointe directement sur la BO j'ai la boite de dialogue pour me loguer, je rentre les ID / pass que j 'ai sur le site en ligne et cela reviens sur cette boite en boucle ^^ si je met autre chose en ID / pass cela me dit qu'aucun employé n'est connue sous ce nom. mais avec les bon ID cela ne menne nulle part et reviens sur cette boite de login. il manque un truc ! Link to comment Share on other sites More sharing options...
Johann Posted March 13, 2012 Share Posted March 13, 2012 tu peux activer l'affichage des erreurs ? dans /config/config.inc.php, tu mets 'on' au lieu de 'off', ça devrait être plus causant : @ini_set('display_errors', 'off'); Link to comment Share on other sites More sharing options...
communica Posted March 13, 2012 Author Share Posted March 13, 2012 j ai supprimé le .htaccess mais rien n y change. Link to comment Share on other sites More sharing options...
communica Posted March 13, 2012 Author Share Posted March 13, 2012 en activant l'affichage des erreurs ça ne change rien " page blanche" a part dans l'admin ou j ai la boite de login. j ai essayer d’accéder a d'autre page php et la j ai du coup les erreurs qui s'affiche, mais plutôt en rapport au fait que la page n'est pas accessible normalement de cette facon (enfin je pense) ^^ ( ! ) Fatal error: Class 'FrontController' not found in C:\wamp\www\communicaprint\header.php on line 28 Call Stack # Time Memory Function Location 1 0.0094 366688 {main}( ) ..\header.php:0 Link to comment Share on other sites More sharing options...
communica Posted March 13, 2012 Author Share Posted March 13, 2012 par exemple si j’appelle la page cms.php j'obtiens cette erreur : ( ! ) Notice: Undefined variable: img_update_time in C:\wamp\www\communicaprint\tools\smarty\sysplugins\smarty_internal_data.php on line 291 Call Stack #TimeMemoryFunctionLocation 10.0011367216{main}( )..\cms.php:0 20.07584552952FrontControllerCore->run( )..\cms.php:29 30.12586486000CmsControllerCore->preProcess( )..\FrontController.php:63 40.12606486112ToolsCore::display404Error( )..\CMSController.php:77 50.12676495400include( 'C:\wamp\www\communicaprint\404.php' )..\Tools.php:2174 60.12756514008FrontControllerCore->run( )..\404.php:42 70.12756514008FrontController->displayHeader( )..\FrontController.php:64 810.324213724256Smarty->display( )..\FrontController.php:71 910.324213724384Smarty->fetch( )..\Smarty.class.php:383 1010.324413728152Smarty_Internal_Template->getRenderedTemplate( )..\Smarty.class.php:339 1110.325313729280Smarty_Internal_Template->renderTemplate( )..\smarty_internal_template.php:568 1210.550713862624include( 'C:\wamp\www\communicaprint\tools\smarty\compile\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php' )..\smarty_internal_template.php:433 1310.551013862760Smarty_Internal_Data->getVariable( )..\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php:41 " /> ( ! ) Notice: Undefined variable: img_update_time in C:\wamp\www\communicaprint\tools\smarty\sysplugins\smarty_internal_data.php on line 291 Call Stack #TimeMemoryFunctionLocation 10.0011367216{main}( )..\cms.php:0 20.07584552952FrontControllerCore->run( )..\cms.php:29 30.12586486000CmsControllerCore->preProcess( )..\FrontController.php:63 40.12606486112ToolsCore::display404Error( )..\CMSController.php:77 50.12676495400include( 'C:\wamp\www\communicaprint\404.php' )..\Tools.php:2174 60.12756514008FrontControllerCore->run( )..\404.php:42 70.12756514008FrontController->displayHeader( )..\FrontController.php:64 810.324213724256Smarty->display( )..\FrontController.php:71 910.324213724384Smarty->fetch( )..\Smarty.class.php:383 1010.324413728152Smarty_Internal_Template->getRenderedTemplate( )..\Smarty.class.php:339 1110.325313729280Smarty_Internal_Template->renderTemplate( )..\smarty_internal_template.php:568 1210.550713862624include( 'C:\wamp\www\communicaprint\tools\smarty\compile\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php' )..\smarty_internal_template.php:433 1310.552413862760Smarty_Internal_Data->getVariable( )..\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php:44 " /> Bienvenue, identifiez-vous Votre compte Accueil puis toutes mes catégories et sous catégories etc..... en format texte simple. Link to comment Share on other sites More sharing options...
communica Posted March 13, 2012 Author Share Posted March 13, 2012 j'ai trouvé les valeurs PS_SHOP_DOMAIN" et "PS_SHOP_DOMAIN_SSL dans la table ps_config en lançant une recherche (j'avais pas vu qu il y avais plusieurs pages dsl) j'ai donc bien mis localhost a la place de l'url que ces valeurs contenaient. mais toujours la page blanche. je ne comprend pas pourquoi. Link to comment Share on other sites More sharing options...
communica Posted March 13, 2012 Author Share Posted March 13, 2012 en faisant "examiner l’élément" sur la page localhost/commu.../index.php je peux voir que la pages vierge juste les balises html / header/body/ vide. pourtant la page qui est dans le dossier www de wamp devrait suffire à interpréter la page , pourquoi ai je une page vierge ? il y a l’appel de config.inc.php require(dirname(__FILE__).'/config/config.inc.php'); ControllerFactory::getController('IndexController')->run(); alors pourquoi il n affiche rien ? Link to comment Share on other sites More sharing options...
Johann Posted March 13, 2012 Share Posted March 13, 2012 bon, s'il t'affiche tes catégories, c'est déjà qu'il arrive bien à se connecter à ta base de données. pour les erreurs, je ne vois pas trop... essaie en vidant le cache smarty, c'est à dire en vidant le répertoire /tools/smarty/compile Link to comment Share on other sites More sharing options...
communica Posted March 13, 2012 Author Share Posted March 13, 2012 j ai vidé le cache de smarty mais pas mieux. j'arrive pas a comprendre. smarty fonctionne automatiquement ? pas besoins de l activer dans wamp par exemple ? et pour les catégories, il les affiche seulement si je pointe vers une page du genre cms.php ou autre mais sur index.php rien ^^ totalement vide ! Link to comment Share on other sites More sharing options...
Johann Posted March 13, 2012 Share Posted March 13, 2012 oui, smarty est embarqué dans PS, donc pas de config spécifique à faire. Tu as quelle version de PS ? Quelle version de WAMP ? Link to comment Share on other sites More sharing options...
communica Posted March 13, 2012 Author Share Posted March 13, 2012 cela pourrait il venir de la BD que j importe ? y a t il des option lors de l import a ajouter ou enlever ? ^^ autant de questions ...................... suis paumé là ^^ version PS 1.4.6.2 et wampserver 2.1 Link to comment Share on other sites More sharing options...
Johann Posted March 13, 2012 Share Posted March 13, 2012 non, normalement pas de pb avec ta BD. Tes versions PS et WAMP sont récentes aussi, peu probable que ça vienne de là. Je continue à réfléchir, car là je cale... Link to comment Share on other sites More sharing options...
marty69 Posted March 13, 2012 Share Posted March 13, 2012 bonjour, quand tu fais une copie de ta boutique il faut bien vérifier : - l'url de base (ici localhost) - le dossier racine (/ si tu est à la racine ou /ton_dossier/ si tu es dans un dossier) - désactiver CCC, URLRewrite, et cache (dans preferences->performances et preferences->SEO) - penser à désactiver l'url canonique pour être sur Link to comment Share on other sites More sharing options...
communica Posted March 13, 2012 Author Share Posted March 13, 2012 bonjour marty69 et merci pour les infos, je dois modifier l' url de base avant la sauvegarde ? il ne va pas trouver la BD si je change ces paramètres dans préférences->performances et préférences->SEO et lors du lancement de la sauvegarde je dois cocher comment pour Ignorer les tables de statistiques : Oui Non Les tables suivantes ne seront PAS sauvegardées si vous activez cette option : ps_connections, ps_connections_page, ps_connections_source, ps_guest, ps_statssearch Supprimer les tables existantes durant l'import Oui Non Choisissez cette option pour que le fichier de sauvegarde contienne des instructions demandant la suppression des tables existantes durant la restauration d'une sauvegarde (ie. "DROP TABLE IF EXISTS") merci d'avance Link to comment Share on other sites More sharing options...
communica Posted March 13, 2012 Author Share Posted March 13, 2012 j ai fait les modif que marty69 a decrit puis j'ai resauvegardé la boutique en ligne par la BO. j'ai collé le tout dans phpmyadmin, il y a un DROP TABLE IF EXISTS donc ca a tout remis j ai donc modifié les valeurs PS_SHOP_DOMAIN" et "PS_SHOP_DOMAIN_SSL dans la table ps_config pour les mettre en localhost et j'ai toujours une page blanche mais cette fois j ai les erreurs qui s'affiche et mon arbre de categories / souscategories qui saffiche (non cliquable c juste en texte) voila le code d'erreur ( ! ) Notice: Undefined variable: img_update_time in C:\wamp\www\communicaprint\tools\smarty\sysplugins\smarty_internal_data.php on line 291 Call Stack #TimeMemoryFunctionLocation 10.0010367176{main}( )..\index.php:0 20.08854505352FrontControllerCore->run( )..\index.php:29 30.15986435248FrontController->displayHeader( )..\FrontController.php:64 49.917413630200Smarty->display( )..\FrontController.php:71 59.917413630328Smarty->fetch( )..\Smarty.class.php:383 69.917513634096Smarty_Internal_Template->getRenderedTemplate( )..\Smarty.class.php:339 79.918013635224Smarty_Internal_Template->renderTemplate( )..\smarty_internal_template.php:568 810.139613768528include( 'C:\wamp\www\communicaprint\tools\smarty\compile\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php' )..\smarty_internal_template.php:433 910.139813768664Smarty_Internal_Data->getVariable( )..\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php:41 " /> ( ! ) Notice: Undefined variable: img_update_time in C:\wamp\www\communicaprint\tools\smarty\sysplugins\smarty_internal_data.php on line 291 Call Stack #TimeMemoryFunctionLocation 10.0010367176{main}( )..\index.php:0 20.08854505352FrontControllerCore->run( )..\index.php:29 30.15986435248FrontController->displayHeader( )..\FrontController.php:64 49.917413630200Smarty->display( )..\FrontController.php:71 59.917413630328Smarty->fetch( )..\Smarty.class.php:383 69.917513634096Smarty_Internal_Template->getRenderedTemplate( )..\Smarty.class.php:339 79.918013635224Smarty_Internal_Template->renderTemplate( )..\smarty_internal_template.php:568 810.139613768528include( 'C:\wamp\www\communicaprint\tools\smarty\compile\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php' )..\smarty_internal_template.php:433 910.140513768664Smarty_Internal_Data->getVariable( )..\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php:44 " /> Bienvenue, identifiez-vous Votre compte Panier puis mes categories et souscategories en texte puis une autre erreur dans un tableau ( ! ) Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in C:\wamp\www\communicaprint\classes\Page.php on line 59 Call Stack # Time Memory Function Location 1 0.0010 367176 {main}( ) ..\index.php:0 2 0.0885 4505352 FrontControllerCore->run( ) ..\index.php:29 3 10.5198 13954688 FrontControllerCore->displayFooter( ) ..\FrontController.php:67 4 11.4497 14087616 ModuleCore::hookExec( ) ..\FrontController.php:507 5 11.4592 14179896 call_user_func ( ) ..\Module.php:749 6 11.4592 14179912 StatsData->hookFooter( ) ..\Module.php:0 7 11.5245 14336208 ConnectionCore::setPageConnection( ) ..\statsdata.php:135 8 11.5245 14336320 ConnectionCore::setNewConnection( ) ..\Connection.php:69 9 11.5301 14392536 PageCore::getCurrentId( ) ..\Connection.php:121 10 11.5302 14393168 array_key_exists ( ) ..\Page.php:59 Panier Aucun produit Expédition 0,00 € Total 0,00 € Commander Nouveaux produits Contactez-nous Conditions d'utilisation A propos voila, c'est bizzarre autant qu'etrange Link to comment Share on other sites More sharing options...
marty69 Posted March 14, 2012 Share Posted March 14, 2012 bonjour, non je parlais de faire les modifs sur votre copie en local. avez vous accès au back-office en local ? personnellement je ferais une sauvegarde de la base par phpmyadmin plutot que par l'admin de prestashop... histoire d'être sur... pour être sur aussi : je vois dans votre exemple que votre site en local est dans C:\wamp\www\communicaprint\ dans préférences -> SEO&Urls - votre url de base doit donc bien être localhost et votre dossier de base (PS directory) doit être /communicaprint/ - désactiver Friendly URL (URL rewrite) - mettre redirection canonical à NON dans préférences -> performances : - force compile : oui - cache : non - désactiver tous les CCC (=garder l'original) - utiliser cache (memcached) = non - dans le doute, dans la partie cryptage utilisez blowfish plutôt que mcrypt qui demande que le module php soit installé (sait on jamais) Link to comment Share on other sites More sharing options...
communica Posted March 14, 2012 Author Share Posted March 14, 2012 bonjour, en effet j avais mal compris. non je n ai pas accès à la BO du site en local. j ai la boite de login je rentre les ID et passe et valide, cela reviens a la boite de login. et ne fait pas d 'erreur. en revanche si je met des ID et passe autre cela me revois l'erreur "aucun employé ........". je vais effacer les table dans la BD du site local, faire une sauvegarde par phpmyamin du site en ligne pour le coller au phpmyadmin du local. je reviens après ^^. merci pour le temps pris a résoudre mon problème. Link to comment Share on other sites More sharing options...
communica Posted March 14, 2012 Author Share Posted March 14, 2012 bon lors de l'import de la sauvegarde sur phpmyadmin en local j ai une erreur sur la table _ps_product_lang toutes les autres tables sont à l 'identique de celle de la BD du site en ligne. (je les ai entré 1 par 1) j ai essayé de vider cette table pour y réinsérer les valeurs mais rien n y fait elle reste vide. j'ai cette erreur dans phpmyadmin quand je lance la requete d'insertion de la table ps_product_lang requête SQL: -- -- Contenu de la table `ps_product_lang` -- INSERT INTO `ps_product_lang` (`id_product`, `id_lang`, `description`, `description_short`, `link_rewrite`, `meta_description`, `meta_keywords`, `meta_title`, `name`, `available_now`, `available_later`) VALUES (5, 1, '<p>resumé description produit test 5</p>', '<p>resumé produit test 5</p>', 'produit-test-5', '', '', '', 'produit test 5', '', ''), (5, 2, '<p>resumé description produit test 5</p>', '<p>resumé produit test 5</p>', 'produit-test-5', '', '', '', 'produit test 5', '', ''), (5, 3, '<p>resumé description produit test 5</p>', '<p>resumé produit test 5</p>', 'produit-test-5', '', '', '', 'produit test 5', '', ''), (5, 4, '<p>resumé description produit test 5</p>', '<p>resumé produit test 5</p>', 'produit-test-5', '', '', '', 'produit test 5', '', ''), (5, 5, '<p>resumé description produit test 5</p>', '<p>resumé produit test 5</p>', 'produit-test-5', '', '', '', 'produit test 5', '', ''), (6, 1, '<p>resum�[...] MySQL a répondu: #2006 - MySQL server has gone away Link to comment Share on other sites More sharing options...
marty69 Posted March 14, 2012 Share Posted March 14, 2012 c'est un pb du serveur mysql. dans votre dossier C:\wamp\bin\mysql\mysql5.1.30\my.ini vérifier et modifier la valeur de max_allowed_packet il doit etre d'environ 1M. Essayez 2M ou plus Link to comment Share on other sites More sharing options...
communica Posted March 14, 2012 Author Share Posted March 14, 2012 ok de ce coté la c bon cette fois en allouant 5 M a max_allowed_packet mysql a accepté la table. Donc ma BD est complète et a l'indentique de celle en ligne sauf que j ai changé les valeurs de PS_SHOP_DOMAIN" et "PS_SHOP_DOMAIN_SSL dans la table ps_configuration (mis localhost a la place de l'url de la boutique) et mis le ps_rewirting a 0 (j ai essayer a 1 puis j ai activé dans le menu de wamp dans appache->modules appache->rewrite_module mais c'est pareil) j'ai toujours une page blanche je ne vois pas quoi faire Link to comment Share on other sites More sharing options...
marty69 Posted March 14, 2012 Share Posted March 14, 2012 as tu bien modifié ton dossier de base dans le config.php et/ou dans la base ps_config ? dans le fichier config.inc.php define('__PS_BASE_URI__', '/communicaprint/'); dans la base, la clé PS_BASE_URI enfin dernier recours, vérifie bien les droits d'accès à tes fichiers. Pour la faire très hard, passe tout en 777 (équivalent linux aux droits complets) Link to comment Share on other sites More sharing options...
communica Posted March 14, 2012 Author Share Posted March 14, 2012 je dois mettre C:\wamp\www\communicaprint ou \communicaprint Link to comment Share on other sites More sharing options...
marty69 Posted March 14, 2012 Share Posted March 14, 2012 la racine de ton serveur c'est c:\wamp\www, c'est la ou pointe en théorie ton domaine. Dans le cas du local c'est localhost : quand tu tapes l'adresse http://localhost dans ton navigateur il lis les pages qui sont dans c:\wamp\www si tu as mis ton site dans C:\wamp\www\communicaprint tu dois y accéder par http://localhost/communicaprint mais dans ce cas il faut bien renseigner ton URL de base comme "localhost" et ton dossier de base (PS_BASE_URI) comme étant le dossier "communicaprint". Dans prestashop tu dois le renseigner comme "/communicaprint/" note : le \ et C: est spécifique à windows. dans une architecture réseau on utilise le / Link to comment Share on other sites More sharing options...
communica Posted March 14, 2012 Author Share Posted March 14, 2012 j ai desactivé dans la BD locale le rewriting, et url canonique. j ai a nouveau l'erreur sur la page index.php celle que j avais affiché plus haut dans la discution ( ! ) Notice: Undefined variable: img_update_time in C:\wamp\www\communicaprint\tools\smarty\sysplugins\smarty_internal_data.php on line 291 Call Stack #TimeMemoryFunctionLocation 10.0015367152{main}( )..\index.php:0 20.28574505768FrontControllerCore->run( )..\index.php:29 30.39236435656FrontController->displayHeader( )..\FrontController.php:64 410.535513639240Smarty->display( )..\FrontController.php:71 510.535513639368Smarty->fetch( )..\Smarty.class.php:383 610.535613643136Smarty_Internal_Template->getRenderedTemplate( )..\Smarty.class.php:339 710.536113644264Smarty_Internal_Template->renderTemplate( )..\smarty_internal_template.php:568 810.789413777568include( 'C:\wamp\www\communicaprint\tools\smarty\compile\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php' )..\smarty_internal_template.php:433 910.789813777704Smarty_Internal_Data->getVariable( )..\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php:41 " /> ( ! ) Notice: Undefined variable: img_update_time in C:\wamp\www\communicaprint\tools\smarty\sysplugins\smarty_internal_data.php on line 291 Call Stack #TimeMemoryFunctionLocation 10.0015367152{main}( )..\index.php:0 20.28574505768FrontControllerCore->run( )..\index.php:29 30.39236435656FrontController->displayHeader( )..\FrontController.php:64 410.535513639240Smarty->display( )..\FrontController.php:71 510.535513639368Smarty->fetch( )..\Smarty.class.php:383 610.535613643136Smarty_Internal_Template->getRenderedTemplate( )..\Smarty.class.php:339 710.536113644264Smarty_Internal_Template->renderTemplate( )..\smarty_internal_template.php:568 810.789413777568include( 'C:\wamp\www\communicaprint\tools\smarty\compile\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php' )..\smarty_internal_template.php:433 910.791113777704Smarty_Internal_Data->getVariable( )..\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php:44 " /> ( ! ) Notice: Undefined variable: img_update_time in C:\wamp\www\communicaprint\tools\smarty\sysplugins\smarty_internal_data.php on line 291 Call Stack #TimeMemoryFunctionLocation 10.0015367152{main}( )..\index.php:0 20.28574505768FrontControllerCore->run( )..\index.php:29 30.39236435656FrontController->displayHeader( )..\FrontController.php:64 410.535513639240Smarty->display( )..\FrontController.php:71 510.535513639368Smarty->fetch( )..\Smarty.class.php:383 610.535613643136Smarty_Internal_Template->getRenderedTemplate( )..\Smarty.class.php:339 710.536113644264Smarty_Internal_Template->renderTemplate( )..\smarty_internal_template.php:568 810.789413777568include( 'C:\wamp\www\communicaprint\tools\smarty\compile\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php' )..\smarty_internal_template.php:433 910.792613779272Smarty_Internal_Data->getVariable( )..\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php:105 " alt="Communicaprint.fr" width="993" height="231" /> Bienvenue, identifiez-vous Panier : 0 produit produits 0,00 € (vide) Votre compte Accueil Logo Flyers / Prospectus Création Impréssion Impression Flyers format 10cm x 15 cm Impression Flyers papier 135 g couché brillant Impression Flyers papier 135 g couché demi-mat Impression flyers papier 135 g couché mat Impression Flyers papier 250 g couché brillant Link to comment Share on other sites More sharing options...
marty69 Posted March 14, 2012 Share Posted March 14, 2012 supprime le contenu du dossier C:\wamp\www\communicaprint\tools\smarty\compile\ sauf index.php Link to comment Share on other sites More sharing options...
Johann Posted March 14, 2012 Share Posted March 14, 2012 j'étais un peu débordé, mais je repasse par là... toujours pas réglé et toujours aussi étranges, tes pb ! j'avais pas évoqué les pb de droits en écriture, car normalement en local, il n'y a pas de pb. tiens nous au courant ! Link to comment Share on other sites More sharing options...
communica Posted March 14, 2012 Author Share Posted March 14, 2012 meme en vidant le cache de smarty comme indiqué je n ai toujour que les categories en format texte et des erreur, aucune mise en page. voici les valeurs dans la table ps_configuration 340 __PS_BASE_URI__ /communicaprint et dans le fichier setting.inc.php define('__PS_BASE_URI__', 'localhost'); Link to comment Share on other sites More sharing options...
communica Posted March 14, 2012 Author Share Posted March 14, 2012 et si je met dans le fichier setting.inc.php define('__PS_BASE_URI__', 'C:\wamp\www\communicaprint'); j ai page blanche Link to comment Share on other sites More sharing options...
communica Posted March 14, 2012 Author Share Posted March 14, 2012 j ai enlevé la lecture seule sur le dossier /communicaprint dans /www appliqué à tous les sous dossiers et fichiers. Link to comment Share on other sites More sharing options...
marty69 Posted March 14, 2012 Share Posted March 14, 2012 non ce n'est pas correct. PS_BASE_URI aussi bien en base que dans ton fichier config doit être /cummunicaprint/ (et j'insiste sur les deux /) localhost est le nom de ton serveur : c'est l'adresse de ton serveur web (tes pages html) et de ton serveur base de données dans ton fichier de config tu dois avoir ces lignes : define('__PS_BASE_URI__', '/communicaprint/'); define('_PS_CACHE_ENABLED_', '0'); define('_DB_SERVER_', 'localhost'); Link to comment Share on other sites More sharing options...
communica Posted March 14, 2012 Author Share Posted March 14, 2012 quand je met \communicaprint\ dans les deux j'arrive sur une page d'erreur Not Found The requested URL /communicaprint/fr/ was not found on this server. Link to comment Share on other sites More sharing options...
communica Posted March 14, 2012 Author Share Posted March 14, 2012 pourquoi /fr/ viens s'ajouter ? j ai essayé les / / et \ \ Link to comment Share on other sites More sharing options...
marty69 Posted March 14, 2012 Share Posted March 14, 2012 quand je met \communicaprint\ dans les deux j'arrive sur une page d'erreur il faut mettre /communicaprint/ The requested URL /communicaprint/fr/ was not found on this server. il faut désactiver l'url rewriting a priori tu devrais au moins avoir accès à ton backoffice. Link to comment Share on other sites More sharing options...
communica Posted March 14, 2012 Author Share Posted March 14, 2012 j ai désactivé l url rewrite et c bon cette fois ça affiche la page avec son header et son contenu juste qu il y a une erreur sur la page ( ! ) Notice: Undefined variable: img_update_time in C:\wamp\www\communicaprint\tools\smarty\sysplugins\smarty_internal_data.php on line 291 Call Stack #TimeMemoryFunctionLocation 10.0085368152{main}( )..\category.php:0 20.13074578080FrontControllerCore->run( )..\category.php:29 30.20126813776CategoryControllerCore->displayHeader( )..\FrontController.php:64 40.20126813776FrontController->displayHeader( )..\CategoryController.php:49 510.177913712624Smarty->display( )..\FrontController.php:71 610.177913712752Smarty->fetch( )..\Smarty.class.php:383 710.178013716520Smarty_Internal_Template->getRenderedTemplate( )..\Smarty.class.php:339 810.178913717648Smarty_Internal_Template->renderTemplate( )..\smarty_internal_template.php:568 910.429013850928include( 'C:\wamp\www\communicaprint\tools\smarty\compile\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php' )..\smarty_internal_template.php:433 1010.429413851064Smarty_Internal_Data->getVariable( )..\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php:41 " /> ( ! ) Notice: Undefined variable: img_update_time in C:\wamp\www\communicaprint\tools\smarty\sysplugins\smarty_internal_data.php on line 291 Call Stack #TimeMemoryFunctionLocation 10.0085368152{main}( )..\category.php:0 20.13074578080FrontControllerCore->run( )..\category.php:29 30.20126813776CategoryControllerCore->displayHeader( )..\FrontController.php:64 40.20126813776FrontController->displayHeader( )..\CategoryController.php:49 510.177913712624Smarty->display( )..\FrontController.php:71 610.177913712752Smarty->fetch( )..\Smarty.class.php:383 710.178013716520Smarty_Internal_Template->getRenderedTemplate( )..\Smarty.class.php:339 810.178913717648Smarty_Internal_Template->renderTemplate( )..\smarty_internal_template.php:568 910.429013850928include( 'C:\wamp\www\communicaprint\tools\smarty\compile\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php' )..\smarty_internal_template.php:433 1010.430813851064Smarty_Internal_Data->getVariable( )..\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php:44 " /> ( ! ) Notice: Undefined variable: img_update_time in C:\wamp\www\communicaprint\tools\smarty\sysplugins\smarty_internal_data.php on line 291 Call Stack #TimeMemoryFunctionLocation 10.0085368152{main}( )..\category.php:0 20.13074578080FrontControllerCore->run( )..\category.php:29 30.20126813776CategoryControllerCore->displayHeader( )..\FrontController.php:64 40.20126813776FrontController->displayHeader( )..\CategoryController.php:49 510.177913712624Smarty->display( )..\FrontController.php:71 610.177913712752Smarty->fetch( )..\Smarty.class.php:383 710.178013716520Smarty_Internal_Template->getRenderedTemplate( )..\Smarty.class.php:339 810.178913717648Smarty_Internal_Template->renderTemplate( )..\smarty_internal_template.php:568 910.429013850928include( 'C:\wamp\www\communicaprint\tools\smarty\compile\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php' )..\smarty_internal_template.php:433 1010.433013852688Smarty_Internal_Data->getVariable( )..\10c4ad74c80cb45e0aa6a2b1d24f5bafd5032181.file.header.tpl.php:105 " alt="Communicaprint.fr" width="993" height="231" /> Bienvenue, identifiez-vous Panier : (vide) Votre compte Link to comment Share on other sites More sharing options...
marty69 Posted March 14, 2012 Share Posted March 14, 2012 as tu accès à ton backoffice ? Link to comment Share on other sites More sharing options...
communica Posted March 14, 2012 Author Share Posted March 14, 2012 et j ai enfin acces a la BO du site local il manque plus grand choses Link to comment Share on other sites More sharing options...
communica Posted March 14, 2012 Author Share Posted March 14, 2012 il me semble que cela viens des images en fait Link to comment Share on other sites More sharing options...
marty69 Posted March 14, 2012 Share Posted March 14, 2012 voila c'est bien ce que je pensais. alors maintenant profites en pour tout désactiver dans preferences->performances et preferences->SEO comme indiqué dans les posts précédents. tu devrais retrouver ton site en local. vérifie quand même dans "préférences" tout en bas si smarty 3 est actif. si ton thème ne le supporte pas, coche plutot smarty 2 Link to comment Share on other sites More sharing options...
communica Posted March 14, 2012 Author Share Posted March 14, 2012 donc j ai bien vérifié préférence soe et préférence performance , et pour smarty 2/3 , donc sur le 2 le site a une présentation correcte mais le bloc central contient un tableau d erreur au lieu du texte d’accueil ^^ je vais pas m'en sortir y a toujours un problème derrière le problème ^^ Link to comment Share on other sites More sharing options...
communica Posted March 14, 2012 Author Share Posted March 14, 2012 voila l erreur ( ! ) Fatal error: Smarty error: [in C:\wamp\www\communicaprint/modules/accordionslide/accordionslide.tpl line 28]: syntax error: unrecognized tag: $width/($total+1) (Smarty_Compiler.class.php, line 446) in C:\wamp\www\communicaprint\tools\smarty_v2\Smarty.class.php on line 1095 Call Stack # Time Memory Function Location 1 0.0009 368112 {main}( ) ..\index.php:0 2 0.0762 2284360 FrontControllerCore->run( ) ..\index.php:29 3 2.4513 11765264 IndexControllerCore->process( ) ..\FrontController.php:65 4 2.4513 11765400 ModuleCore::hookExec( ) ..\IndexController.php:40 5 2.4517 11766360 call_user_func ( ) ..\Module.php:749 6 2.4517 11766376 accordionslide->hookHome( ) ..\Module.php:0 7 2.4518 11766376 accordionslide->showCarousel( ) ..\accordionslide.php:275 8 2.4536 11770632 ModuleCore::display( ) ..\accordionslide.php:351 9 2.4540 11771240 Smarty->fetch( ) ..\Module.php:1070 10 2.4541 11812584 Smarty->_compile_resource( ) ..\Smarty.class.php:1286 11 2.4545 11817064 Smarty->_compile_source( ) ..\Smarty.class.php:1447 12 2.4548 11893256 Smarty_Compiler->_compile_file( ) ..\Smarty.class.php:1514 13 2.4633 11918720 Smarty_Compiler->_compile_tag( ) ..\Smarty_Compiler.class.php:312 14 2.4633 11919096 Smarty_Compiler->_syntax_error( ) ..\Smarty_Compiler.class.php:446 15 2.4633 11919192 Smarty->_trigger_fatal_error( ) ..\Smarty_Compiler.class.php:2221 16 2.4634 11919488 Smarty->trigger_error( ) ..\Smarty.class.php:1840 17 2.4634 11919752 trigger_error ( ) ..\Smarty.class.php:1095 Link to comment Share on other sites More sharing options...
communica Posted March 14, 2012 Author Share Posted March 14, 2012 pourquoi y a t il des slash et anti slash dans la meme adresse la par exemple ? Fatal error: Smarty error: [in C:\wamp\www\communicaprint/modules/accordionslide/accordionslide.tpl line 28 Link to comment Share on other sites More sharing options...
marty69 Posted March 14, 2012 Share Posted March 14, 2012 probablement un pb sur ton module. Essaie de désactiver ton module accordionslide Link to comment Share on other sites More sharing options...
communica Posted March 14, 2012 Author Share Posted March 14, 2012 c'est ok si je désactivé le bloc "acordion slider" l'accueil s'affiche correctement et le site également, il semble que tous le catalogue ai été importé et est accessible cette fois. Merci a vous pour le temps pris pour résoudre mon problème, sans vous j'aurais surement abandonné . maintenant je peux enfin me remettre a la création de mes produits ^^ et y a du boulot !!! Store manager peut il gérer un site qui a une BD en local ? je pose la question au cas ou mais je vais chercher, encore merci beaucoup. je pourrais faire un import de la totalité de mon catalogue sur le site en ligne ensuite ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now