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 2013-04-07 11:07:52

discuss4u
Member
Registered: 2013-03-06
Posts: 163

[FIXED IN 1.0.9] Embed not working with cache

With cache enable, cache driver File

Embed is not working, I have check the iframe.

Codes within the iframe becomes

<html>
<body>
<script type="text/javascript" src="http://www.mydomain.com/modules/video/player/config_iframe.php?id=451"></script>
<script type="text/javascript" src="http://www.mydomain.com/misc/flowplayer/flowplayer-3.2.11.min.js"></script>

All other parts are missing.

However, it works perfectly when cache is not enable, or the cache driver is none.

Is it a bug or something?

Last edited by discuss4u (2013-04-07 11:09:13)

Offline

#2 2013-04-08 08:05:48

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

Re: [FIXED IN 1.0.9] Embed not working with cache

Its a bug. Will fix ASAP.


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

Offline

#3 2013-07-08 12:55:10

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

Re: [FIXED IN 1.0.9] Embed not working with cache

Hmm...i was not able to reproduce this bug on my installation.


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

Offline

#4 2013-08-24 16:46:50

discuss4u
Member
Registered: 2013-03-06
Posts: 163

Re: [FIXED IN 1.0.9] Embed not working with cache

I have checked this again after upgrading to 1.0.8, and the problem is still there.....

There is nothing wrong with embed when cache is on turned on. Yet, there is problem when I turn cache on, with FILE as the cache driver.

and I have turned debug mode on and find this

ErrorException [ Notice ]: Undefined variable: group

/myroot/modules/video/player/embed.php [ 50 ]

