Все клики идут в nocookie

admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: Все клики идут в nocookie

Post by admin »

SCJ_INCLUDE заменяется соотв JS кодом с доменом с которого приходит траффик ?
Don't forget to run script update
wskeal
Posts: 280
Joined: Wed Oct 17, 2012 6:56 pm

Re: Все клики идут в nocookie

Post by wskeal »

Не понял вопроса.

Я никаких особенных заморочек не делал. Сделал всё как написано в вики, код я скопировал из вики тоже. Насколько я помню этот код это типа проверка на ботов и т.д.

Напишите что не так.

Я могу в личку вам дать доступ к скрипту, наверное так будет быстрее и легче.
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: Все клики идут в nocookie

Post by admin »

Каждый таг скрипт заменяет на что-то

Вы видите как скрипт заменяет scj_include таг ?
Don't forget to run script update
wskeal
Posts: 280
Joined: Wed Oct 17, 2012 6:56 pm

Re: Все клики идут в nocookie

Post by wskeal »

нет, не вижу. Подскажите что исправить/удалить.
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: Все клики идут в nocookie

Post by admin »

Oк, те в результате в html эта строка так и остается тагом ?
Don't forget to run script update
wskeal
Posts: 280
Joined: Wed Oct 17, 2012 6:56 pm

Re: Все клики идут в nocookie

Post by wskeal »

в общем у меня вот так сделано.

главная страница это shtml файл
в него инклюд вида:
<!--#include virtual="tube.php"-->


в свою очередь в tube.php вот что:
<?php
$_GET['force_template'] = 'main';
$_GET['group_id'] = 3;
include('./scj/tube/index.php');


ну а в самом тимплейте "main" вот что:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<link href="style.css" rel="stylesheet" type="text/css">
<head>
<title>Welcome to Teen Fuck XXX</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<base target=_blank>
<!--SCJ_INCLUDE-->
<script language="javascript">
var i,j,key;
i = 0;
j = 1;
for(i=0;i < 20;i++) {
key = j + i + 20;
j = key - 10;
}
document.write("<img src=/scj/cgi/user.php?code="+key+" width=0 height=0>");
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#ebf6f8">
<img src="/scj/cgi/rot_in.php?crc=<!--PAGE_CRC-->" border=0 width=0 height=0 style="position: absolute; top: -100; left: -100">

субтемплейт выглдит вот так:
<td><div align="center"><a href="scj/cgi/out.php?link=images/<!--THUMB_LINK-->&url=<!--URL-->"><img src=<!--THUMB_URL--> width="240" height="180" /></a></div></td>


где косяк?
На другом сайте расположенном на старом сервере абсолютно всё точно также. Всё работает, всё считает.
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: Все клики идут в nocookie

Post by admin »

В результирующем html коде

<!--SCJ_INCLUDE-->

на что заменен ?
Если переходить с другого сайта на эту страницу.
Don't forget to run script update
wskeal
Posts: 280
Joined: Wed Oct 17, 2012 6:56 pm

Re: Все клики идут в nocookie

Post by wskeal »

посмотрел как сам shtml выглядит тэг, ошибка какая-то, написал уже хостеру, видимо из за этого как в ноукики всё считает

<b>Warning</b>: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>/home/user/www/domain.com/scj//cgi/include.php</b> on line <b>0</b><br />


на самой морде вот так ошибки написаны:

Warning: Illegal string offset 'category_id' in /usr/home/user/www/domain.com/scj/includes/libs/tpl_functions.php on line 0

Warning: Illegal string offset 'category_id' in /usr/home/user/www/domain.com/scj/includes/libs/tpl_functions.php on line 0

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/home/user/www/domain.com/scj/includes/libs/tpl_functions.php on line 0


домен светить не стал, заменил на domain.com :)
wskeal
Posts: 280
Joined: Wed Oct 17, 2012 6:56 pm

Re: Все клики идут в nocookie

Post by wskeal »

хостер исправил и всё начало считаться, спасибо.
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: Все клики идут в nocookie

Post by admin »

Отлично.
Можете написать что исправил хостер ?
вдруг у кого-то будет такая еж проблема и он сможет сразу ее решить.
Don't forget to run script update
Post Reply