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.
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.
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.mp4and 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.mp4So 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?
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);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!
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!
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!
Yes, it will be alright when --level -50% is removed
Is there any setting for the thumb slide on flowerplayer?
Thanks!
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
Hello symtab, I sent you the information a few days ago. Let me know if you did not get it.
Thanks!
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?
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.
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.
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.
Hello symtab, I have sent you the access details. Please help to take a look at it.
Thanks!
Hello symtab, is there anything I need to do in order to fix the issue?
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.
Just realize that there is also the same problem for the tags pages. What should I change for the language file?
Thanks!
Search Results for %s - Page %d
I found that page number of search results is always 0 after upgraded from 1.2.3 to 2.0.6.

Is it that I have update something such as the language file?
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.
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_idto
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_idwill 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
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
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.
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

Thanks!