Jump to content

Detailed Customer View Not Formatting


Recommended Posts

When I go to customers using the drop-down menu and then click on a customer name to view all the customer details, like address, phone number, etc. I get a non-formatted page. The data comes through, but all the CSS and graphical stuff is gone. All the BO "stuff" is gone. At the bottom of the page it says "Fatal error" but I can't find where the broken link is. 

 

I even updated my shop from 1.6.0.9 to 1.6.0.14 to see if running the upgrade would fix the issue, and it didn't. 

 

Anyone have any ideas what is going on? or which file(s) I should be looking for to fix it. I'm not an advanced developer, so I don't completely understand how all the files in Prestashop work, so I'm lost.

 

Here's an image of what I see when viewing customer details: http://www.clipular.com/c/4901106216861696.png?k=KKyfCEmY6zu17bXEIZiFNdWNUQ0

Link to comment
Share on other sites

Sorry for the slow reply, been a busy week. That did give me more info. I haven't had a chance to decipher it yet :) I'm guessing it might have something to do with the Wishlist Module?

 

[PrestaShopDatabaseException]

Unknown column 'w.default' in 'field list'
 

            SELECT w.`id_wishlist`, w.`name`, w.`token`, w.`date_add`, w.`date_upd`, w.`counter`, w.`default`
            FROM `ps_wishlist` w
            WHERE `id_customer` = 62
            AND id_shop = 1
            ORDER BY w.`name` ASC

at line 646 in file classes/db/Db.php

 

641.             WebserviceRequest::getInstance()->setError(500, '
 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
642.         }
643.         elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
644.         {
645.             if ($sql)
646.                 throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
647.             throw new PrestaShopDatabaseException($this->getMsgError());
648.         }
649.     }
650.
651.     /**
Link to comment
Share on other sites

  • 1 year 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...