Notice: Undefined variable: trade in ..
Posted: Wed Mar 01, 2017 11:16 am
Build 201702270921 (Lastest build: 201702282218 )
При заходе на страницу категории с рефером трейдера, или другим, отличным от сайта выдает предупреждение
Notice: Undefined variable: trade in /home/ftp/domain.com/www/smart/cgi/out.php on line 0
урл такой
smart/cgi/out.php?force_template=test&url=content&p=100&group_id=187
Если вбить урл напрямую, или перейти на него со страниц сайта то предупреждения не выводится
В самом шаблоне test только <!--CATEGORY_CUSTOM_NAME--> прописан
common.php чистый.
Варнинг
Все чисто. Вбиваю урл напрямую в браузер
При заходе на страницу категории с рефером трейдера, или другим, отличным от сайта выдает предупреждение
Notice: Undefined variable: trade in /home/ftp/domain.com/www/smart/cgi/out.php on line 0
урл такой
smart/cgi/out.php?force_template=test&url=content&p=100&group_id=187
Если вбить урл напрямую, или перейти на него со страниц сайта то предупреждения не выводится
В самом шаблоне test только <!--CATEGORY_CUSTOM_NAME--> прописан
common.php чистый.
Варнинг
Code: Select all
http://domain.com/smart/cgi/out.php?force_template=test&url=content&p=100&group_id=187
GET /smart/cgi/out.php?force_template=test&url=content&p=100&group_id=1873 HTTP/1.1
Host: domain.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://refdomain.com/index.php
Connection: keep-alive
Upgrade-Insecure-Requests: 1
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 01 Mar 2017 10:59:34 GMT
Content-Type: text/html
Content-Length: 141
Connection: keep-alive
X-Powered-By: PHP/5.4.45
Set-Cookie: 8c53b015c59881dacf4a9b0770590464=refdomain.com; expires=Thu, 02-Mar-2017 10:59:34 GMT; path=/
Set-Cookie: 650cbdc6679d0e7710da126e93ed6250=refdomain.com; expires=Thu, 02-Mar-2017 10:59:34 GMT; path=/
Set-Cookie: f25341a4f8447ff28095e244afc10d3e=1488365974; expires=Thu, 02-Mar-2017 10:59:34 GMT; path=/
Set-Cookie: 1e0d632550a12b2ff971015828fcf1ac=1; expires=Thu, 02-Mar-2017 10:59:34 GMT; path=/
Set-Cookie: f4bcc9d0ccaf18454daf8b5714734bef=content; expires=Thu, 02-Mar-2017 10:59:34 GMT; path=/
Set-Cookie: e8f7f99f64caadd48ecfd73f3e19d644=%7Curl; expires=Thu, 02-Mar-2017 10:59:34 GMT; path=/
Cheat-Check-ID: time
X-trader: refdomain.com
Current-Clicks: 1
Current-Click: 1
X-Current-Trader: refdomain.com
Last-key: GET_p
X-Set-skim: 100
Traffic-sell-X: check refdomain.com sell_skim = 0
Count-click-attempt: ok
Count-click-cache: no cache
----------------------------------------------------------
Все чисто. Вбиваю урл напрямую в браузер
Code: Select all
http://domain.com/smart/cgi/out.php?force_template=test&url=content&p=100&group_id=187
GET /smart/cgi/out.php?force_template=test&url=content&p=100&group_id=187 HTTP/1.1
Host: domain.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Cookie: 8c53b015c59881dacf4a9b0770590464=refdomain.com; 650cbdc6679d0e7710da126e93ed6250=refdomain.com; f25341a4f8447ff28095e244afc10d3e=1488366168; 1e0d632550a12b2ff971015828fcf1ac=2; f4bcc9d0ccaf18454daf8b5714734bef=content; e8f7f99f64caadd48ecfd73f3e19d644=%7Curl%7Curl
Connection: keep-alive
Upgrade-Insecure-Requests: 1
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 01 Mar 2017 11:03:17 GMT
Content-Type: text/html
Content-Length: 9
Connection: keep-alive
X-Powered-By: PHP/5.4.45
X-trader: bookmarks
Current-Clicks: 3
Current-Click: 3
X-Current-Trader: bookmarks
Last-key: GET_p
X-Set-skim: 100
Traffic-sell-X: check bookmarks sell_skim = 0
Set-Cookie: 1e0d632550a12b2ff971015828fcf1ac=3; expires=Thu, 02-Mar-2017 11:03:15 GMT; path=/
Set-Cookie: f4bcc9d0ccaf18454daf8b5714734bef=content; expires=Thu, 02-Mar-2017 11:03:15 GMT; path=/
Set-Cookie: e8f7f99f64caadd48ecfd73f3e19d644=%7Curl%7Curl%7Curl; expires=Thu, 02-Mar-2017 11:03:17 GMT; path=/