Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2014-10-16 02:19:26

Jacob
Member
Registered: 2014-05-15
Posts: 193

Multi-server not counting properly.

I had disabled multi-server via configuration settings under the video tab and enabled it a hour later. After I had done that, I moved 100+ videos from main host to the second server. Videos were moved perfectly and even stream properly but when I go to "Manage" in "Servers", it shows that it has only 8 videos.

43751af3ea.png

Offline

#2 2014-10-16 05:36:07

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Multi-server not counting properly.

You moved the servers manually. The database was not updated.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2014-10-18 01:14:26

Jacob
Member
Registered: 2014-05-15
Posts: 193

Re: Multi-server not counting properly.

Any MySQL query that I can run to update it?

Offline

#4 2014-10-18 06:52:54

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Multi-server not counting properly.

[query]
UPDATE #__server SET total_videos = nr WHERE server_id = id-of-the-server LIMIT 1
[/query]


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#5 2014-10-20 05:04:34

Jacob
Member
Registered: 2014-05-15
Posts: 193

Re: Multi-server not counting properly.

Where do I run this? The main host or the second server?

Offline

#6 2014-10-20 06:28:09

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Multi-server not counting properly.

The server where mysql is running.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB