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.

#26 Re: Troubleshooting » Unable to play the videos » 2016-05-28 03:32:51

OK, eventually I have figured it out.

we have to use

    location ^~ /file/ {
        rewrite ^/file/([0-9]+)/([0-9]+)/([^/]*)/([0-9]+)/(.*)$ /file.php?id=$1&server=$2&hash=$3&expire=$4&file=$5 last;
    }

instead of

    location /file/ {...........}

otherwise it will keep searching for expressions and

location ~ \.mp4 {................}

which appears later will override the search for /file/, because apparently there will be a ".mp4" at the end of /file/ url.

I suggest symtab to change the instruction in the script zip file.

#27 Troubleshooting » Unable to play the videos » 2016-05-27 18:19:03

discuss4u
Replies: 2

I am using nginx and I have already add the line

    location /file/ {
        rewrite ^/file/([0-9]+)/([0-9]+)/([^/]*)/([0-9]+)/(.*)$ /file.php?id=$1&server=$2&hash=$3&expire=$4&file=$5 last;
    }

in the conf file of the domain.

But the videos do not play.

I have try copy the parameters from the link to something like

http://www.mydomain.com/file.php?id=1&server=0&hash=796609733f08c4bb8b89&expire=1464380369&file=mp4/1.mp4

and I can see the mp4 file playing when I put the url directly on the browser.

Yet it will return 403 if I put the follow directly on the browser.

http://www.mydomain.com/file/1/0/796609733f08c4bb8b89/1464380369/mp4/1.mp4

So I suppose it is the problem of rewrite but I am not be able to figure out the causes.

How can I fix this problem?

#28 Re: Troubleshooting » Download property in multiserver setting » 2016-05-27 07:29:07

Thanks. I have do the setting thing but it still did not work.

I have found two problems.

1. It will return invalid hash. But I have already set the secret both in download.php and admin

2. I have comment the line in download.php [die("invalid hash");]
Then it will return ERR_INVALID_RESPONSE in CHROME.

I suspect it is the problem of the line

header('X-Accel-Redirect: /files'.$file.secure_nginx($file)); 

or

header('X-Accel-Redirect: /files'.$file);  

Because it works if I change these two lines to

readfile($file_path);

#29 Troubleshooting » Download property in multiserver setting » 2016-05-27 06:01:15

discuss4u
Replies: 7

Hello, I would like to know what I should set for "Download Property"

when setting up video server

Seems that it is a new feature in 2.2.2 and it is not possible to add new server without setting it.

Thanks!

#30 Troubleshooting » Anonymous upload » 2016-05-22 03:49:40

discuss4u
Replies: 1

Just wonder if it is possible to allow registered to upload as Anonymous such that

1. It is displayed as uploaded by anonymous in user frontend.
2. I can still see which user upload the video in admin.

Thank!

#31 Re: Troubleshooting » Thumb slide on flowplayer » 2016-05-11 15:08:04

it is the option to enable it?

Thumbs Slide:   Yes   No
If enabled, a slide will be created for each video (used to display in the flash player above the control bar).

I have enable it but there is no slide on flowplayer.

Thanks!

#33 Troubleshooting » Thumb slide on flowplayer » 2016-05-10 06:43:31

discuss4u
Replies: 3

Is there any setting for the thumb slide on flowerplayer?

Thanks!

#34 Bug Reports » [FIXED IN 2.2.3] Problem with IMagick Optimization filter for thumbs » 2016-05-09 11:10:17

discuss4u
Replies: 3

I am useing CentOS7 with ImageMagick installed using yum.

The ImageMagick Optimization filter will create blank images for all thumbs.

It seems that the problem comes from the option

..... -level 50% .....

It has to be something like

..... -level x%,y% .....

instead of defining just one %.

It is working perfectly on my another site with CentOS6 and have ImageMagick installed using yum.

But I wonder if we really need -level 50% since I see -auto-level is also there

#35 Re: Troubleshooting » Mobile site related videos not working » 2016-05-02 16:48:43

Hello symtab, I sent you the information a few days ago. Let me know if you did not get it.

Thanks!

#36 Troubleshooting » Mobile site related videos not working » 2016-04-23 14:00:28

discuss4u
Replies: 4

I am using sphinx for related videos for mobile site and no related videos is shown.

And it works perfectly for the desktop version of the site.

Is there anything I need to configure in order to make it work?

#37 Troubleshooting » Adxpansion Adv with Nuevo player » 2016-04-23 04:20:35

discuss4u
Replies: 1

I would like to know how I can add Adxpansion in player adv to Neuvo player. It seems that the way to do it is a bit different from flowplayer.

#38 Troubleshooting » Problem with MYSQL 5.7 » 2016-01-11 08:14:00

discuss4u
Replies: 1

Just created a new server so I have tested a bit with php7 and MYSQL5.7

