Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Froala editor not showing in admin - SOLVED
Next Page
Author « Topic »
Page: of 2

1818charlie
ECT Moderator

United Kingdom
1180 Posts

Posted - 10/29/2018 :  19:54:29  
We have updated the store to 7.01 & the PHP version to 7.2.11. The MySQL version is 10.0.36-MariaDB-cll-lve. We have also added the Froala editor. Site is working fine but in the admin the Froala editor is not showing, see image link below
https://www.dropbox.com/s/jkrn45ow5j227nx/adw-froala-no-show.jpg?dl=0

The site uses a secondary vsadmin, both have been updated and both include files have the $htmleditor="froala";



Steve
Using ECT PHP versions since 2004 / 5

Edited by - 1818charlie on 11/01/2018 02:35:24

dbdave
ECT Moderator

USA
10277 Posts

Posted - 10/29/2018 :  23:41:28  
Can you check in other parts of the admin to see if it's working, say in category descriptions?
I have seen the admin products "jam up" like that with some html errors in product descriptions.

1818charlie
ECT Moderator

United Kingdom
1180 Posts

Posted - 10/30/2018 :  12:15:33  
Hi Dave,

It's the same across the whole admin where one would expect html editor fuctionality

Steve
Using ECT PHP versions since 2004 / 5

Andy
ECT Moderator

95440 Posts

Posted - 10/30/2018 :  12:42:01  
Hi

If you view source on an individual product admin page do you see reference to froala css or js files?

Andy

Please feel free to review / rate our software

1818charlie
ECT Moderator

United Kingdom
1180 Posts

Posted - 10/30/2018 :  12:54:12  
Hi Andy

In the source code of a admin product page these are the references to froala in the head section

<link rel="stylesheet" href="froala/css/froala_editor.min.css">
<link rel="stylesheet" href="froala/css/froala_style.min.css">
<link rel="stylesheet" href="froala/css/plugins/code_view.min.css">
<link rel="stylesheet" href="froala/css/plugins/colors.min.css">
<link rel="stylesheet" href="froala/css/plugins/fullscreen.min.css">
<link rel="stylesheet" href="froala/css/plugins/image_manager.min.css">
<link rel="stylesheet" href="froala/css/plugins/image.min.css">
<link rel="stylesheet" href="froala/css/plugins/table.min.css">
<link rel="stylesheet" href="froala/css/plugins/video.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.3.0/codemirror.min.css">

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.3.0/codemirror.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.3.0/mode/xml/xml.min.js"></script>
<script type="text/javascript" src="froala/js/froala_editor.min.js"></script>
<script type="text/javascript" src="froala/js/plugins/align.min.js"></script>
<script type="text/javascript" src="froala/js/plugins/code_beautifier.min.js"></script>
<script type="text/javascript" src="froala/js/plugins/code_view.min.js"></script>
<script type="text/javascript" src="froala/js/plugins/colors.min.js"></script>
<script type="text/javascript" src="froala/js/plugins/draggable.min.js"></script>
<script type="text/javascript" src="froala/js/plugins/font_family.min.js"></script>
<script type="text/javascript" src="froala/js/plugins/font_size.min.js"></script>
<script type="text/javascript" src="froala/js/plugins/fullscreen.min.js"></script>
<script type="text/javascript" src="froala/js/plugins/image.min.js"></script>
<script type="text/javascript" src="froala/js/plugins/image_manager.min.js"></script>
<script type="text/javascript" src="froala/js/plugins/link.min.js"></script>
<script type="text/javascript" src="froala/js/plugins/lists.min.js"></script>
<script type="text/javascript" src="froala/js/plugins/paragraph_format.min.js"></script>
<script type="text/javascript" src="froala/js/plugins/paragraph_style.min.js"></script>
<script type="text/javascript" src="froala/js/plugins/table.min.js"></script>
<script type="text/javascript" src="froala/js/plugins/video.min.js"></script>
<script type="text/javascript" src="froala/js/plugins/url.min.js"></script>
<script type="text/javascript" src="froala/js/plugins/entities.min.js"></script>

.. then about 90% down the page there's this lot


