Author Topic: Help! Warning: ini_set() has been disabled  (Read 10408 times)

0 Members and 1 Guest are viewing this topic.

Offline Brent

  • Newbie
  • *
  • Posts: 3
    • View Profile
Help! Warning: ini_set() has been disabled
« 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?

Offline ip0li

  • mgSearkGD
  • Administrator
  • Hero Member
  • *****
  • Posts: 1959
    • View Profile
    • Pretty Girls from your city for night
Re: Help! Warning: ini_set() has been disabled
« Reply #1 on: May 14, 2012, 04:51:33 AM »
check with your host please!

Offline Brent

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Help! Warning: ini_set() has been disabled
« Reply #2 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

Offline ip0li

  • mgSearkGD
  • Administrator
  • Hero Member
  • *****
  • Posts: 1959
    • View Profile
    • Pretty Girls from your city for night
Re: Help! Warning: ini_set() has been disabled
« Reply #3 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.

Offline Brent

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Help! Warning: ini_set() has been disabled
« Reply #4 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().

Offline ip0li

  • mgSearkGD
  • Administrator
  • Hero Member
  • *****
  • Posts: 1959
    • View Profile
    • Pretty Girls from your city for night
Re: Help! Warning: ini_set() has been disabled
« Reply #5 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 :)