45           $advs = $db->fetch_rows();
46           $cache->store('player-overlay', $advs, 86400);
47       }
48     
49       $count      = (count($advs)-1);
50     $index      = ($group['adv_rotate'] == '1') ? rand(0, $count) : 0;
51     $adv        = $advs[$index];
52
53     if ($adv['expire'] != '0000-00-00') {
54         if (time() > strtotime($adv['expire'])) {
55             return;

    /myroot/modules/video/player/embed.php [ 50 ] » VError::error_handler(arguments)

    /myroot/modules/video/player/embed.php [ 89 ] » get_advertising()

Last edited by discuss4u (2013-08-24 16:53:30)

Offline

#5 2013-08-26 06:44:34

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

Re: [FIXED IN 1.0.9] Embed not working with cache

Fixing and will release 1.0.9 this week.


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

Offline

#6 2013-10-29 08:16:50

donronca
Member
From: The Netherlands
Registered: 2012-12-27
Posts: 317
Website

Re: [FIXED IN 1.0.9] Embed not working with cache

if i'm clicking embed then i get the video in that frame with the advertising,

Offline

#7 2013-10-29 15:41:11

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

Re: [FIXED IN 1.0.9] Embed not working with cache

@donronca: thats how its supossed to work. or where is the problem?


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

Offline

#8 2014-01-30 23:28:29

MrPulse
Member
Registered: 2013-03-05
Posts: 107
Website

Re: [FIXED IN 1.0.9] Embed not working with cache

Hi Adrian, I tried  to embed a video in another site - http://pornopulse.com/?p=12 with and without cache but doesn't work
Appears only the 404 error page (I have a 404 redirect to another video or to a sponsor)

Offline

#9 2014-01-31 06:47:45

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

Re: [FIXED IN 1.0.9] Embed not working with cache

Hmmm...where is the embed on that page? I can find it.


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

Offline

#10 2014-01-31 07:57:04

MrPulse
Member
Registered: 2013-03-05
Posts: 107
Website

Re: [FIXED IN 1.0.9] Embed not working with cache

I have used this video

http://drainmainvein.com/132

and this is the embed code: <iframe src="http://drainmainvein.com/embed/132" frameborder="0" border="0" scrolling="no" width="650" height="490" />

Offline

#11 2014-02-04 12:20:13

donronca
Member
From: The Netherlands
Registered: 2012-12-27
Posts: 317
Website

Re: [FIXED IN 1.0.9] Embed not working with cache

I still get in the iframe the video instead of the embed code,
I've Try to replace some files with the standard ASP files but no diffrence..

Offline

#12 2014-02-04 20:39:37

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

Re: [FIXED IN 1.0.9] Embed not working with cache

the iframe is what you should get, but it should be working. Will check.


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

Offline

#13 2014-02-04 20:54:30

Nuevolab
Member
Registered: 2012-08-01
Posts: 189

Re: [FIXED IN 1.0.9] Embed not working with cache

Hello symtab. The iframe code is somethingg what I deliver along with Nuevoplayer and it's working code.
His embed output file is correct, but redirection is missing, probably user replaced his .htaccess file. It's back MrPulse.
Embedding should work now. Do not replace files MrPulse if you did not backup it at right time.

Offline

#14 2014-02-05 18:24:14

MrPulse
Member
Registered: 2013-03-05
Posts: 107
Website

Re: [FIXED IN 1.0.9] Embed not working with cache

Hi Nuevolab, thanks now it works!

Little OT [and sorry for my english]
I wrote to yours nuevolab support (or to you, I don't know) a few days ago, because my ASP site doesn't recognize mp4 videos in non-supported flash mobile browser like chrome for android or apple (I refer to responsive desktop version in mobile, I want to disable mobile version).  It has worked for the first day, but after a player recompiling by nuevolab support, for another issue in my ASP site, the player doesn't recognize mp4 videos in non-flash browser (recompiling solve a video thumb preview problem, I don't know if this recompiling is the cause, but  before this modifing mp4 videos was ok). I bought nuevo principally for this feature, but something doesn't work in my ASP site and nuevo doesn't recognize HTML5. I need to solve this problem and obviusly If it's necessary, I will pay you or Symtab to solve this problem, but I need to solve.

Last edited by MrPulse (2014-02-05 18:24:56)

Offline

#15 2014-02-05 18:45:47

Nuevolab
Member
Registered: 2012-08-01
Posts: 189

Re: [FIXED IN 1.0.9] Embed not working with cache

You really must know what you do. And cannot complain if not unserstanding own system.

You can't expect player to work as html5 player, if it is not even loaded.

You have mobile template enabled and this is what mobile device show,
not your startd template with player.

If you want html5 player (any player), you can't use mobile template then.
There is option in admin to disable mobile module in admin.
Can be also manually changed in 'index.php', that you probably replaced and now claims about your issue.

As I wrote, you must know what you do before you decide to replace files,
or you risk that you loose some website functionality and you can blame only yourself then.

Offline

#16 2014-02-05 20:07:20

MrPulse
Member
Registered: 2013-03-05
Posts: 107
Website

Re: [FIXED IN 1.0.9] Embed not working with cache

I want to clarify that I have not blamed your company or another, You have installed the player very fast and you have resolved another problem. I have only describe my problem, I know this issue is only on my site and it's a result of my ''not understanding system''
However, I'm not a webmaster, but neither an idiot: I'm trying to learn and it's impossible to do without errors, and every time I make a mod, I make a backup; I was referring to the magic button ''request desktop site'' for show desktop version on mobile device, I know that the default version for mobile device is the mobile version. I have already tried to disable mobile version and cache but nothing change. I never modified system files, only template files and I have tried to set a templates that I never make a change but nothing change.
I will try ro replace all files with old backup version.

Last edited by MrPulse (2014-02-05 20:24:19)

Offline

#17 2014-02-05 22:34:51

Nuevolab
Member
Registered: 2012-08-01
Posts: 189

Re: [FIXED IN 1.0.9] Embed not working with cache

If you have trouble with disabling mobile template redirection do simple trick:
Edit file "index.php"
Find line:

if (VModule::enabled('mobile')) {

change it to:

if (VModule::enabled('mobilex')) {

But you must remember that you made such change if you wish to have mobile template back.

You must also in admin set Nuevoplayer as "Flash+HTML5" player, not only as "Flash" in "Nuevo" section.
Now from what I see on your site it is "Flash" only.

Last edited by Nuevolab (2014-02-05 22:36:11)

Offline

#18 2014-02-05 23:25:22

MrPulse
Member
Registered: 2013-03-05
Posts: 107
Website

Re: [FIXED IN 1.0.9] Embed not working with cache

I disabled mobile template normally in admin panel and also in module manager and it works (for index there are only "restricted acces"). I had set Nuevo as Flash+HTML5 since the installation, and i controlled 2 minutes ago and is set flash+html5 (i tried to switch a couple of time). I tried also to disable standard video player in video -> player, but nothing change

I'm interested to implement nuevo player in the ASP premium plugin, if I buy yours custom programming service, think you is possibile to solve also the html5 problem?

Last edited by MrPulse (2014-02-05 23:42:42)

Offline

#19 2014-02-06 02:47:40

Nuevolab
Member
Registered: 2012-08-01
Posts: 189

Re: [FIXED IN 1.0.9] Embed not working with cache

MrPulse wrote:

I had set Nuevo as Flash+HTML5 since the installation, and i controlled 2 minutes ago and is set flash+html5 (i tried to switch a couple of time). I tried also to disable standard video player in video -> player, but nothing change
I'm interested to implement nuevo player in the ASP premium plugin, if I buy yours custom programming service, think you is possibile to solve also the html5 problem?

You had to replace files to default and you lost most of custom code inside it, including those files modified for Nuevoplayer. This is really easy for me to guess it and because of files changed player configuration cannot be loaded, system cannot decide which type of player use, same with few other player settings.
Maybe someone else changed your files, but they are changed. It's easy to guess by files modification date.

You can always contact Nuevolab to repair installation, also with your ASP premium plugin request.
However please always include at least your website URL in email as it happens that I ignore emails without it.
We got a lot of trash emails as everyone, but those with URL we never miss.

Last edited by Nuevolab (2014-02-06 09:42:59)

Offline

#20 2014-02-06 06:55:08

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

Re: [FIXED IN 1.0.9] Embed not working with cache

@Nuevolab: did you get my email? If not, please let me know and i will send another one. Sorry for hijacking your thread MrPulse.


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

Offline

#21 2014-02-06 09:40:37

Nuevolab
Member
Registered: 2012-08-01
Posts: 189

Re: [FIXED IN 1.0.9] Embed not working with cache

OMG, I sent reply from Nuevolab gmail account almost immediately.
As your email was also gmail can you check it including spam box?
Anyway at the moment I sent another email from nuevolab admin account.
If you still miss my email, let me know, I will use other email.

Offline

#22 2014-02-06 17:45:22

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

Re: [FIXED IN 1.0.9] Embed not working with cache

Got it. Thank you.


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

Offline

Board footer

Powered by FluxBB