Author Topic: Fatal error: Call to undefined function virtual() in ....  (Read 9733 times)

0 Members and 1 Guest are viewing this topic.

Offline Almaz

  • Newbie
  • *
  • Posts: 33
    • View Profile
Fatal error: Call to undefined function virtual() in ....
« 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

Offline Almaz

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: Fatal error: Call to undefined function virtual() in ....
« Reply #1 on: July 18, 2010, 05:15:26 AM »
Dudes, can someone help me please?

My ICQ is 160125093 if you will have spare couple minutes...
« Last Edit: July 18, 2010, 05:18:27 AM by Almaz »

Offline ip0li

  • mgSearkGD
  • Administrator
  • Hero Member
  • *****
  • Posts: 1963
    • View Profile
    • Pretty Girls from your city for night
Re: Fatal error: Call to undefined function virtual() in ....
« Reply #2 on: July 18, 2010, 12:46:57 PM »
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.

Offline Almaz

  • Newbie
  • *
  • Posts: 33
    • View Profile
I found a Solution... Please tell me its Ok!
« Reply #3 on: July 18, 2010, 07:08:19 PM »
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

Offline ip0li

  • mgSearkGD
  • Administrator
  • Hero Member
  • *****
  • Posts: 1963
    • View Profile
    • Pretty Girls from your city for night
Re: Fatal error: Call to undefined function virtual() in ....
« Reply #4 on: July 19, 2010, 05:37:27 AM »
Yes it's ok and I am glad you got it solved!