We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Comment photo attachments not working. (Solved) | Forum

JoshWho
JoshWho Apr 27 '15
i disabled as3 and still same thing. ran all sorts of test and cant figure this out. i disabled all caching engines and have full deveolpment mode on for cdn and oxwall and nothing is solving this issue. I disabled all 3rd party plugins and it did not change the issue. 
ross Team
ross Apr 27 '15
Josh, PM me your admin and CPanel access details, I"ll take a look at the issue. 
JoshWho
JoshWho Apr 27 '15
Pm Sent
JoshWho
JoshWho Apr 28 '15
so is it a bug?
ross Team
ross Apr 28 '15

For some reason some of the script are embedded in the tags <script type="text/rocketscript">

but supposed to be embedded in<script type="text/javascript">

This happens to the script which displays the image uploaded in the comment <script type="text/rocketscript"> which is why it is not executing. It is related to 

the CloudFlare, not plugin, but it's server settings, you will need to contact their support team to resolve the issue with the tags.

JoshWho
JoshWho Apr 28 '15
is it physically in the script or virtually? im seeing this in the source buddylist.co/base/attachment/add-photo/?flUid=user-status_259_83785712


Cloudflare is just dynamically & Virtually added. The Local Server side doesn't see that. It suppose to translate out without any errors. 


Seems like this is a bug because it is not correctly inserted. If it was then cloudflare would have no issues with it.


Something was changed in this new 1.7.3 update that made this this error happen. With 1.7.2 I had no problems. I didn't change anything. All i did was upgrade.

The Forum post is edited by JoshWho Apr 28 '15
JoshWho
JoshWho Apr 28 '15
so where is that script being called from?
ross Team
ross Apr 28 '15
I don't understand you, what script are you referring to?

if you open view page source you'll see what i'm talking about. This happens on the server side, our soft gives the content and code as it should be - the Cloudflare caches it, CONVERTS and passes to the browser

JoshWho
JoshWho Apr 28 '15
exactly. im saying if this was correct then cloudflare would be able to read it. i bet it is 2 java scripts sharing the same resource some where. Looking through the source I see several things calling from rocketscript and they all work fine.