<script type="text/javascript">$('#pDescription').froalafroala/upload_image.php?loc=1'}).on('froalaEditor.focus',function(){expandckeditor("pDes",1);})</script>
<script type="text/javascript">$('#pLongDescription').froalaEditor({iframeStyle:"body{height:auto !important;background:none !important;display:block !important;border:10px !important;margin:8px !important;}",iframeStyleFiles:["../css/ectcart.css","../css/ectstyle.css","../css/style.css"],iframe:true,key:"IG1A3A3A1pD1D1E1A3E1J4A14B3A7C7kWd1WDPTa1ZNRGe1OC1c1==",toolbarButtons:['fullscreen','html','undo','redo','selectAll','clearFormatting','|','bold','italic','underline','strikeThrough','superscript','insertHR','|','fontFamily', 'fontSize', 'color', 'paragraphFormat','paragraphStyle','align','formatOL','formatUL','indent','outdent','|','insertImage','insertLink','insertVideo','insertTable'],htmlAllowedTags:['a','abbr','address','area','article','aside','audio','b','base','bdi','bdo','blockquote','br','button','canvas','caption','cite','code','col','colgroup','datalist','dd','del','details','dfn','dialog','div','dl','dt','ecttab','em','embed','fieldset','figcaption','figure','font','footer','form','h1','h2','h3','h4','h5','h6','header','hgroup','hr','i','iframe','img','input','ins','kbd','keygen','label','legend','li','link','main','map','mark','menu','menuitem','meter','nav','noscript','object','ol','optgroup','option','output','p','param','pre','progress','queue','rp','rt','ruby','s','samp','script','style','section','select','small','source','span','strike','strong','sub','summary','sup','table','tbody','td','textarea','tfoot','th','thead','time','title','tr','track','u','ul','var','video','wbr'],htmlAllowedAttrs:['accept','accept-charset','accesskey','action','align','allowfullscreen','allowtransparency','alt','async','autocomplete','autofocus','autoplay','autosave','background','bgcolor','border','charset','cellpadding','cellspacing','checked','cite','class','color','cols','colspan','content','contenteditable','contextmenu','controls','coords','data','data-.*','datetime','default','defer','dir','dirname','disabled','download','draggable','dropzone','enctype','face','for','form','formaction','frameborder','headers','height','hidden','high','href','hreflang','http-equiv','icon','id','ismap','itemprop','keytype','kind','label','lang','language','list','loop','low','max','maxlength','media','method','min','mozallowfullscreen','multiple','muted','name','novalidate','onblur','onchange','onclick','ondblclick','onerror','onfocus','onload','onselect','onsubmit','onreset','onkeydown','onkeypress','onkeyup','onmouseover','onmouseout','onmousedown','onmouseup','onmousemove','onresize','onunload','open','optimum','pattern','ping','placeholder','playsinline','poster','preload','pubdate','radiogroup','readonly','rel','required','reversed','rows','rowspan','sandbox','scope','scoped','scrolling','seamless','selected','shape','size','sizes','span','src','srcdoc','srclang','srcset','start','step','summary','spellcheck','style','tabindex','target','title','type','translate','usemap','value','valign','webkitallowfullscreen','width','wrap'],htmlAllowedEmptyTags:['.fa','a','ecttab','iframe','label','object','style','script','textarea','video'],htmlRemoveTags:[''],htmlDoNotWrapTags:['ecttab','script','style'],placeholderText:'Click to Edit Long Description',language: '',initOnClick:true,imageUploadURL:'froala/upload_image.php?loc=1'}).on('froalaEditor.focus',function(){expandckeditor("pLon",1);})</script>
<script type="text/javascript">



Steve
Using ECT PHP versions since 2004 / 5

Edited by - 1818charlie on 10/30/2018 13:15:57

Andy
ECT Moderator

95440 Posts

Posted - 10/30/2018 :  13:47:56  
Thzt looks ok. Do you definitely have the latest /froala/ folder uploaded to the renamed vsadmin folder?

Andy

Please feel free to review / rate our software

1818charlie
ECT Moderator

United Kingdom
1180 Posts

Posted - 10/30/2018 :  13:57:02  
Yes. Am I correct in thinking that the froala folder needs to be in the /vsadmin and the renamed /vsadmin folders - which is how it is?

The froala that is on the server is the one I downloaded from https://www.ecommercetemplates.com/free_downloads.asp at the weekend

Steve
Using ECT PHP versions since 2004 / 5

Edited by - 1818charlie on 10/30/2018 13:57:46

Andy
ECT Moderator

95440 Posts

Posted - 10/30/2018 :  14:43:46  
One last thing, can you open infuntions.php and check near the top of the code which version is reported?

Andy

Please feel free to review / rate our software

1818charlie
ECT Moderator

United Kingdom
1180 Posts

Posted - 10/30/2018 :  14:50:18  
Hi Andy

In both vsadmin the incfunctions.php file states 7.0.1.000

