Loading...
 

Tikiwiki-devel (mailman list mirror)


Cant update "Show page title" property on trunk

posts: 18 Pakistan

On trunk, when I am trying to update "Show page title" via wiki page
properties, its throwing:

Fatal error: Uncaught TikiDb_Exception: Unknown column 'comment' in 'field
list' in \trunk\lib\core\TikiDb\Exception.php:15 Stack trace: #0
\trunk\lib\core\TikiDb.php(176): TikiDb_Exception::classify('Unknown column
...') #1 \trunk\lib\core\TikiDb\Pdo.php(127):
TikiDb->handleQueryError('INSERT INTO `ti...', Array, false, 'exception')

  1. 2 \trunk\lib\core\TikiDb.php(84): TikiDb_Pdo->query('INSERT INTO `ti...',

Array, -1, -1, 'exception') #3 \trunk\lib\core\TikiDb\Table.php(56):
TikiDb->queryException('INSERT INTO `ti...', Array) #4
\trunk\lib\attributes\attributelib.php(98):
TikiDb_Table->insertOrUpdate(Array, Array) #5
\trunk\lib\wiki\wikilib.php(1607): AttributeLib->set_attribute('wiki page',
'HomePage', 'tiki.wiki.page_...', -1) #6 \trunk\tiki-editpage.php(1341):
WikiLib->set_page_hide_title('HomePage', -1) #7 \{main\} thrown in
\trunk\lib\core\TikiDb\Exception.php on line 15

Regards
Amna Bilal

Hi,
I can't reproduce this with trunk r65575. Are you sure your database schema is up-to-date (all "patches" applied)? If so, what is the SQL query triggering that error?

>De : amna usman mailto:amnausman@gmail.com
>Envoyé : 13 mars 2018 08:41
>À : Tiki developers <TikiWiki-devel@lists.sourceforge.net>
>Cc : Bilal Siddiq <bilalsiddiq@gmail.com>
>Objet : Tiki-devel Cant update "Show page title" property on trunk
>
>On trunk, when I am trying to update "Show page title" via wiki page properties, its throwing:
>
>Fatal error: Uncaught TikiDb_Exception: Unknown column 'comment' in 'field list' in \trunk\lib\core\TikiDb\Exception.php:15 Stack trace: #0 \trunk\lib\core\TikiDb.php(176): TikiDb_Exception::classify('Unknown column ...') #1 \trunk\lib\core\TikiDb\Pdo.php(127): TikiDb->handleQueryError('INSERT INTO `ti...', Array, false, 'exception') #2 \trunk\lib\core\TikiDb.php(84): TikiDb_Pdo->query('INSERT INTO `ti...', Array, -1, -1, 'exception') #3 \trunk\lib\core\TikiDb\Table.php(56): TikiDb->queryException('INSERT INTO `ti...', Array) #4 \trunk\lib\attributes\attributelib.php(98): TikiDb_Table->insertOrUpdate(Array, Array) #5 \trunk\lib\wiki\wikilib.php(1607): AttributeLib->set_attribute('wiki page', 'HomePage', 'tiki.wiki.page_...', -1) #6 \trunk\tiki-editpage.php(1341): WikiLib->set_page_hide_title('HomePage', -1) #7 \{main\} thrown in \trunk\lib\core\TikiDb\Exception.php on line 15
>
>Regards
>
>Amna Bilal
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
TikiWiki-devel mailing list
TikiWiki-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

Yes, you were right. Updating db schema solved problem. Thanks alot.

Regards

Amna Bilal

Chief Technology Officer
Genex Business Solutions
http://www.genexbs.com | http://www.marts.pk | http://www.iLahore.com


On Wed, Mar 14, 2018 at 6:34 PM, Cloutier, Philippe (DGARI-Consultant) <
Philippe.Cloutier.externe at mern-mffp.gouv.qc.ca> wrote:

> Hi,
> I can't reproduce this with trunk r65575. Are you sure your database
> schema is up-to-date (all "patches" applied)? If so, what is the SQL query
> triggering that error?
>
> >De : amna usman mailto:amnausman@gmail.com
> >Envoyé : 13 mars 2018 08:41
> >À : Tiki developers <TikiWiki-devel@lists.sourceforge.net>
> >Cc : Bilal Siddiq <bilalsiddiq@gmail.com>
> >Objet : Tiki-devel Cant update "Show page title" property on trunk
> >
> >On trunk, when I am trying to update "Show page title" via wiki page
> properties, its throwing:
> >
> >Fatal error: Uncaught TikiDb_Exception: Unknown column 'comment' in
> 'field list' in \trunk\lib\core\TikiDb\Exception.php:15 Stack trace: #0
> \trunk\lib\core\TikiDb.php(176): TikiDb_Exception::classify('Unknown
> column ...') #1 \trunk\lib\core\TikiDb\Pdo.php(127):
> TikiDb->handleQueryError('INSERT INTO `ti...', Array, false, 'exception')
> #2 \trunk\lib\core\TikiDb.php(84): TikiDb_Pdo->query('INSERT INTO
> `ti...', Array, -1, -1, 'exception') #3 \trunk\lib\core\TikiDb\Table.php(56):
> TikiDb->queryException('INSERT INTO `ti...', Array) #4
> \trunk\lib\attributes\attributelib.php(98): TikiDb_Table->insertOrUpdate(Array,
> Array) #5 \trunk\lib\wiki\wikilib.php(1607): AttributeLib->set_attribute('wiki
> page', 'HomePage', 'tiki.wiki.page_...', -1) #6
> \trunk\tiki-editpage.php(1341): WikiLib->set_page_hide_title('HomePage',
> -1) #7 \{main\} thrown in \trunk\lib\core\TikiDb\Exception.php on line 15
> >
> >Regards
> >
> >Amna Bilal
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel


Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.