vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   PHP Error (https://vborg.vbsupport.ru/showthread.php?t=70877)

Mezzair 10-22-2004 01:00 PM

PHP Error
 
I've tryed to install the IRC hack and then the who is online intergration hack, I get this error message:

PHP Code:

Warningarray_merge() [function.array-merge]: Argument #2 is not an array in /home/corefm/public_html/forums/includes/init.php on line 517

Unable to add cookiesheader already sent.
File: /home/corefm/public_html/index.php
Line


Does anyone have anyidea what is wrong?

Brad 10-22-2004 03:11 PM

Quote:

Originally Posted by Mezzair
I've tryed to install the IRC hack and then the who is online intergration hack, I get this error message:

PHP Code:

Warningarray_merge() [function.array-merge]: Argument #2 is not an array in /home/corefm/public_html/forums/includes/init.php on line 517

Unable to add cookiesheader already sent.
File: /home/corefm/public_html/index.php
Line


Does anyone have anyidea what is wrong?

Paste the code you added to init.php here and someone will be able to help you :)

Mezzair 10-22-2004 03:46 PM

I haven't modifyed that file at all. Its the orignal file. Anyway here is the code

Xenon 10-22-2004 03:59 PM

It's not allowed to post full vBulletin files!

As for your problem, it's most likely that on of the needed variables (globaltemplate/specialtemplates/actiontemplates) is not defined in your script, which would cause that error in init.php

You may want to inform the author, as it's obviously a mistake he made.

Mezzair 10-22-2004 09:12 PM

Quote:

Originally Posted by Xenon
It's not allowed to post full vBulletin files!

As for your problem, it's most likely that on of the needed variables (globaltemplate/specialtemplates/actiontemplates) is not defined in your script, which would cause that error in init.php

You may want to inform the author, as it's obviously a mistake he made.

Sorry about that! Didn't think!

I've posted in the thread about it to the author, no respose yet :surprised:

zeropaid 11-22-2004 02:35 AM

I have this same problem, but I didn't implement a hack. I am getting this error when I try to do anything outside of vbulletin's directory, even when I change directories before including init.php. How can I set these variables?


All times are GMT. The time now is 02:28 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.00948 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete