Closed (fixed)
Project:
Drigg
Version:
5.x-1.24
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2008 at 08:21 UTC
Updated:
14 May 2008 at 06:23 UTC
Fatal error: Call to undefined function: drigg_section_link() in /home/motivthr/public_html/sweetlo/sites/all/themes/drigg_theme/node-drigg.tpl.php on line 21
I get this error when I enable the new drigg theme.
ps: Thanks for fixing the other error, is gone now!
Comments
Comment #1
mercmobily commentedHi,
You will need to rename your theme function.
It's really strange that you are getting the error, because there is a legacy layer there which should work.
However:
'drigg_embedded_contents', 'drigg_embed_contents'
'theme_drigg_sections', 'drigg_ui_sections'
'drigg_get_view_type_menu', 'drigg_ui_type_menu'
'drigg_get_order_menu', 'drigg_ui_order_menu'
'drigg_get_article_menu', 'drigg_ui_article_menu'
'drigg_get_submit_button', 'drigg_ui_submit_button'
'drigg_related_links_get_html', 'drigg_rl_related_links_get_html'
'drigg_get_promote_string', 'drigg_promoted_string'
'drigg_get_created_string', 'drigg_created_string'
Bye,
Merc.
Comment #2
mercmobily commentedHi,
I am assuming the submitter fixed it without confirming.
Please reopen this if the error persisted etc.
Merc.
Comment #3
wwwoliondorcom commentedHi
I got this error in 24 upgrade so I re-installed the 23, where should be changed what you are speaking about in your previous reply?
Thanks a lot.
Comment #4
mercmobily commentedHi,
Those functions are called by the theme. Specifically, page.tpl.php and node-drigg.tpl.php!
Please stay in touch and let us know.
Merc.
Comment #5
mercmobily commentedHi,
Assuming that it's fixed.
Merc.
Comment #6
wwwoliondorcom commentedSorry I didn't have time to test until now but I just installed the latest Drigg 1.31 today and the problem is still here.
Comment #7
mercmobily commentedHi,
wwwoliondorcom , I don't mean to doubt your word, but I really need you to do some _very_ extensive testing and make sure that you upgraded both user_karma, extra_voting_forms and drigg -- properly.
Please specify _exactly_ what "the" problem is (that is, which error message you're getting) and an URL to your site so that I can have a look.
Since 5 people reported it fixed (including me), I tend to think that something went wrong with your upgrade.
Bye,
Merc.
Comment #8
mercmobily commentedHi,
Closing.
Merc.
Comment #9
wwwoliondorcom commentedAfter re-installing all the modules it's now ok, I just needed to change the functions names manually in page.tpl.php.
Is it normal to have to do that and do I have to change anything else in any other file?
Thanks a lot !
Comment #10
mercmobily commentedHi,
It's all good, you shouldn't need any more changes.
Version .24 chanced _everything_ in Drigg. It's basically a rewrite. So, it was a very drastic upgrade...
Merc.
Comment #11
mercmobily commented