vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   i pray that someone can help (https://vborg.vbsupport.ru/showthread.php?t=167528)

mystic10 01-11-2008 04:40 PM

i pray that someone can help
 
1st problem
well i am using vbshout that is in all pages..when i disable this i dont get the error but when i enable it everything works but with this error...problem is that i dont want to disable it as i love the vbshout and i dont know what to do this is the error i get

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1259) : eval()'d code on line 5

what i can i put in line 5 that will stop the error
currently running: 3.6.8 pl2 version

2nd problem:this is more important than the first
i have a database error this is what it give and i dont know how i can fix it
MySQL Error : Unknown column 'Array' in 'where clause' Error Number : 1054 Date : Friday, January 11th 2008 @ 09:36:58 AM Script : http://www.yah00-city.com/ Referrer : IP Address : 121.246.209.2 Username : Unregistered Classname : vB_Database

snakes1100 01-11-2008 05:38 PM

Please post the complete error msg your get for the database error.

mystic10 01-11-2008 05:43 PM

sir this is the complete error msg that i got...i talked to my host when i got the database error and they showed me this as the error...i can't enter my site due to the database error...

Antivirus 01-11-2008 06:20 PM

The array merge error is most likely due to your hosting company recently upgrading to php5 and one of the mods you've installed not being compatible. Search the forums here for array_merge error and you'll see what I'm talking about.

mystic10 01-11-2008 06:30 PM

i know the hack thats causing the problem its vbshout on all pages as when i even use the thanks hack it says the same thing..but is there something i can do that will make this error go aways...i have posted it everywhere including where i downloaded the hacks from but no reply...maybe u can help..

Opserty 01-11-2008 06:34 PM

If your still having problems disabling your hacks follow this: https://vborg.vbsupport.ru/showpost....97&postcount=2

You will just have to wait till the hacks are fixed.

mystic10 01-11-2008 07:15 PM

no sir i am not having problems disabling hack i just need a solution on what can i add on line 5 that the error just goes away...i want the hack just not the error..

Lynne 01-11-2008 07:53 PM

There was a fix mentioned - search for "array_merge" on this site and your will get threads about this problem (I'd limit it to thread title). Like this thread:

[Fix How to] PHP 5 and array_merge errors

There are a few others but you can do the search and see them yourself.

mystic10 01-11-2008 09:23 PM

i checked it out and its talking about index.php and i need help in functions.php....thanks for taking the time lynne really appreciated it..but maybe this can help u help me

error: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1259) : eval()'d code on line 5

in functions.php line 1259: ($hook = vBulletinHook::fetch_hook('fetch_userinfo')) ? eval($hook) : false;

what would i need to chage

Lynne 01-11-2008 09:50 PM

It isn't just dealing with the index page. It is dealing with any instance of array_merge. That line in functions is not the problem, it is the plugin you have that is using the hook "fetch_userinfo". In whatever plugin is using that hook that is causing the error is a line using array_merge, you need to modify that line in that plugin.


All times are GMT. The time now is 12:57 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.01783 seconds
  • Memory Usage 1,736KB
  • 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
  • (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