HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Problem with calendar entries

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#96607 (In Topic #19177)

Honoured member

When I click on a calendar entry to view its contents I get a critical error, which I've posted below.  Seems like I ran in to this a year or two ago and the solution was to repair my database.  However before I went around messing with my database thought it'd be a good idea to ask first if that is what I should do?

Code

Fatal error:  Call to undefined method database_driver::table_is_locked() in/home/catcom/public_html/site/pages/modules/calendar.phpon
line1557
Critical error - bailing out
This is an error that has been elevated to critical error status because it occurred
during the primary error mechanism reporting system itself (possibly due to it occuring
within the standard output framework). It may be masking a secondary error that occurred
before this, but was never output - if so, it is likely strongly related to this
one, thus fixing this will fix the other.
PHP ERROR [1] Call to undefined method database_driver::table_is_locked() in site/pages/modules/calendar.php
on line 1557 (version: 9.0.6, PHP version: 5.3.22, URL: /index.php?page=calendar&type=view&id=margarita-grill&day=2013-04-08&date=2013-04&back=month)
Stack trace...
File -> '/home/catcom/public_html/sources/failure.php'
Line -> 792
Function -> 'die_html_trace'
Args -> array (
0 => 'PHP ERROR [1] Call to undefined method database_driver::table_is_locked() in
site/pages/modules/calendar.php on line 1557 (version: 9.0.6, PHP version: 5.3.22,
URL: /index.php?page=calendar&type=view&id=margarita-grill&day=2013-04-08&date=2013-04&back=month)',
)
File -> '/home/catcom/public_html/sources/global2.php'
Line -> 1011
Function -> '_fatal_exit'
Args -> array (
0 => 'PHP ERROR [1] Call to undefined method database_driver::table_is_locked() in
site/pages/modules/calendar.php on line 1557',
)
File -> '/home/catcom/public_html/sources/failure.php'
Line -> 224
Function -> 'fatal_exit'
Args -> array (
0 => 'PHP ERROR [1] Call to undefined method database_driver::table_is_locked() in
site/pages/modules/calendar.php on line 1557',
)
File -> '/home/catcom/public_html/sources/global2.php'
Line -> 874
Function -> '_ocportal_error_handler'
Args -> array (
0 => 'error',
1 => 1,
2 => 'Call to undefined method database_driver::table_is_locked()',
3 => 'site/pages/modules/calendar.php',
4 => 1557,
)
File -> '/home/catcom/public_html/sources/global2.php'
Line -> 810
Function -> 'ocportal_error_handler'
Args -> array (
0 => 1,
1 => 'Call to undefined method database_driver::table_is_locked()',
2 => '/home/catcom/public_html/site/pages/modules/calendar.php',
3 => 1557,
)
Function -> 'catch_fatal_errors'
Args -> array (
)
Details here are intended only for the website/system-administrator, not for regular
website users.
»If you are a regular website user, please let the website staff deal with this problem.
Depending on the error, and only if the website installation finished, you may need
to
edit the installation options
(theinfo.phpfile).
ocProducts maintains full documentation for all procedures and tools. These may be
found on the
ocPortal website
. If you are unable to easily solve this problem, we may be contacted from our website
and can help resolve it for you.
ocPortal
is a
CMS
for building websites, developed by ocProducts.

Back to the top
 
Posted
Rating:
#96610
Avatar

In fact, this was a compatibility problem involving this hot fix that I believe you installed:
0001153: Calendar bugs - ocPortal feature tracker

We've made quite a few changes for the next patch release, and an incomplete part of them accidentally made it into this hot fix.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#96611
Avatar

Oh, and I've just updated the hot fix.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#96664

Honoured member

Thank you Chris.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: