Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-14-2004, 08:03 AM
Cubie Cubie is offline
 
Join Date: Mar 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Need Help!array merge??

I can't login to my site anymore.
The forum is still accesable but my vbadvanced portal gives errors:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.sites/119/site80/web/forum/global.php on line 26

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.sites/119/site80/web/forum/global.php on line 41

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.sites/119/site80/web/forum/global.php on line 48

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/.sites/119/site80/web/forum/includes/init.php on line 519




Unable to add cookies, header already sent.
File: /home/.sites/119/site80/web/forum/global.php
Line: 26

Does anybody know what to do?
I already uploaded an old backup, but it results in the same errors
I have a little overhead in my sql database (don't know what that means yet)


my site: http://www.ringoffate.com
Reply With Quote
  #2  
Old 11-14-2004, 08:34 AM
shorty's Avatar
shorty shorty is offline
 
Join Date: Mar 2003
Location: Cambridge, UK
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you reuploaded the vbadvanced files?

I can access your standard vb files (showthread.php, forumdisplay.php) but not index.php.

If vbadvanced uses a different index.php to the default VBulletin one AND this error obviously only occurs on that vbadvanced one.. then something seems to be wrong with the vbandvanced one you are running.
Reply With Quote
  #3  
Old 11-14-2004, 10:44 AM
Michael Morris's Avatar
Michael Morris Michael Morris is offline
 
Join Date: Nov 2003
Location: Knoxville TN
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cubie
I can't login to my site anymore.
The forum is still accesable but my vbadvanced portal gives errors:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.sites/119/site80/web/forum/global.php on line 26

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.sites/119/site80/web/forum/global.php on line 41

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.sites/119/site80/web/forum/global.php on line 48

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/.sites/119/site80/web/forum/includes/init.php on line 519
Array merge merges one array to another. Without seeing the statments on those it's hard to say what's going wrong, but it's probable that they are all acting on the same variable that you've failed to define as an array at some point. Certain spelling errors will also do this.

If you upgraded to the latest version of PHP 5.0 this might also occur - they changed the behavior of the array_merge function some (And for that reason and others changing to PHP 5.0 is a bad idea until Jelsoft greenlights it).
Reply With Quote
  #4  
Old 11-14-2004, 04:50 PM
Cubie Cubie is offline
 
Join Date: Mar 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx Michael, you set me on the right track.
My provider has installed php 5 on 11 november en before that it all worked just fine.

I did some editing in the index file,

Above:
require_once('./global.php');

I added:
$phrasegroups = array();
$specialtemplates = array();
$globaltemplates = array();

Thanx to Brian
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:19 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.03391 seconds
  • Memory Usage 2,189KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete