bookmarks_public.theme.inc on line 77 undefined function call

bekasu - July 10, 2008 - 14:38
Project:Bookmarks
Version:6.x-1.4-3
Component:Code
Category:bug report
Priority:critical
Assigned:darthclue
Status:closed
Description

Thank you for the timely changes.
I've been comparing code as you tweak things, I have much to learn.

Good news:
Puting the new version of bookmarks 6.x-1.4-3 into my test site helped.
The function not found error for line 233 has been eliminated and the site is generally working again.

New issue:
The following error showed when I access the site, no matter what page i am on.

* warning: include_once(modules/dhtml_menu/dhtml_menu.inc) [function.include-once]: failed to open stream: No such file or directory in C:\www\drupal-6.2\includes\theme.inc on line 587.
* warning: include_once() [function.include]: Failed opening 'modules/dhtml_menu/dhtml_menu.inc' for inclusion (include_path='.;C:\php5\pear') in C:\www\drupal-6.2\includes\theme.inc on line 587.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'theme_dhtml_menu_tree' was given in C:\www\drupal-6.2\includes\theme.inc on line 591.

What i tried:
Adding a menu in bookmarks, error still there.
Adding an item in bookmarks, error still there.

Changed the theme from celju to garland, problem cleared up on the pages.

However,
If I try to change the configuration for the link and make it public,
save the configuration,
and go to >>my account so that I can see it on my profile page, I get the following error:

Fatal error: Call to undefined function _dhtml_get_add_links() in C:\www\drupal-6.2\modules\bookmarks\bookmarks_public.theme.inc on line 77

#1

tomaszx - July 11, 2008 - 09:20
Status:active» reviewed & tested by the community

in bookmarks_public.theme.inc file change the line 77:

from

$add_links = _dhtml_get_add_links();

to:

$add_links = theme('dhtml_get_add_links');

#2

darthclue - July 11, 2008 - 18:59
Assigned to:Anonymous» darthclue
Status:reviewed & tested by the community» fixed

Thanks tomaszx!

1.4.4 fixes this issue.

#3

bekasu - July 11, 2008 - 19:45

Thank you both for your assistance.

Should you ever make it to Texas, I owe ya'll dinner.

#4

darthclue - July 11, 2008 - 20:45

So is now a bad time to point out that I live in Texas? :)

#5

bekasu - July 18, 2008 - 01:06

Never a bad time...
I'm closer to Dallas... where are you?

#6

Anonymous (not verified) - August 1, 2008 - 01:07
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.