Script Pulse
Trade Pulse => Trade Pulse Support => Topic started by: Almaz on July 17, 2010, 07:51:00 PM
-
Hello guys
I just installed TradePulse and SmartThumbs to use them together. It looked like so far was ok. At least it did not give me any errors during an installation.
However, after inserting (between <head> and </head>):
<?php virtual("/tp/ssi_in.php")?>
I got following error:
Fatal error: Call to undefined function virtual() in /home/bigtitdo/public_html/index.php on line 48
I also tried inserting (right after start of <body>) and in addition to 1st one
<img src="/tp/img.php" width="0" height="0" style='display:none;border:none'>
with same error... :(
Thank you in advance,
almaz
-
Dudes, can someone help me please?
My ICQ is 160125093 if you will have spare couple minutes...
-
Looks like soemthing is wrong with your hosting. From what I see virtual is not enabled so please speak with them. You can run yourdomain.com/tp/ssi_in.php and check source, if you see some javascript code there it means all is fine with tp, you just need to ask your host why include is not working.
-
Thanks ip0li,
Yes, I ran:
yourdomain.com/tp/ssi_in.php
and got following javascript:
<script language="javascript" type="text/javascript">
<!--
document.cookie='tp=MXwwfDEyNzk1MDQ3NDJ8MTI3OTUwNDc0MnwwO25vcmVmX2lu; expires=Tue, 20 Jul 2010 01:59:02 GMT; path=/;';
document.cookie='fav=1279504742; expires=Tue, 19 Jul 2011 01:59:02 GMT; path=/;';
//-->
</script>
<script language="javascript" type="text/javascript">
var d;
d = Math.floor(Math.random () * 10000);
document.write('<s' + 'cri' + 'pt language="JavaScript" src="/tp/filter.php?pro='+ d +'"></sc' + 'ript>');
</script>
what ever it means... I hope like you said is all good
After talking to my host they suggested to use:
<?php require_once("tp/ssi_in.php")?>
And as a result I dont have errors and I see the same JS in source:
<script language="javascript" type="text/javascript">
<!--
document.cookie='tp=MTB8MHwxMjc5NTA4MzU2fDEyNzk1MDgzNTZ8MDtib29rbWFya3xub3JlZl9pbg==; expires=Tue, 20 Jul 2010 02:59:16 GMT; path=/;';
document.cookie='fav=1279508356; expires=Tue, 19 Jul 2011 02:59:16 GMT; path=/;';
//-->
</script>
<script language="javascript" type="text/javascript">
var d;
d = Math.floor(Math.random () * 10000);
document.write('<s' + 'cri' + 'pt language="JavaScript" src="/tp/filter.php?pro='+ d +'"></sc' + 'ript>');
</script>
Please tell me that <?php require_once("tp/ssi_in.php")?> is Ok!
Thank you in advance,
almaz
-
Yes it's ok and I am glad you got it solved!