desoxire Posted August 26, 2015 Share Posted August 26, 2015 Dear community! Currently I can not solve the following problem: I set up prestashop on a webspace "mw". When everything was fine I transvered the files and the database to my productive webspace "ms" and changed the domain settings to the new subdomain. I also cleared the cache. Now I have the problem, that on some computers I can't see the tinyMCE Editor in the product view and in the CMS article view. The chrome console (Strg + Shift + j) shows the attached errors ("scr_chrome.jpg" - ). Another error is, that there is no product category associated (checked) although there were categories selected before. I tried to re-upload the js files again but this didn't change anything. Is it possible, that a wrong php setting of my "ms" server causes this error? I've attached both info.php files: PHPINFO_WEBSPACE-MW.HTM (phpinfo_webspace-ms.htm): This is the info file of the webspace, where everything works fine PHPINFO_WEBSPACE-MS.HTM (phpinfo_webspace-mw.htm): This is the info file of the webspace, where the errors occurs I use the latest version of prestashop 1.6.1.1 Can anyone give me a hint woh to solve this? Thanks a lot! Link to comment Share on other sites More sharing options...
vekia Posted August 27, 2015 Share Posted August 27, 2015 tinymce is not related to php. what you've got in the tinymce.inc.js at line 44 ?also check page source please, verify if there is a file <script type="text/javascript" src="/1611/js/tiny_mce/tinymce.min.js"></script> Link to comment Share on other sites More sharing options...
desoxire Posted August 27, 2015 Author Share Posted August 27, 2015 @ tinymce.inc.js at line 44 is (link): tinyMCE.init(config); The file js/tiny_mce/tinymce.min.js exists (link). Can you see a mistake? Link to comment Share on other sites More sharing options...
vekia Posted August 28, 2015 Share Posted August 28, 2015 okay it exists, but it is included to website ? you can search for it in "view page source" Ctr+U on your website where you see errors you mentioned Link to comment Share on other sites More sharing options...
desoxire Posted August 28, 2015 Author Share Posted August 28, 2015 Hi! The following two tinymce files are included in my head-section: <script type="text/javascript" src="/js/tiny_mce/tiny_mce.js"></script> <script type="text/javascript" src="/js/admin/tinymce.inc.js"></script> Thank you for your efforts! Link to comment Share on other sites More sharing options...
vekia Posted August 30, 2015 Share Posted August 30, 2015 there should be 3 files: seems like this is a problem, that this file is not included to heading section Link to comment Share on other sites More sharing options...
desoxire Posted August 30, 2015 Author Share Posted August 30, 2015 To test this I added the tinymce.min.js file at controllers/admin/AdminProductsController.php file @ line 1465. This document is now includet to the product admin view. But when I open the product view no editor is visible: Link to comment Share on other sites More sharing options...
vekia Posted August 31, 2015 Share Posted August 31, 2015 now you probably have other js errors in your console can you verify it? Link to comment Share on other sites More sharing options...
desoxire Posted August 31, 2015 Author Share Posted August 31, 2015 Currently I get the following Errors: It seems, as if there is anywhere a wrong link, because the script link is http://js/tiny_mce/tinymce.min.js?_=1441047982183 and this is of course not correct... source: "//js/tiny_mce" baseURL: "//js/tiny_mce" The really really confusing thing is, that this error dowsn't occur an every cumputer. But there is no connectionbetween OS, Browser, Computer, User, ... THanks for your help! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now