1043 Posts in 379 Topics by 373 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1768 Views |
-
From 2.3.1 to 2.3.2 error on NewsLetter Module

24 June 2009 at 1:42am
In admin area, after upgrade, I've this error:
[Warning] file_get_contents(C:/xampp/htdocs/ss/cms/javascript/tinymce.template.js) [function.file-get-contents]: failed to open stream: No such file or directory
GET /ss/admin/newsletter/Line 472 in C:\xampp\htdocs\ss\sapphire\core\Requirements.php
Source463
464 }
465
466 /**
467 * Load the given javascript template with the page.
468 * @param file The template file to load.
469 * @param vars The array of variables to load. These variables are loaded via string search & replace.
470 */
471 function javascriptTemplate($file, $vars, $uniquenessID = null) {
472 $script = file_get_contents(Director::getAbsFile($file));
473 foreach($vars as $k => $v) {
474 $search[] = '$' . $k;
475 $replace[] = str_replace("\\'","'", Convert::raw2js($v));
476 }
477 $script = str_replace($search, $replace, $script);
478 $this->customScript($script, $uniquenessID); -
Re: From 2.3.1 to 2.3.2 error on NewsLetter Module

24 June 2009 at 1:44am
In 2.3.2 version, file tinymce.template.js is missing.
I've copied from 2.3.1 -
Re: From 2.3.1 to 2.3.2 error on NewsLetter Module

24 June 2009 at 1:08pm Last edited: 24 June 2009 1:09pm
I believe that the trunk version of the newlsetter module will work without that modification, but your fix should be okay for your need.
FYI: The tinymce.template.js file wasn't forgotten, it was intentionally removed.
-
Re: From 2.3.1 to 2.3.2 error on NewsLetter Module

24 June 2009 at 8:52pm
No...without that file, don't work. If I remove it, I have error again..
-
Re: From 2.3.1 to 2.3.2 error on NewsLetter Module

25 June 2009 at 11:25pm
Which version of the newsletter module are you using?
This error comes with the 'stable' version. The 'unstable' trunk version no longer has this problem - and should be stable enough for production, according to Sam in this post
-
Re: From 2.3.1 to 2.3.2 error on NewsLetter Module

27 June 2009 at 1:07am
Oh... I'm using stabe branch... but I can not to use unstable version in production... If unstable > stable then you can promote unstable to stable version ... -
))))
| 1768 Views | ||
|
Page:
1
|
Go to Top |

