V2

happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: V2

Post by happydg »

I updated script to latest version.

I put a gallery back to active but after a day it went back again to inactive.

I checked gallery_checker.log and looked for words "active" "inactive" and "202" ( gallery id ) but couldn't find anything in it.

I also went to Rotation - Settings - Gallery Checker. It says: "Script can check galleries for deletion
See Rotation - CMS Pages - Gallery Chacker."

There is no CMS Pages - Gallery Chacker.

Checker action is set to inactive so it's maybe that but if i understand correctly it puts to inactive galleries containing this:

xhamster.com|Video not found
xhamster.com|This video was deleted
xhamster.com|This movie has been removed

The xhamster.com gallery is working fine.
admin
Site Admin
Posts: 37249
Joined: Wed Sep 10, 2008 11:43 am

Re: V2

Post by admin »

You are right about "See Rotation - CMS Pages - Gallery" - removed in update

Don't look for it, look for a gallery url

and open that url as source code - are you sure you can not fins any of those phrases ?
Don't forget to run script update
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: V2

Post by happydg »

It says:

2016-11-13 16:51:13: Found 'Video not found' at https://xhamster.com/movies/2275546/big ... ucked.html (1.151859998703, 1.121689081192)
2016-11-13 16:51 Found 'Video not found' at https://xhamster.com/movies/2275546/big ... ucked.html (1.1596210002899, 1.1217091083527)
2016-11-13 16:51:13: Deactivating https://xhamster.com/movies/2275546/big ... ucked.html (1.1523549556732, 0.00049114227294922)
2016-11-13 16:51 Deactivating https://xhamster.com/movies/2275546/big ... ucked.html (1.1600739955902, 0.00045299530029297)

But the video is still working.
admin
Site Admin
Posts: 37249
Joined: Wed Sep 10, 2008 11:43 am

Re: V2

Post by admin »

But do you find that phrase in source code ?
Don't forget to run script update
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: V2

Post by happydg »

Yes i do:

Code: Select all

localeData: {"langUrl":"https:\/\/static-ec.xhcdn.com\/swf\/lang\/en.swf","lang":{"MENU_BUTTON":"MENU","SHARE":"SHARE","RELATED":"RELATED","TOP_RATED":"TOP RATED","MORE_FROM_USER":"MORE FROM THIS USER","LIVE_SEX":"LIVE SEX","COPY_TO_CLIPBOARD":"copy to clipboard","CONTENT_NOT_FOUND":"CONTENT NOT FOUND","VIDEO_NOT_FOUND":"VIDEO NOT FOUND","COMMENTS":"COMMENTS","DOWNLOAD":"DOWNLOAD","MEGABYTES":"Mb","QUALITY_BTN_TOOLTIP":"Quality","FULLSCREEN_BTN_TOOLTIP":"Full screen","SIZE_ON_BUTTON_TOOLTIP":"SEX mode","SIZE_OFF_BUTTON_TOOLTIP":"Default mode","REDDIT_TOOLTIP":"Share on Reddit","TWEET_TOOLTIP":"Post a tweet","SHARE_TOOLTIP":"Share","PLAY":"PLAY","REPLAY":"REPLAY","RESUME":"RESUME","SHARE_VIDEO_URL":"Video URL:","SHARE_EMBED_CODE":"Embed Code:","SETTINGS_BTN_TOOLTIP":"Settings","QUALITY_SETTINGS_LABEL":"QUALITY","FILTERS_SETTINGS_LABEL":"FILTERS","AUTOPLAY_SETTINGS_LABEL":"AUTOPLAY"},"social":[{"link":"http:\/\/api.addthis.com\/oexchange\/0.8\/forward\/reddit\/offer?url=","icon":"https:\/\/static-ec.xhcdn.com\/images\/share_icons\/reddit.png","service":"reddit"},{"link":"http:\/\/api.addthis.com\/oexchange\/0.8\/forward\/twitter\/offer?url=","icon":"https:\/\/static-ec.xhcdn.com\/images\/share_icons\/twitter.png","service":"twitter"},{"link":"http:\/\/api.addthis.com\/oexchange\/0.8\/forward\/google_plusone_share\/offer?url=","icon":"https:\/\/static-ec.xhcdn.com\/images\/share_icons\/google.png","service":"google"},{"link":"http:\/\/api.addthis.com\/oexchange\/0.8\/forward\/blogger\/offer?url=","icon":"https:\/\/static-ec.xhcdn.com\/images\/share_icons\/blogger.png","service":"blogger"},{"link":"http:\/\/api.addthis.com\/oexchange\/0.8\/forward\/stumbleupon\/offer?url=","icon":"https:\/\/static-ec.xhcdn.com\/images\/share_icons\/stumble.png","service":"stumbleupon"},{"link":"http:\/\/api.addthis.com\/oexchange\/0.8\/forward\/tumblr\/offer?url=","icon":"https:\/\/static-ec.xhcdn.com\/images\/share_icons\/tumblr.png","service":"tumblr"},{"link":"http:\/\/api.addthis.com\/oexchange\/0.8\/forward\/delicious\/offer?url=","icon":"https:\/\/static-ec.xhcdn.com\/images\/share_icons\/delicious.png","service":"delicious"}]},
                                        locale: 'fr'                                    });
admin
Site Admin
Posts: 37249
Joined: Wed Sep 10, 2008 11:43 am

Re: V2

Post by admin »

So the issue is not the script but an existing line in html
You can just remove it from your config
Don't forget to run script update
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: V2

Post by happydg »

On one of my website on v1.51, it takes forever to load Rotation - List Thumbs or Rotation - Groups, because the database has 700k galleries and is 2.7 gb ( no translations, or seperate category stats ).

Is database better optimized on v2 and is there a way to upgrade from v1.51 to v2 now?

Thank you.
admin
Site Admin
Posts: 37249
Joined: Wed Sep 10, 2008 11:43 am

Re: V2

Post by admin »

If even rotation - groups takes time to load - probably your hdd is overloaded

did you check that ?
Don't forget to run script update
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: V2

Post by happydg »

I have 32 Go DDR3 on dedicated server and 29 Go is used.

I have 4to hdd and 2.8 to is used.

I have Intel® Xeon® E3 1220 4C / 4T @3,1 Ghz. CPU usage is 23%.

It says that v2 can handle big database and is DB optimized. I have 700k galleries, could you please explain me how to upgrade from v1.51 to v2?

Thank you.
admin
Site Admin
Posts: 37249
Joined: Wed Sep 10, 2008 11:43 am

Re: V2

Post by admin »

I have 4to hdd and 2.8 to is used.
not in terms of space but load plz
Don't forget to run script update
Post Reply