halipso / php-steam-tradeoffers

Steam Trade Offers for PHP (based on node.js library by Alex7Kom)
76 stars 31 forks source link

The setup() function is not working on my server?? #45

Open Govind13100 opened 7 years ago

Govind13100 commented 7 years ago

hello,

The setup() function is not working on my server , I have read somewhere in the issues that for this need to turn off the safe off in php.ini file on server, that is also off on my server.

any suggestions why this script is not working on my server????

emdy commented 7 years ago

"The setup() function is not working on my server" please provide error msg!

emdy commented 7 years ago

You told before you successfully traded a skins, so..

Govind13100 commented 7 years ago

[04-Jul-2017 05:10:14 UTC] PHP Fatal error: Call to undefined function mb_detect_encoding() in /home/sweskins/public_html/php-steamlogin-master/classes/simple_html_dom.php on line 1235

This is the error in error_log file.

And yes the script work fine on my test server which is http but now working on my main server where i am developing my steam website. This main server contains https this is the only difference i know so far.

emdy commented 7 years ago

I suggest use php curl, dont use simple html dom.

Govind13100 commented 7 years ago

okay