Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

All correct at the install screen and yet a lot of trouble


Reply

1016 Views

Avatar
Zet Weeh

28 February 2009 at 2:52am Community Member, 1 Post

I am a new customer. I use EasyPHP and i modified all so everything on the install-screen was green.
When i restart I got the next messages:

[Warning] fopen(C:\DOCUME~1\Peter\LOCALS~1\Temp\/silverstripe-cacheC--Documents-and-Settings-Peter-Mijn-documenten-WWW-Silver-SilverStripe/.cacheC..Documents and Settings.Peter.Mijn documenten.WWW Silver.SilverStripe.themes.blackcandy.templates.Layout.Page.ss) [function.fopen]: failed to open stream: No such file or directory
GET /Silver/SilverStripe/
Line 319 in C:\Documents and Settings\Peter\Mijn documenten\WWW Silver\SilverStripe\sapphire\core\SSViewer.php

Source
310
311       $lastEdited = filemtime($template);
312
313       if(!file_exists($cacheFile) || filemtime($cacheFile) < $lastEdited || isset($_GET['flush'])) {
314          if(isset($_GET['debug_profile'])) Profiler::mark("SSViewer::process - compile", " for $template");
315          
316          $content = file_get_contents($template);
317          $content = SSViewer::parseTemplateContent($content, $template);
318          
319          $fh = fopen($cacheFile,'w');
320          fwrite($fh, $content);
321          fclose($fh);
322
323          if(isset($_GET['debug_profile'])) Profiler::unmark("SSViewer::process - compile", " for $template");
324       }
325    
Trace
fopen(C:\DOCUME~1\Peter\LOCALS~1\Temp\/silverstripe-cacheC--Documents-and-Settings-Peter-Mijn-documenten-WWW-Silver-SilverStripe/.cacheC..Documents and Settings.Peter.Mijn documenten.WWW Silver.SilverStripe.themes.blackcandy.templates.Layout.Page.ss,w)
Line 319 of SSViewer.php
SSViewer->process(Page_Controller)
Line 342 of SSViewer.php
SSViewer->process(Page_Controller)
Line 175 of Controller.php
Controller->handleAction(HTTPRequest)
Line 107 of RequestHandler.php
RequestHandler->handleRequest(HTTPRequest)
Line 122 of Controller.php
Controller->handleRequest(HTTPRequest)
Line 19 of ModelAsController.php
ModelAsController->handleRequest(HTTPRequest)
Line 27 of RootURLController.php
RootURLController->handleRequest(HTTPRequest)
Line 262 of Director.php
Director::handleRequest(HTTPRequest,Session)
Line 106 of Director.php
Director::direct(/)
Line 115 of main.php

Can someone help me?
I don't know what to do now!

Zet Weeh from Holland

PS.
In the attachement is the same file

Attached Files