[Tip] Additional Dropdown Menu for Curve Theme 2.0 RC3

Started by ScopeXL, January 15, 2010, 02:12:21 AM

Previous topic - Next topic

Masterd

Did you followed all steps carefuly? Wich errors do you get?

semyon19

#121
Fatal error: Call to undefined function cache_get_data() in /home/virtwww/w_sdvigpolysov-ru_62a2c6b7/http/Sources/Subs.php on line 4388

If i am back up Subs.php, then on my forum the "logo" is moved on personal info (hello user, avatar, etc).

sdvigpolysov.ru is my forum.

semyon19


semyon19

I am re-install all smf2.0 rc5 files without any mods, and setup all steps, and error is still on forum.

Fatal error: Call to undefined function cache_get_data() in /Sources/Subs.php on line 4200

semyon19

#124
Somebody try to setup this top menu on 2.0? I am dont. Its not worked, its worked with errors.

Fatal error: Call to undefined function cache_get_data() in Sources/Subs.php on line 4337

semyon19

I think this is wrong code in Subs.php by autor.

if (($menu_buttons = cache_get_data('menu_buttons-' . implode('_', $user_info['groups']) . '-' . $user_info['language'], $cacheTime)) === null || time() - $cacheTime <= $modSettings['settings_updated'])

ScopeXL

I don't understand why you would be receiving this error. cache_get_data() is a primary function in Sources/Load.php Open that file and make sure it isn't commented out (maybe from another mod?) and then try and see if you receive that error.

Here is the function from SMF Function DB: http://support.simplemachines.org/function_db/index.php?action=view_function;id=76

Let me know if it works for you.

Rain Forest

Quote from: steve51184 on June 18, 2010, 12:18:25 PM
hi all i've been getting these errors in my error log and have no idea how to fix them:

http://domain.com/index.php?action=search2
8: Undefined index: href
File: /var/www/Themes/default/index.template.php
Line: 618


http://domain.com/index.php?action=search2
8: Undefined index: title
File: /var/www/Themes/default/index.template.php
Line: 619


(i also get the above two errors for http://domain.com/index.php?action=register2)

and here's line 618 and 619:

<a class="', $button['active_button'] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '>
<span class="', isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $button['title'], '</span>



would appreciate any help with this thank you :)

Got the same error.


for title
<span class="', isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $button['title'], '</span>


for href


<a class="', $button['active_button'] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '>


Those errors seem to appear in error log when someone is using the 'search' button/searchbox.

Advertisement: