Jump to content

[Solved] Customer information page has no lay-out (backend).


Recommended Posts

Prestashop version is 1.6.0.9

 

After upgrading the Prestashop modules, the customer information page (in Prestashop backend) has no lay-out. It's like the page is missing a link to an css-style sheet.

I can still see the data of the customer's record but the page has no lay-out.

 

What is wrong?

 

post-646012-0-32365100-1411398828_thumb.jpg

Edited by SandraDW (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...

Check if there are at least these two lines in source code of the page:

 

<link href="/your_admin_folder/themes/default/css/admin-theme.css" rel="stylesheet" type="text/css"/>
<link href="/your_admin_folder/themes/default/css/overrides.css" rel="stylesheet" type="text/css"/>

Link to comment
Share on other sites

Hello tuk66,
Thank you for your help.
Unfortunatly, none of the two lines are in the source code.
See the copy of the source code below this message (I copied this via Internet Explorer, view source code).
 

How can I add the missing lines? What file should I look for inside my admin folder?
 

Kind regards,

Sandra

 

P.S.: Note: at the end of the source code I see the text "Fatal error".

---------------------------------

 

<

 

div class="leadin"></div>

 

<

 

div id="container-customer">

 

<div class="row">

 

 

<div class="col-lg-6">

 

<div class="panel clearfix">

 

<div class="panel-heading">

 

<i class="icon-user"></i>

John

DOE

[000001]

-

 

<a href="mailto:[email protected]"><i class="icon-envelope"></i>

[email protected]

 

</a>

 

<div class="panel-heading-action">

 

<a class="btn btn-default" href="index.php?controller=AdminCustomers&updatecustomer&id_customer=1&token=70e8ad4637378c05378cd4a76f2938b6">

 

<i class="icon-edit"></i>

Wijzig

 

</a>

 

</div>

 

</div>

 

<div class="form-horizontal">

 

<div class="row">

 

<label class="control-label col-lg-3">Sociale titel</label>

 

<div class="col-lg-9">

 

<p class="form-control-static">Mijnheer</p>

 

</div>

 

</div>

 

<div class="row">

 

<label class="control-label col-lg-3">Leeftijd</label>

 

<div class="col-lg-9">

 

<p class="form-control-static">

44 jaar oud (geboortedatum: 1970-01-15)

 

</p>

 

</div>

 

</div>

 

<div class="row">

 

<label class="control-label col-lg-3">Registratiedatum</label>

 

<div class="col-lg-9">

 

<p class="form-control-static">2013-06-18 14:42:26</p>

 

</div>

 

</div>

 

<div class="row">

 

<label class="control-label col-lg-3">Laatste bezoek</label>

 

<div class="col-lg-9">

 

<p class="form-control-static">2013-06-18 14:42:29</p>

 

</div>

 

</div>

 

<div class="row">

 

<label class="control-label col-lg-3">Taal</label>

 

<div class="col-lg-9">

 

<p class="form-control-static">

English (United States)

 

</p>

 

</div>

 

</div>

 

<div class="row">

 

<label class="control-label col-lg-3">Registraties</label>

 

<div class="col-lg-9">

 

<p class="form-control-static">

 

<span class="label label-success">

 

<i class="icon-check"></i>

Nieuwsbrief

 

</span>

 

 

 

<span class="label label-success">

 

<i class="icon-check"></i>

Opt-in

 

</span>

 

</p>

 

</div>

 

</div>

 

<div class="row">

 

<label class="control-label col-lg-3">Nieuwste update</label>

 

<div class="col-lg-9">

 

<p class="form-control-static">2013-06-18 14:42:26</p>

 

</div>

 

</div>

 

<div class="row">

 

<label class="control-label col-lg-3">Status</label>

 

<div class="col-lg-9">

 

<p class="form-control-static">

 

<span class="label label-success">

 

<i class="icon-check"></i>

Actief

 

</span>

 

</p>

 

</div>

 

</div>

 

</div>

 

</div>

 

<div class="panel">

 

<div class="panel-heading">

 

<i class="icon-file"></i> Bestellingen <span class="badge">1</span>

 

</div>

 

<div class="panel">

 

<div class="row">

 

<div class="col-lg-6">

 

<i class="icon-ok-circle icon-big"></i>

Geldige bestellingen

 

<span class="label label-success">0</span>

Voor een totaal bedrag van 0,00 €

 

</div>

 

<div class="col-lg-6">

 

<i class="icon-exclamation-sign icon-big"></i>

Ongeldige bestellingen

 

<span class="label label-danger">1</span>

 

</div>

 

</div>

 

</div>

 

 

 

<table class="table">

 

<thead>

 

<tr>

 

<th><span class="title_box ">ID</span></th>

 

<th><span class="title_box ">Datum</span></th>

 

<th><span class="title_box ">Betaling</span></th>

 

<th><span class="title_box ">Status</span></th>

 

<th><span class="title_box ">Producten</span></th>

 

<th><span class="title_box ">Totaal uitgegeven</span></th>

 

</tr>

 

</thead>

 

<tbody>

 

<tr onclick="document.location = '?tab=AdminOrders&id_order=1&vieworder&token=d86febecf0d746d494066f8f670795ee'">

 

<td>1</td>

 

<td><a href="?tab=AdminOrders&id_order=1&vieworder&token=d86febecf0d746d494066f8f670795ee">2013-06-18</a></td>

 

<td>Chèque</td>

 

<td>Awaiting cheque payment</td>

 

<td>2</td>

 

<td>626,37 €</td>

 

</tr>

 

</tbody>

 

</table>

 

</div>

 

<div class="panel">

 

<div class="panel-heading">

 

<i class="icon-shopping-cart"></i> Winkelwagens <span class="badge">1</span>

 

</div>

 

<table class="table">

 

<thead>

 

<tr>

 

<th><span class="title_box ">ID</span></th>

 

<th><span class="title_box ">Datum</a></span></th>

 

<th><span class="title_box ">Vervoerder</span></th>

 

<th><span class="title_box ">Totaal</span></th>

 

</tr>

 

</thead>

 

<tbody>

 

<tr onclick="document.location = '?tab=AdminCarts&id_cart=1&viewcart&token=e4810cbcdc2a24b64fd57bc212b867e0'">

 

<td>000001</td>

 

<td>

 

<a href="index.php?tab=AdminCarts&id_cart=000001&viewcart&token=e4810cbcdc2a24b64fd57bc212b867e0">

2013-06-25

 

</a>

 

</td>

 

<td>My carrier</td>

 

<td>0,00 €</td>

 

</tr>

 

</tbody>

 

</table>

 

</div>

 

</div>

 

 

<div class="col-lg-6">

 

<div class="panel">

 

<div class="panel-heading">

 

<i class="icon-eye-close"></i> Prive bericht toevoegen

 

</div>

 

<div class="alert alert-info">Deze notitie zal zichtbaar worden voor alle medewerkers maar niet voor de klant</div>

 

<form id="customer_note" class="form-horizontal" action="ajax.php" method="post" onsubmit="saveCustomerNote(1);return false;" >

 

<div class="form-group">

 

<div class="col-lg-12">

 

<textarea name="note" id="noteContent" onkeyup="$(this).val().length > 0 ? $('#submitCustomerNote').removeAttr('disabled') : $('#submitCustomerNote').attr('disabled', 'disabled')"></textarea>

 

</div>

 

</div>

 

<div class="row">

 

<div class="col-lg-12">

 

<button type="submit" id="submitCustomerNote" class="btn btn-default pull-right" disabled="disabled">

 

<i class="icon-save"></i>

Opslaan

 

</button>

 

</div>

 

</div>

 

<span id="note_feedback"></span>

 

</form>

 

</div>

 

<div class="panel">

 

<div class="panel-heading">

 

<i class="icon-envelope"></i> Berichten <span class="badge">0</span>

 

</div>

 

<p class="text-muted text-center">

John DOE heeft nooit contact gehad met u

 

</p>

 

</div>

 

<div class="panel">

 

<div class="panel-heading">

 

<i class="icon-ticket"></i> Waardebonnen <span class="badge">0</span>

 

</div>

 

<p class="text-muted text-center">

John DOE heeft geen waardebonnen

 

</p>

 

</div>

 

<div class="panel">

 

<div class="panel-heading">

 

<i class="icon-time"></i> Laatste verbindingen

 

</div>

 

<table class="table">

 

<thead>

 

<tr>

 

<th><span class="title_box">Datum</span></th>

 

<th><span class="title_box">Bekeken pagina's</span></th>

 

<th><span class="title_box">Totale tijd</span></th>

 

<th><span class="title_box">Afkomstig van</span></th>

 

<th><span class="title_box">IP Adres</span></th>

 

</tr>

 

</thead>

 

<tbody>

 

<tr>

 

<td>2013-06-18</td>

 

<td>0</td>

 

<td></td>

 

<td>prestashop.com</td>

 

<td>127.0.0.1</td>

 

</tr>

 

</tbody>

 

</table>

 

</div>

 

 

<div class="panel">

 

<div class="panel-heading">

 

<i class="icon-group"></i>

Groepen

 

<span class="badge">1</span>

 

<a class="btn btn-default pull-right" href="index.php?controller=AdminCustomers&updatecustomer&id_customer=1&token=70e8ad4637378c05378cd4a76f2938b6">

 

<i class="icon-edit"></i> Wijzig

 

</a>

 

</div>

 

<table class="table">

 

<thead>

 

<tr>

 

<th><span class="title_box ">ID</span></th>

 

<th><span class="title_box ">Naam</span></th>

 

</tr>

 

</thead>

 

<tbody>

 

<tr onclick="document.location = '?tab=AdminGroups&id_group=3&viewgroup&token=cbeaed37afc3773d9e35c3297265b72d'">

 

<td>3</td>

 

<td>

 

<a href="?tab=AdminGroups&id_group=3&viewgroup&token=cbeaed37afc3773d9e35c3297265b72d">

Customer

 

</a>

 

</td>

 

</tr>

 

</tbody>

 

</table>

 

</div>

 

</div>

 

</div>

 

<div class="row">

 

<div class="col-lg-6">

 

 

</div>

 

<div class="col-lg-6">

 

</div>

 

</div>

 

<div class="row">

 

Fatal error

Link to comment
Share on other sites

  • 3 weeks later...

Hello tuk66,
Sorry for my late reply.
So again: none of the two lines are in the source code. How can I add the missing lines?

What file should I look for inside my Prestashop folders?

I have enabled the debug mode. I have attached a print screen of the error report.
Thank you for your help!

Kind regards,

Sandra

post-646012-0-99017000-1414676653_thumb.jpg

Link to comment
Share on other sites

It is somethnig wrong with the Wishlist block (blockwishlist). In my version, in the /modules/blockwishlist\/WishList.php file and getByIdCustomer() method is:

SELECT w.`id_wishlist`, w.`name`, w.`token`, w.`date_add`, w.`date_upd`, w.`counter`

and in yours:

SELECT w.`id_wishlist`, w.`name`, w.`token`, w.`date_add`, w.`date_upd`, w.`counter`, w.`default`

I suggest to replace this module with the original version from installation archive or https://github.com/PrestaShop/blockwishlist.

Link to comment
Share on other sites

  • 3 weeks later...

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...