It seems that ASPRO will not work properly with MYSQL 5.7. e.g. video view page will not work because SELECT DISTINCT query in video view page does not work with MYSQL 5.7.

And there seems no problem with php7. Though I have eventually used php5.6 (since I have to use ioncube loader for some other sites and it seems that ioncube loader does not support php7 yet) and MYSQL5.6. I think it will be good to check if ASPRO can work perfectly with lastest version of php and mysql.

#39 Bug Reports » [NOT A BUG] Player Overlay ADV Problem with Nuevo Player » 2015-09-19 09:45:32

discuss4u
Replies: 2

It seems that using player overlay Adv with nuevo player is not that smooth.

It is apparent that the video does not auto load when there is a player overlay adv.

Only after I close the adv the video will start loading.

This does not happen with flowplayer. The video will load when there is a player overlay adv. When it is loaded, I can just close the adv and the video start playing.

#40 Re: Troubleshooting » Search results always show page 0 » 2015-08-24 16:19:12

Hello symtab, I have sent you the access details. Please help to take a look at it.

Thanks!

#41 Re: Troubleshooting » Search results always show page 0 » 2015-08-17 16:24:13

Hello symtab, is there anything I need to do in order to fix the issue?

#42 Re: Troubleshooting » Search results always show page 0 » 2015-08-12 16:27:53

Yes, this happened after upgrading  from 1.2.3 to 2.0

Just check that this happened also for photo search pages.

This happened for video browse pages before. But you have told me how to change language file and fixed that in this post once I spotted that out.

#43 Re: Troubleshooting » Search results always show page 0 » 2015-08-12 03:05:38

Just realize that there is also the same problem for the tags pages. What should I change for the language file?

Thanks!

#45 Troubleshooting » Search results always show page 0 » 2015-08-06 06:00:51

discuss4u
Replies: 9

I found that page number of search results is always 0 after upgraded from 1.2.3 to 2.0.6.

2cqh65w.jpg

Is it that I have update something such as the language file?

#46 Re: Bug Reports » [FIXED IN 2.0.9] Bug of search » 2015-08-04 13:27:16

Well, I have tested the SELECT statement in other sql management program and there was no error when using AND. The only thing is that it will show all videos no matter what the video "status" is.

I will suggest making changes to this thread http://forum.adultscriptpro.com/viewtopic.php?id=160 so as to correct the issue.

#47 Re: Bug Reports » [FIXED IN 2.0.9] Bug of search » 2015-08-04 03:08:49

I have digged into the problem a bit.

I tried to update sphinx index manually after a video is uploaded.

I update sphinx index when video status = 2, the video COULD BE search.

I digged into the sphinx.conf file again and find that changing

    sql_query           = \
        SELECT v.video_id, v.title, v.description, v.mobile, v.add_time, \
         v.rating, v.total_views, v.duration, v.video_id AS video, \ #added in RC4
         GROUP_CONCAT(DISTINCT t.name SEPARATOR ' ') AS tags \
        FROM video AS v \
        LEFT JOIN video_tags AS t ON (t.video_id = v.video_id) \
        AND v.status = 1 \
        GROUP BY v.video_id

to

    sql_query           = \
        SELECT v.video_id, v.title, v.description, v.mobile, v.add_time, \
         v.rating, v.total_views, v.duration, v.video_id AS video, \ #added in RC4
         GROUP_CONCAT(DISTINCT t.name SEPARATOR ' ') AS tags \
        FROM video AS v \
        LEFT JOIN video_tags AS t ON (t.video_id = v.video_id) \
        WHERE v.status = 1 \
        GROUP BY v.video_id

will solve the problem.

Seems that because using "AND v.status=1" may not filter out the row with other status.
So, using "WHERE v.status=1" is a better option

#48 Re: Bug Reports » [FIXED IN 2.0.9] Bug of search » 2015-08-03 09:41:19

Yes, in video::config::search setting, search type is set to complex (sphinx) with these setting in admin::configuration

Sphinx Host: Localhost
Sphinx Port: 9312
Sphinx index: videos

In fact, i didn't change these settings since 1.2.x.

Thanks

#49 Re: Bug Reports » [FIXED IN 2.0.9] Bug of search » 2015-08-01 12:04:49

Well, it is really strange.

I have checked the database, the videos are of status 2.

And I also check sphinx.conf. As you said, it should only index status 1 videos. I see that there is a WHERE clause "v.status = 1"

But these status 2 videos can still be searched in user frontend.

I am sure that this only happens after I upgrade from 1.2.3 to 2.0.6.

I have check my both sites and the same thing happens. So please help to check it.

#50 Bug Reports » [NOT A BUG] Private album does not have cover image » 2015-07-31 16:27:32

discuss4u
Replies: 2

For private albums, a broken cover image was shown in user frontend.

I guess there should be a cover image which can represent private albums.

See below

2uiap90.jpg

Thanks!

Board footer

Powered by FluxBB