vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Error message on "The front Page" CMS (https://vborg.vbsupport.ru/showthread.php?t=288656)

aussieoutdoors 10-04-2012 08:16 PM

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.

ForceHSS 10-04-2012 08:38 PM

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


aussieoutdoors 10-04-2012 09:03 PM

is that the main Config file? I could not find what I was looking for.

kh99 10-04-2012 10:10 PM

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).

aussieoutdoors 10-05-2012 03:32 AM

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??

ForceHSS 10-05-2012 09:48 AM

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

aussieoutdoors 10-05-2012 10:02 AM

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


All times are GMT. The time now is 04:32 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.01121 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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