<script type="text/rocketscript" data-rocketsrc="http://buddylist.co/.../ow.js?553f538d41422"></script><script type="text/rocketscript" data-rocketsrc="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5444f4c864cf7c39&async=1"></script><script data-rocketsrc="http://buddylist.co/...eed.jc.GEO0T_vhTx.js" type="text/rocketscript"></script><script type="text/rocketscript">eval(mod_pagespeed_DDVxRDfcIS);</script><script type="text/rocketscript">eval(mod_pagespeed_nUDrDHkPV5);</script><script type="text/rocketscript" data-rocketsrc="http://buddylist.co/...eed.jm.8oxCB8ix0b.js"></script><script type="text/rocketscript" data-rocketsrc="http://buddylist.co/...eed.jm.5cGpf_ci9P.js"></script><script data-rocketsrc="http://buddylist.co/...eed.jc.U4nHG5DchE.js" type="text/rocketscript"></script><script type="text/rocketscript">eval(mod_pagespeed_qPxpqiIMwt);</script><script type="text/rocketscript">eval(mod_pagespeed_nRsJ02bRIZ);</script><script type="text/rocketscript">eval(mod_pagespeed_mz24TrNgP4);</script><script type="text/rocketscript">eval(mod_pagespeed_$L_0zo8md4);</script><script type="text/rocketscript">eval(mod_pagespeed_rytG6DkEfu);</script><script type="text/rocketscript">eval(mod_pagespeed_$XYsiPdNM2);</script><script data-rocketsrc="http://buddylist.co/...eed.jc.HfPesHj5Lw.js" type="text/rocketscript"></script><script type="text/rocketscript">eval(mod_pagespeed_XHtpgZQvb4);</script><script type="text/rocketscript">eval(mod_pagespeed_DF6IQbdWsS);</script><script type="text/rocketscript">eval(mod_pagespeed_uSIlGepWTa);</script><script type="text/rocketscript">eval(mod_pagespeed_GZOAe9Y$5r);</script><script type="text/rocketscript">eval(mod_pagespeed_lf348BMexO);</script><script type="text/rocketscript">eval(mod_pagespeed_8JYgjacrPY);</script><script data-rocketsrc="http://buddylist.co/...eed.jc.5v3ftYrO7_.js" type="text/rocketscript"></script><script type="text/rocketscript">eval(mod_pagespeed_uvhUDczlid);</script><script type="text/rocketscript">eval(mod_pagespeed_QmymbeH8mi);</script><script type="text/rocketscript">eval(mod_pagespeed_6C58_ii9tV);</script><script type="text/rocketscript">eval(mod_pagespeed__442gWTs6E);</script><script type="text/rocketscript">eval(mod_pagespeed_UErE6SwJAk);</script><script type="text/rocketscript">eval(mod_pagespeed_L_0oXtqJwY);</script><script type="text/rocketscript">eval(mod_pagespeed_BQQzE4U2fu);</script><script data-rocketsrc="http://buddylist.co/...eed.jc.bc7s8iODQy.js" type="text/rocketscript"></script><script type="text/rocketscript">eval(mod_pagespeed_MqYu_s4Zxe);</script><script type="text/rocketscript">eval(mod_pagespeed_2AnKlT_I2h);</script><script type="text/rocketscript" data-rocketsrc="http://buddylist.co/...eed.jm.JYq5cVM1uU.js"></script><script data-rocketsrc="http://buddylist.co/...eed.jc.yFkreLbbrf.js" type="text/rocketscript"></script><script type="text/rocketscript">eval(mod_pagespeed_MTubj2vFlZ);</script><script type="text/rocketscript">eval(mod_pagespeed_EX2NXvGsHq);</script><script type="text/rocketscript">(function(){;window["addNewPhoto553f6ee36fa70"]=function()

The Forum post is edited by JoshWho Apr 28 '15
JoshWho
JoshWho Apr 28 '15

This is a work around for it right now. 


Rocket Loader is a general-purpose asynchronous JavaScript loader coupled with a lightweight virtual browser which can safely run any JavaScript code after window.onload. 


Turning on Rocket Loader will immediately improve a web page's window.onload time (assuming there is JavaScript on the page), which can have a positive impact on your Google search ranking.


Here are the different settings that can be found for Rocket Loader under your CloudFlare account's performance settings:


Automatic Mode: Rocket Loader will automatically run on the JavaScript resources on your site, with no configuration required after turning on automatic mode.


Manual Mode: In order to have Rocket Loader execute for a particular script, you must add the following attribute to the script tag: "data-cfasync='true'". As your page passes through CloudFlare, we'll enable Rocket Loader for that particular script. All other JavaScript will continue to execute without CloudFlare touching the script.


Please note that: 


1. Adding the 'data-cfasync' attribute within JS will not work to exclude the script from Rocket Loader.

2. The 'data-cfasync' attribute must be added before the 'src' attribute. 

3. Rocket loader will recognize the tag when either single or double quotes are placed around the attribute value. 

The Forum post is edited by JoshWho Apr 28 '15
Chris
Chris Jun 18 '15
Are you saying that Rocket loader must be set to manual and that we must add data-cfasync' attribute must be added before the 'src' attribute.  In which file do we do that?
ross Team
ross Jun 18 '15
Chris you can submit request to support team here: https://support.cloudflare.com/hc/en-us/categories/200276217 they will assist you with Rocket loader configuration. 
Unus
Unus Mar 17 '16
hi Josh, if you don't mind what theme is this?
Quote from JoshWho .

tammy harris
tammy harris Mar 17 '16
Ross do u remember me asking about 3rd party plugins and cloud flare

You answer was 3rd party plugin must work with default plugin 

If 3rd party plugins must work with default plugin cloud file the oxwall and it's plugins should work with cloudflare

tammy harris
tammy harris Mar 17 '16
You will go mad try add it to every file that needs it and after few months when u get them all oxwall will update and u have start again 
tammy harris
tammy harris Mar 17 '16
Please remove the solved and change it to dodged
Pages: « 1 2