Fork me on GitHub

Database errors from Host (Latest stable Zikula)  Bottom

  • I just noticed that I'm getting a LOT of these errors in the error.log of the root of my website.

    [08-Jul-2011 06:17:03] DB Error: Column 'pn_cat_id' in field list is ambiguous

    Anyone with an idea why?
  • Seems like two of your modules (or maybe an old one) has that field (pn_cat_id) on two different tables and there's a SQL query not clearly structured that is ambiguous querying that field.

    or maybe a custom script?

    --
    - Mateo T. -
    Mis principios... son mis fines
  • The below is the only entry in the complete Zikula folder in a file called Pntables.php, and is located in the root of my WebLinks folder?

    Code

    // Full table definition
        $pntable['links_categories'] = DBUtil::getLimitedTablename('links_categories');
        $pntable['links_categories_column']     = array ('cat_id'       => 'pn_cat_id',
                                                         'parent_id'    => 'pn_parent_id',
                                                         'title'        => 'pn_title',
                                                         'cdescription' => 'pn_description');




    Edited by mesteele101 on Jul 09, 2011 - 06:23 PM.
  • There was a newer version of Weblinks out so I just updated, and deleted the error log. We'll see how that goes?

    Thanks for pointing me into the right direction...
  • Over an hour and so far and there has been no error log created.
  • 0 users

This list is based on users active over the last 60 minutes.