本帖最后由 hoby 于 2014-8-24 09:15 编辑 ' v: s( k& H. X5 R6 |" C+ J! b: f
# v9 j1 p! I( I. `我是在虚拟主机上面安装IM并且LP是同个域名下。我是用LP页来跑的,刚开始放下面的track代码在头部,LP页就打不开,显示空白:- i! s3 g2 H8 x- ~1 @. M
<?php include ('/home/xxxxx/public_html/xxxxx.com/lp_track.php'); ?>* J, d1 @& M$ D _
5 v% A$ M. f0 U) I* R然后我修改为下面链接,可以打开,但是IM那边只有点击数据,其他的数据都为0& ^0 a6 |" g' ?8 R2 b
<?php include ('/public_html/xxxxx.com/lp_track.php'); ?> / w; b! I" T$ B8 V 5 c1 s* q2 A. [6 }( m另外,LP页的OFFER链接设置为<?php echo $offer; ?>, 但是打开LP的时候他却链到本LP页网址。! F T( X | G% P r, ^
, U3 l5 _3 ]1 F* X# @* J
在谷歌上面搜寻也未找到答案,感觉这些PHP函数不起作用,想问下各位是不是虚拟主机的问题? ' {" S# ?; f* h* W j3 O/ J/ B3 E* m I5 \! U* l: c
LP目录下面产生了error_log文件,有如下内容: x2 M* }: w* |, U" Q
[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 04 h9 m2 M+ D2 _+ X1 n
[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 03 g" O. i9 X0 R$ z- D8 w
[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 02 ^2 o1 Y, V! s% q/ V
[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 0 J: v* [9 ? C- D( [
[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
复制代码
% _2 K6 ?+ q" a0 d4 v 0 Y. n: u c& e; C2 F! v. }# S* P/ W6 M. x5 I
4 w5 M I0 A6 g/ H" U
, _; p3 l, ^* [