Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
  #1  
Old 10-04-2012, 08:16 PM
aussieoutdoors's Avatar
aussieoutdoors aussieoutdoors is offline
 
Join Date: Jun 2011
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Error message on "The front Page" CMS

After installing to 4.2.0 I am getting an error on the front page www.theaussieoutdoors.com It is not there if you go to the Article page from the forum page.
Error is as follows.
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/class_bootstrap.php(1315) : eval()'d code on line 87

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/class_bootstrap.php(1315) : eval()'d code on line 106

EDIT. I disabled the plugins and styles The problem was still there. I ran the upgrade script the problem was still there.
That is about my limit to fixing this.
Reply With Quote
  #2  
Old 10-04-2012, 08:38 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

eval()'d means the problem is to do with a custom plugin disable your plugins from the config


PHP Code:
define('DISABLE_HOOKS'true); 
place it at the top underneath

PHP Code:
 <?php
Reply With Quote
  #3  
Old 10-04-2012, 09:03 PM
aussieoutdoors's Avatar
aussieoutdoors aussieoutdoors is offline
 
Join Date: Jun 2011
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is that the main Config file? I could not find what I was looking for.
Reply With Quote
  #4  
Old 10-04-2012, 10:10 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you upgrade, or is this a new install? Are you using vb4.2.0PL2? I'm wondering because in the code for vb4.2.0 PL2 there is no eval at the line mentioned in the error, which could mean you have a file version mismatch or something like that (but that only makes sense if you're upgrading).
Reply With Quote
  #5  
Old 10-05-2012, 03:32 AM
aussieoutdoors's Avatar
aussieoutdoors aussieoutdoors is offline
 
Join Date: Jun 2011
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was trying to Upgrade but had errors so I did a new install.
On a side note. The site was installed in the public_html After I installed it again I now have a second public_html in the original public_html.
I am wondering if I do a Backup and delete both public_html folders and re install??
Reply With Quote
  #6  
Old 10-05-2012, 09:48 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The second public_html is strange you can delete the second public_html folder but don't delete the first original one
I can do a reinstall for you if you need help it will be a full wipe and new install if you want it pm me
Reply With Quote
  #7  
Old 10-05-2012, 10:02 AM
aussieoutdoors's Avatar
aussieoutdoors aussieoutdoors is offline
 
Join Date: Jun 2011
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I renamed the second folder and the site went down. I have someone having a look but if he can not work it out I will get back to you. Thanks.

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

I sent you a pm. cheers
Reply With Quote
Reply

Thread Tools
Display Modes

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 01:31 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04215 seconds
  • Memory Usage 2,211KB
  • Queries Executed 11 (?)
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
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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