Jump to content

Plus de modules lorsqu'un utilisateur est connecté


Recommended Posts

Bonjour à tous,

 

Je suis un super-débutant en prestashop.

 

Le problème est le suivant. Un prestashop, dernière version fonctionnel avec la template par défaut légèrement customisée.

 

Tous va bien sauf que dès qu'un client se connecte et qu'il essaie de retourner sur la page d'accueil, il n'y a plus aucun module qui s'affiche.

 

Mis à part le logo, et le menu du haut.

J'ai téléchargé une template gratuite quia désactivés pas mal de modules à l'installation et là, tout fonctionne.

Je me suis dit, qu'il y avait un module quid evait déconner dans ma template d'origine, j'ai donc désactivés les modules un à un....mais ça ne change rien...

 

Ca fait déjà pas mal d'heures que je passe là dessus et je sèche complétement.

 

Si quelqu'un a une piste....je prends...

 

merci

 

Link to comment
Share on other sites

Unauthorized

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

Additionally, a 401 Unauthorized error was encountered while trying to use an ErrorDocument to handle the request.

 

 

 

il faut un login et un mdp pour accéder  à ta boutique ???

Edited by coeos.pro (see edit history)
Link to comment
Share on other sites

la 17 c'est en fait la première version 1.5  (qui date de septembre 2012) et non la dernière, donc entre les problèmes de la première version et un thème pas forcément compatible, ça peut expliquer certains problèmes.

 

Charge  le thème qui est la 1.5.0.17 ici : http://www.prestashop.com/fr/versions-developpeurs et installe le, mais à mon avis si tu commences avec prestashop vaut mieux commencer avec la dernière version que la  première

  • Like 1
Link to comment
Share on other sites

alors, il n'y a pas d'erreur....

 

