10394 Posts in 2203 Topics by 1714 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 890 Views |
-
Newsletter Modules (install problem)

29 January 2010 at 11:37pm
Hi all.
First of all, thanks to SS and i love it to bits
I am having some "issues" with the Newsletter install.
I copy the folder to the root directory:
C:\wamp\www\silverstripe-HCA
i rename the folder to "newsletter"
i visit http://localhost/silverstripe-HCA/dev/build
it all installs ok, but when im in the admin menu and click on the "newsletter" tab it loads but i get:
[Warning] file_get_contents(C:/wamp/www/silverstripe-HCA/cms/javascript/tinymce.template.js) [function.file-get-contents]: failed to open stream: No such file or directory
GET /silverstripe-HCA/admin/newsletter/Line 472 in C:\wamp\www\silverstripe-HCA\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);Trace
* file_get_contents(C:/wamp/www/silverstripe-HCA/cms/javascript/tinymce.template.js)
Line 472 of Requirements.php
* Requirements_Backend->javascriptTemplate(cms/javascript/tinymce.template.js,Array,)
Line 133 of Requirements.php
* Requirements::javascriptTemplate(cms/javascript/tinymce.template.js,Array)
Line 73 of NewsletterAdmin.php
* NewsletterAdmin->init()
Line 110 of Controller.php
* Controller->handleRequest(HTTPRequest)
Line 277 of Director.php
* Director::handleRequest(HTTPRequest,Session)
Line 121 of Director.php
* Director::direct(/admin/newsletter/)
Line 118 of main.phpany one got any idea / help if pos?
thanks
-
Re: Newsletter Modules (install problem)

30 January 2010 at 12:34am
update - have copied the trunk (modules_newsletter_trunk-r97797.zip) files over the stable (newsletter0.1) and it appears to work. dont know if it will as its still a localhost but the admin page now works.
| 890 Views | ||
|
Page:
1
|
Go to Top |

