Welcome to World of IPTV

With

+23k members
+11k threads
+106k posts

we are the most popular IPTV community on the web. 

IMPORTANT NOTE:
WE HAVE RECENTLY NOTICED THAT TOO MANY DOUBLE FAKE ACCOUNTS ARE CREATED IN THE PAST.
TO PREVENT THIS ISSUE THE DECISION WAS MADE THAT IN THE FUTURE A ANNUALLY FEE 20 EURO WILL BE RAISED FOR NEW MEMBERSHIPS.

Join now to the World of IPTV

Forum Rules

Before you start, check out the forum rules first

Account upgrade

Upgrade your account to get access to full features

Advertising

Would you like to place your advertisement with us ?

Resources Manager

Hundreds of IPTV scripts and apps are available for download

Script Xtream-Codes database non-UTF8 fix

castaway

Extended Member
Ext. Member
Joined
Sep 24, 2019
Messages
30
Reaction score
88
Points
29
Location
Barsoom
This script is to solve the problems with player_api not showing anything and MAG portal not loading because somewhere in the database there is non UTF-8 encoded text or character that JSON encoder cannot parse.
This script will connect to the database and perform conversion of the data in database. Don't break script while working, and before you run the script. perform backup of the database

To backup XC database run:
PHP:
mysqldump -u root -pPASSWORD xtream_iptvpro --ignore-table=xtream_iptvpro.client_logs --ignore-table=xtream_iptvpro.user_activity > xtream_iptvpro.`date +%d-%m-%Y`.backup.sql
instead of PASSWORD enter correct mysql root password
OR
You can run this for password prompt
PHP:
mysqldump -u root -p xtream_iptvpro --ignore-table=xtream_iptvpro.client_logs --ignore-table=xtream_iptvpro.user_activity > xtream_iptvpro.`date +%d-%m-%Y`.backup.sql


if someone detect issues with script, please let me know to fix script

Use it well
 
Last edited:
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

shitping

Extended Member
Ext. Member
Joined
Sep 24, 2019
Messages
120
Reaction score
188
Points
54
Location
home
i got this error

PHP Notice: Undefined index: in /home/xtreamcodes/iptv_xtream_codes/xcdb_to_utf8.php on line 76
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Top
AdBlock Detected

We know, ad-blocking software do a great job at blocking ads. But our site is sponsored by advertising. 

For the best possible site experience please take a moment to disable your AdBlocker.
You can create a Account with us or if you already have account, you can prefer an Account Upgrade.

I've Disabled AdBlock