PDA

View Full Version : Error: cjoverkill_ref


Xeandrac
28th November 2010, 11:51 AM
Hey Ice,

I sometimes get this error on newly build sites:

Error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*****.cjoverkill_ref' doesn't exist', '10')' at line 1

(the ***** are my Db ;-) )

When I reload the page it loads normally, unfortunately surfers don't do that...

I'm using the cookie version inclusion:

$cookietime=600;
$cj_in_cookie=$_COOKIES["cj_in_cookie"];
if (!isset($cj_in_cookie) || $cj_in_cookie==""){
setcookie ("cj_in_cookie",time(),"1",time()+($cookietime*1));
include ("in.php");

I already used the repair and optimize tool, any idea's?

If you would like to see what I mean:

http://www.pornovoorniks.eu/
or
http://www.lekkeretieners.eu/

You might need to go there a few times, it doesn't happen all the time.....

Greetz,

X

ICEFIRE
28th November 2010, 03:23 PM
Make sure you are not mixing CjOverkill versions.

Seems that you are mixing CjOverkill 5.1.1 and 5.0.x installation.

If your main CjOverkill installation is version 5.1.1, then just update the php files on the other sites that have version 5.0.x

If that's not the case, then make sure you have all updated to version 5.1.1 and it will fix you.

Xeandrac
28th November 2010, 09:44 PM
Just to be on the safe side I freshly downloaded the current version. If it happens again I will mention it.

Thanks for the swift reply mate! :)

GR. X