PDA

View Full Version : Error message on "The front Page" CMS


aussieoutdoors
10-04-2012, 08:16 PM
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



define('DISABLE_HOOKS', true);


place it at the top underneath

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

I sent you a pm. cheers