本帖最后由 hoby 于 2014-8-24 09:15 编辑 : E# X a8 E1 Z! a ; ?! s7 m1 s+ p# y我是在虚拟主机上面安装IM并且LP是同个域名下。我是用LP页来跑的,刚开始放下面的track代码在头部,LP页就打不开,显示空白: ) ~; H) H. X! z+ ~3 k<?php include ('/home/xxxxx/public_html/xxxxx.com/lp_track.php'); ?> 5 ~2 ~4 m. R% K+ \. o+ N% j) u# K7 z) C! I1 x* @" Q! D/ n0 Y+ @, x
然后我修改为下面链接,可以打开,但是IM那边只有点击数据,其他的数据都为0 * G- y1 N- t1 Z& n* l<?php include ('/public_html/xxxxx.com/lp_track.php'); ?> # q" U* I4 W* n5 ~0 l 2 b, y7 [8 b! N另外,LP页的OFFER链接设置为<?php echo $offer; ?>, 但是打开LP的时候他却链到本LP页网址。* Z. e. J/ p/ C2 t f+ B
3 @% N% `, R$ i, L
在谷歌上面搜寻也未找到答案,感觉这些PHP函数不起作用,想问下各位是不是虚拟主机的问题?+ ~/ l( n. p; S& a3 V! q/ Y
- S' ?* f! I2 B4 H! SLP目录下面产生了error_log文件,有如下内容: - q5 F, I1 V4 _) V0 l% _1 d
[23-Aug-2014 08:50:58 America/Los_Angeles] PHP Notice: Undefined index: iMobiClick in /home/xxxx/public_html/xxxx.com/lp_track.php on line 0 ' N& G5 [. E! P5 M. I' E: K
[23-Aug-2014 08:50:58 America/Los_Angeles] PHP Notice: Undefined offset: 1 in /home/xxxx/public_html/xxxx.com/lp_track.php on line 0 5 n9 g! I4 v6 K1 Y
[23-Aug-2014 08:50:58 America/Los_Angeles] PHP Notice: Undefined offset: 2 in /home/xxxx/public_html/xxxx.com/lp_track.php on line 0, o& w$ ?3 Z/ W: U
[23-Aug-2014 08:50:58 America/Los_Angeles] PHP Notice: Undefined offset: 3 in /home/xxxx/public_html/xxxx.com/lp_track.php on line 0 - U; W' m$ T I, T; i3 \
[23-Aug-2014 08:50:58 America/Los_Angeles] PHP Notice: Undefined offset: 4 in /home/xxxx/public_html/xxxx.com/lp_track.php on line 0