Jump to content

Problem With Cms Pages


Recommended Posts

Hello everyone,

i have a problem with CMS pages, its my first prestashop ind im newbie about MySQL, i had a 1.5.x version of prestashop and had this problem, now i have 1.6.1.4 version and the same problem. For now i make my shop on localhost.

i bought template on Template monster, i was searching answer for my problem a lot on forum but i didnt find solution for me.

 

I cant make new cms pages, i cant editing existing cms pages or disabling them. I can make new category cms, but than i cant make new cms page on new category. When im editing cms page i have status saved sucefull but nothing happend. When i make new cms page i get this error

INSERT INTO `ps_cms` (`id_cms_category`, `position`, `indexation`, `active`) VALUES ('1', '4', '0', '1')

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

786.         if ($webservice_call && $errno) {787.             $dbg = debug_backtrace();788.             WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);789.         } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {790.             if ($sql) {791.                 throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');792.             }793. 794.             throw new PrestaShopDatabaseException($this->getMsgError());795.         }796.     }

 

Please help ;(

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