Forums » Alpha Release Candidate

Tags error

(6 posts)
  • Started 7 months ago by trevorjames
  • Latest reply from trevorjames
  • This topic is closed
  • This topic is resolved

Tags:

  1. 7 months ago # | |

    I'm also getting the following error thrown in our "Tags" area:

    An error has occurred within Omeka's database. In order to see the extended explanation of this error, please enable debugging. If you do not know how to do this, please refer to the Omeka documentation.
    There are no tags to display

    Not sure if this is related to the other issues I'm experiencing?

    http://variantcube.com/omeka/

    Thanks!

    -Trevor James

  2. 6 months ago # | |

    Try turning on debugging to share more-specific error messages. You can do this by editing the config.ini file located in application/config. Set debug.exceptions = true That'll shed some light on what's breaking.

    What versions of PHP and mySQL are you running?

  3. 6 months ago # | |

    Here you go, let me know if you need more ... the error runs long on the page:

    An error occurred within the following SQL statement: Object id #188 Stack Trace: #0 /home/variantc/public_html/omeka/application/libraries/Zend/Db/Statement.php(109): Zend_Db_Statement_Mysqli->_prepare('Object id #188') #1 /home/variantc/public_html/omeka/application/libraries/Zend/Db/Adapter/Mysqli.php(284): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'Object id #188') #2 /home/variantc/public_html/omeka/application/libraries/Zend/Db/Adapter/Abstract.php(261): Zend_Db_Adapter_Mysqli->prepare('Object id #188') #3 /home/variantc/public_html/omeka/application/libraries/Omeka/Db.php(251): Zend_Db_Adapter_Abstract->query('Object id #188', Array) #4 /home/variantc/public_html/omeka/application/libraries/Omeka/Db.php(271): Omeka_Db->query('Object id #188', Array) #5 /home/variantc/public_html/omeka/application/models/TagTable.php(135): Omeka_Db->fetchOne('Object id #188') #6 /home/variantc/public_html/omeka/application/controllers/TagsController.php(125): TagTable->findBy(Array, 'Item', true) #7 /home/variantc/public_html/omeka/application/helpers/Functions.php(939): TagsController->browseAction() #8 /home/variantc/public_html/omeka/application/helpers/Functions.php(875): _make_omeka_request('Tags', 'browse', Array, 'tags') #9 /home/variantc/public_html/omeka/application/helpers/Functions.php(793): _get_recordset(Array, 'tags') #10 /home/variantc/public_html/omeka/application/helpers/Functions.php(759): tags(Array) #11 /home/variantc/public_html/omeka/themes/minimalist/index.php(47): recent_tags() #12 /home/variantc/public_html/omeka/application/libraries/Omeka/View.php(109): include('/home/variantc/...') #13 /home/variantc/public_html/omeka/application/libraries/Zend/View/Abstract.php(768): Omeka_View->_run() #14 /home/variantc/public_html/omeka/application/libraries/Omeka/View/Format/Xhtml.php(66): Zend_View_Abstract->render('/home/variantc/...') #15 /home/variantc/public_html/omeka/application/libraries/Omeka/View/Format/Abstract.php(155): Omeka_View_Format_Xhtml->_render('index.php') #16 /home/variantc/public_html/omeka/application/libraries/Omeka/View.php(140): Omeka_View_Format_Abstract->render() #17 /home/variantc/public_html/omeka/application/libraries/Omeka/Controller/Action.php(552): Omeka_View->renderFormat() #18 /home/variantc/public_html/omeka/application/controllers/IndexController.php(42): Omeka_Controller_Action->render('xhtml', 'index.php') #19 /home/variantc/public_html/omeka/application/libraries/Zend/Controller/Action.php(497): IndexController->homeAction('index.php') #20 /home/variantc/public_html/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(237): Zend_Controller_Action->dispatch() #21 /home/variantc/public_html/omeka/application/libraries/Zend/Controller/Front.php(911): Zend_Controller_Dispatcher_Standard->dispatch('homeAction') #22 /home/variantc/public_html/omeka/application/core/dispatch.php(2):

  4. 6 months ago # | |

    MySQL version: 5.0.37-standard-log

    PHP version: 5.1.6

    -Trevor

  5. 6 months ago # | |

    Hi, the first thing I noticed was that you are running a version of PHP that we don't support. Omeka requires PHP 5.2.x in order to run properly. The error that you see comes from an obscure bug for a section of code that works completely in PHP versions > 5.2 but fails in lower versions. I would advise upgrading to PHP 5.2 (I think the newest version is 5.2.4 or 5.2.5) because we won't be able to support older versions.

    My hunch is that the error you were having with adding images is also related to this.

    -Kris

  6. 6 months ago # | |

    Thanks. I'll try upgrading to PHP 5.2.

    -Trevor

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.