D'ailleurs le source est tout ce qu'il y a de plus banal. pas d'erreurs


	
<!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="fr">
	<head>
		<title>Atomic Animals</title>
		<meta name="description" content="Boutique propulsée par PrestaShop" />
		<meta name="keywords" content="boutique, prestashop" />
		<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
		<meta http-equiv="content-language" content="fr" />
		<meta name="generator" content="PrestaShop" />
		<meta name="robots" content="index,follow" />
		<link rel="icon" type="image/vnd.microsoft.icon" href="/img/favicon.ico?1393157962" />
		<link rel="shortcut icon" type="image/x-icon" href="/img/favicon.ico?1393157962" />
		<script type="text/javascript">
			var baseDir = 'http://localhost/';
			var baseUri = 'http://localhost/';
			var static_token = '3b0d12f72285fb464ebb0742064cf9d2';
			var token = '85e50c701986d2afc8a171f7caf9171b';
			var priceDisplayPrecision = 2;
			var priceDisplayMethod = 0;
			var roundMode = 2;
		</script>
		<link href="/themes/default-default/css/grid_prestashop.css" rel="stylesheet" type="text/css" media="all" />
		<link href="/themes/default-default/css/global.css" rel="stylesheet" type="text/css" media="all" />
		<link href="/modules/blockuserinfo/blockuserinfo.css" rel="stylesheet" type="text/css" media="all" />
		<link href="/modules/paypal/css/paypal.css" rel="stylesheet" type="text/css" media="all" />
		<link href="/modules/blocktopmenu/css/superfish-modified.css" rel="stylesheet" type="text/css" media="all" />
			<script type="text/javascript" src="/js/jquery/jquery-1.7.2.min.js"></script>
		<script type="text/javascript" src="/js/jquery/jquery-migrate-1.2.1.js"></script>
		<script type="text/javascript" src="/js/jquery/plugins/jquery.easing.js"></script>
		<script type="text/javascript" src="/js/tools.js"></script>
		<script type="text/javascript" src="/modules/blocktopmenu/js/hoverIntent.js"></script>
		<script type="text/javascript" src="/modules/blocktopmenu/js/superfish-modified.js"></script>
			<script type="text/javascript">/*
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <[email protected]>
*  @copyright  2007-2014 PrestaShop SA
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/



$(document).ready( function() {

	$('#payment_paypal_express_checkout').click(function() {
		$('#paypal_payment_form').submit();
		return false;
	});

	$('#paypal_payment_form').live('submit', function() {
		var nb = $('#quantity_wanted').val();
		var id = $('#idCombination').val();

		$('#paypal_payment_form input[name=quantity]').val(nb);
		$('#paypal_payment_form input[name=id_p_attr]').val(id);
	});

	function displayExpressCheckoutShortcut() {
		var id_product = $('input[name="id_product"]').val();
		var id_product_attribute = $('input[name="id_product_attribute"]').val();

		$.ajax({
			type: "GET",
			url: baseDir+'/modules/paypal/express_checkout/ajax.php',
			data: { get_qty: "1", id_product: id_product, id_product_attribute: id_product_attribute },
			cache: false,
			success: function(result) {
				if (result == '1') {
					$('#container_express_checkout').slideDown();
				} else {
					$('#container_express_checkout').slideUp();
				}
				return true;
			}
		});
	}

	$('select[name^="group_"]').change(function () {
		displayExpressCheckoutShortcut();
	});

	$('.color_pick').click(function () {
		displayExpressCheckoutShortcut();
	});
	
	
			

	var modulePath = 'modules/paypal';
	var subFolder = '/integral_evolution';
	var fullPath = baseDir + modulePath + subFolder;
	var confirmTimer = false;
		
	if ($('form[target="hss_iframe"]').length == 0) {
		if ($('select[name^="group_"]').length > 0)
			displayExpressCheckoutShortcut();
		return false;
	} else {
		checkOrder();
	}

	function checkOrder() {
		confirmTimer = setInterval(getOrdersCount, 1000);
	}

		function getOrdersCount() {
		$.get(
			fullPath + '/confirm.php',
			{ id_cart: '132' },
			function (data) {
				if ((typeof(data) != 'undefined') && (data > 0)) {
					clearInterval(confirmTimer);
					window.location.replace(fullPath + '/submit.php?id_cart=132');
					$('p.payment_module, p.cart_navigation').hide();
				}
			}
		);
	}
	});


</script>
		<link href="http://localhost/css/styles/slimbox2.css'>http://localhost/css/styles/slimbox2.css" rel="stylesheet" type="text/css">
	<script type="text/javascript" src="http://localhost/css/scripts/slimbox2.js"></script>
	</head>
	
	<body id="index" class=" ">
					<div id="page" class="container_9 clearfix">

			<!-- Header -->
			<div id="header" class="grid_9 alpha omega">
				<a id="header_logo" href="http://localhost/" title="Atomic Animals">
					<img class="logo" src="http://localhost/img/logo.jpg?1393157962" alt="Atomic Animals" width="310" height="84"  />
				</a>
				<div id="header_right" class="grid_6 omega">
					
<!-- Block user information module HEADER -->
<div id="header_user" >
	<ul id="header_nav">
				<li id="shopping_cart">
			<a href="http://localhost/commande" title="Voir mon panier" rel="nofollow">Panier :
			<span class="ajax_cart_quantity hidden">0</span>
			<span class="ajax_cart_product_txt hidden">produit</span>
			<span class="ajax_cart_product_txt_s hidden">produits</span>
			<span class="ajax_cart_total hidden">
							</span>
			<span class="ajax_cart_no_product">(vide)</span>
			</a>
		</li>
				<li id="your_account"><a href="http://localhost/mon-compte" title="Voir mon compte client" rel="nofollow">Votre compte</a></li>
	</ul>
	<p id="header_user_info">
		Bienvenue
					<a href="http://localhost/mon-compte" title="Voir mon compte client" class="account" rel="nofollow"><span>Frinnock Bo'Char</span></a>
			<a href="http://localhost/?mylogout=" title="Me déconnecter" class="logout" rel="nofollow">déconnexion</a>
			</p>
</div>
<!-- /Block user information module HEADER -->
	
	<!-- Menu -->
	<div class="sf-contener clearfix">
		<ul class="sf-menu clearfix">
			<li><a href="http://localhost/content/1-livraison">Livraison</a></li>
<li><a href="http://localhost/content/2-mentions-legales">Mentions légales</a></li>

							<li class="sf-search noBack" style="float:right">
					<form id="searchbox" action="http://localhost/recherche" method="get">
						<p>
							<input type="hidden" name="controller" value="search" />
							<input type="hidden" value="position" name="orderby"/>
							<input type="hidden" value="desc" name="orderway"/>
							<input type="text" name="search_query" value="" />
						</p>
					</form>
				</li>
					</ul>
	</div>
	<div class="sf-right"> </div>

	<!--/ Menu -->

				</div>
			</div>

			<div id="columns" class="grid_9 alpha omega clearfix">
				<!-- Left -->
				<div id="left_column" class="column grid_2 alpha">
					
				</div>

				<!-- Center -->
				<div id="center_column" class=" grid_5">
	
	


	
						</div>

<!-- Right -->
				<div id="right_column" class="column grid_2 omega">
					
<div id="paypal-column-block">
	<p><a href="http://localhost/modules/paypal/about.php" rel="nofollow"><img src="/modules/paypal/img/default_logos/FR_vertical_solution_PP.png" alt="PayPal" title="Payer par PayPal" style="max-width: 100%" /></a></p>
</div>

				</div>
			</div>

<!-- Footer -->
			<div id="footer" class="grid_9 alpha omega clearfix">
				
							</div>
		</div>
		</body>
</html>


Link to comment
Share on other sites

Bon, je continue mon petit fil de discussion personnel vu que Vincent est parti manger...

 

Lorsque j'active le thème par mobile du thème par défaut pour les tablettes...tout fonctionne !!!

 

Je penche quand même très beaucoup pour un problème de css...

 

J'attends vos lumières....merci

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...