Something has dawned on me that a few months back someone posted that when changing php version to 7.0 that there are a few
extensions that may need checking in cpanel. I have searched for that posting on the forum but can't see it. I think these need
checking before we venture down another alley. I'll keep searching and see if I can find it.

Found it!!! https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=110209&whichpage=2 As Gary mentioned both extensions are selected


Steve
Using ECT PHP versions since 2004 / 5

Edited by - 1818charlie on 10/30/2018 16:04:01

Andy
ECT Moderator

95440 Posts

Posted - 10/31/2018 :  00:48:40  
Those components are more related to the image upload feature rather than the display. If you'd like to send me on your FTP details & control panel login I'll take a closer look for you.

Andy

Please feel free to review / rate our software

1818charlie
ECT Moderator

United Kingdom
1180 Posts

Posted - 10/31/2018 :  03:38:59  
Hi Andy,

Thanks, I will send on the FTP details to you later this evening once I'm back at HQ.

Steve
Using ECT PHP versions since 2004 / 5

Andy
ECT Moderator

95440 Posts

Posted - 11/01/2018 :  01:24:28  
It looks like you have a vsadmin folder located inside your renamed vsadmin folder - that is redundant and best to remove it as it will cause confusion like it may have done here.

I uploaded the froala files to the renamed vsadmin folder and assume that should be working now.

Andy

Please feel free to review / rate our software

1818charlie
ECT Moderator

United Kingdom
1180 Posts

Posted - 11/01/2018 :  02:34:43  
Andy,

Thanks for your time with that, most appreciated. Folder removed, Froala now showing.

*** Update Sunday 4th Nov ***

I removed the vsadmin folder within the renamed vsadmin folder as instructed. Having done so there is now no public facing website showing but the login to the admin works fine. Reinstating the vsadmin folder hasn't corrected the issue. Any ideas?

Steve
Using ECT PHP versions since 2004 / 5

Edited by - 1818charlie on 11/04/2018 09:39:34

Andy
ECT Moderator

95440 Posts

Posted - 11/04/2018 :  10:05:09  
I would check the PHP include lines in your pages' code to make sure they are pointing to vsadmin/db_conn_open.php etc and that those files are showing in the correct vsadmin folder.

Andy

Please feel free to review / rate our software

1818charlie
ECT Moderator

United Kingdom
1180 Posts

Posted - 11/04/2018 :  15:15:51  
Hi Andy

The very first entry in includes.php is $adminencoding="UTF-8"; - the double quotation marks
after the 8 were missing and on reinstating them that has solved the problem.




Steve
Using ECT PHP versions since 2004 / 5

agbr01895
Starting Member

United Kingdom
38 Posts

Pre-sales questions only
(More Details...)

Posted - 11/08/2018 :  09:43:36  
I also have a problem with Froala.

I was actually having a problem with the HTML editor before which just started yesterday for some random reason. We hadn't changed anything on the site and FCK or CK editor had been working fine.

I have now paid for the updater, installed it and also uploaded the Froala files.

I get the same issue as mentioned at the start of this post where the client just sees the HTML code in the long description fields.

I have added the following to the includes.php file:

$htmleditor="froala";

I've also added this as a global to see if that works but no joy.

Any help would be greatly appreciated as I have spent 5 hours on this now trying to fix.

Many thanks

Alan

Andy
ECT Moderator

95440 Posts

Posted - 11/08/2018 :  09:46:09  
Hi Alan

Did you update to 7.0.1 after purchasing the updater or are you on an earlier version?

Andy

Please feel free to review / rate our software

agbr01895
Starting Member

United Kingdom
38 Posts

Pre-sales questions only
(More Details...)

Posted - 11/08/2018 :  09:51:22  
Hi Andy,

Thanks for quick response. Yes, updated. It says I have Ecommerce Plus PHP v7.0.1 installed.

Andy
ECT Moderator

95440 Posts

Posted - 11/08/2018 :  09:55:53  
The problem for the original poster was not having the /froala/ folder inside the right /vsadmin/ folder - can you double check yours?

Andy

Please feel free to review / rate our software

agbr01895
Starting Member

United Kingdom
38 Posts

Pre-sales questions only
(More Details...)

Posted - 11/08/2018 :  09:57:36  
Yes, all triple checked.

Are you able to take a look if I ping you over the FTP details? If so, how should I send?

Alan

Andy
ECT Moderator

95440 Posts

Posted - 11/08/2018 :  09:59:08  
You can click on my name to send the email, best to send the control panel details too so I can see what's showing there.

Andy

Please feel free to review / rate our software
Page: of 2 « Topic »  
Next Page
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.05 seconds. Snitz Forums 2000