Script Pulse

Trade Pulse => Trade Pulse Support => Topic started by: Brent on May 14, 2012, 04:30:59 AM

Title: Help! Warning: ini_set() has been disabled
Post by: Brent on May 14, 2012, 04:30:59 AM
I just installed TradePulse and I went to log in and I am getting this error using the default username and password combo to log in:

Warning: ini_set() has been disabled for security reasons in /home/trend/public_html/sitenamehere.com/tp/login.php on line 2

it is at this url: tp/login.php

What do I do?
Title: Re: Help! Warning: ini_set() has been disabled
Post by: ip0li on May 14, 2012, 04:51:33 AM
check with your host please!
Title: Re: Help! Warning: ini_set() has been disabled
Post by: Brent on May 15, 2012, 03:48:19 PM
Ok I got that figured out.

But now I am trying to set up the traffic in and out and I am totally lost!

Quote
There are 2 ways to count incoming traffic with TradePulse script:

First way (recommended):

Include this code in your .shtml files:

...or include this code in your .php files

I have a TGP that I coded myself in php and is a .php file (index.php) is this where I put the .php code? Or am I placing it in the tp_in.php? Either way gives me an error.

Fatal error: Call to undefined function virtual() in /home/trend/public_html/MYSITE.com/index.php on line 12
Title: Re: Help! Warning: ini_set() has been disabled
Post by: ip0li on May 16, 2012, 02:41:04 AM
You should add this code in <head> are of your site:
Code: [Select]
<?php virtual("/tp/ssi_in.php")?>
If U get error as U said
Code: [Select]
Fatal error: Call to undefined function virtual() in /home/trend/public_html/MYSITE.com/index.php on line 12
you should ask your host to enable php virtual includes.
Title: Re: Help! Warning: ini_set() has been disabled
Post by: Brent on May 17, 2012, 10:23:03 PM
This is what my host said:

I have allowed GD2.so, but it seems to have not allowed that function as GD used to. You should speak with your programmer in regards to replacing the virtual() function with include() or require().
Title: Re: Help! Warning: ini_set() has been disabled
Post by: ip0li on May 18, 2012, 02:56:15 AM
Well in that case simply use <?php include("/full/path/to/tp/ssi_in.php")?> or change to decent host lol :)