vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Today's birthday = ARRAY ... helpp (https://vborg.vbsupport.ru/showthread.php?t=178222)

King Kovifor 05-11-2008 12:51 PM

Add this to your config:

PHP Code:

define('DISABLE_PLUGINS'true); 

Does the problem still persist?

snake-boy 05-11-2008 01:02 PM

Disabled all plugins/products, same result in all styles.

I added:

define('DISABLE_PLUGINS', true);

to config, and same result. I get this on all styles:

http://img182.imageshack.us/img182/4964/arrayty6.jpg

The section in the forumhome template that seems relevant to this looks like this:

PHP Code:

<!-- today's birthdays -->
<tbody>
    <tr>
        <td class="thead" colspan="2">
            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('
forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
            $vbphrase[todays_birthdays]
        </td>
    </tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
    <tr>
        <td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
        <td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
    </tr>
</tbody>
<!-- end today'
s birthdays --> 

I know virtually nothing about php, but it seems to be the problem is wherever the "$birthdays" variable is referring to for data. But I've no clue how to fix that...??

Dismounted 05-11-2008 01:30 PM

KK provided the wrong code, you should try:
PHP Code:

define('DISABLE_HOOKS'true); 


Paul M 05-11-2008 01:32 PM

We got this the other week, it seemed to upset vbseo as well - I think its a bug somewhere in vb but it went away again so I never bothered to investigate further.

Dismounted 05-11-2008 01:37 PM

Cache, maybe? I think birthdays are stored in the datastore.

snake-boy 05-11-2008 01:55 PM

Ok, so how would I clear this cache to repair the problem? I've run all cache updating tools from the update counters page just in case. Suffice to say, no change.

--------------- Added [DATE]1210520040[/DATE] at [TIME]1210520040[/TIME] ---------------

Tried deleting the data in the datastore/birthdaycache table. No change.

I set my test users date of birth to today and noticed that his data WAS added to the datastore/birthdaycache table. But on the forum I still see "ARRAY", regardless.

Help?

Dismounted 05-12-2008 06:46 AM

Try reuploading your vBulletin files.

binevi 05-13-2008 11:08 PM

which files ?

King Kovifor 05-14-2008 01:22 AM

Quote:

Originally Posted by Dismounted (Post 1515960)
KK provided the wrong code, you should try:
PHP Code:

define('DISABLE_HOOKS'true); 


Oops. Thanks for clearifying that one. Shows how much I use it.

Quote:

Originally Posted by binevi (Post 1518853)
which files ?

I believe index.php would handle this. But try uploading all stock vBulletin files. Non-image files should not have to be uploaded.

binevi 05-20-2008 08:56 PM

i reuploaded index file as well as others.. But is still same..

And on groups page instead of group owner's nickname [ARG:3 UNDEFINED] appears in every pages.. any idea ?


All times are GMT. The time now is 04:51 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01874 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete