4952 Posts in 14417 Topics by 1491 members
|Go to End|
7 May 2010 at 6:34pm
I did a fresh install on Windows 2008R2, IIS7.
It seams to be running, except I can not log in to the CMS.
sswebsite/admin/ gives me a Error 500
All Logs are activated
// log errors and warnings
SS_Log::add_writer(new SS_LogFileWriter('/log/'), SS_Log::WARN, '<=');
But it is not logging anything.
However, in IIS I get a Error 500 0 0 328
Maybe something with the URL-Rewrite-Modul? Or how could I trace this?
8 May 2010 at 12:03pm Last edited: 8 May 2010 12:07pm
In IIS manager, go to Errors and enable detailed errors. This might give you a few more clues as to why the error occurs.
IIS generally gobbles up the errors unless you tell it not to, or unless you browse the site locally on the server.
FYI, I've installed SilverStripe on many IIS 7.x with SQL Server 2008 installations using the installer and it's been a smooth process.
Check that you've got the IIS URL Rewrite module installed too. Find it here: http://www.iis.net/download/URLRewrite
Hope this helps!
8 May 2010 at 5:18pm
It(error 500)often appears when i open the window.
9 May 2010 at 12:23am
Thank you for your answer, Sean
Since 2.4 is a new release I report my conditions. It might help to get it as clean as possible.
2.3 ran (almost) perfect. But before I wanted to go about a strange behavior I wanted to upgrade. And that is the point when I got stuck and had to turn to this forum. It might be that the installation (Webinstaller) works fine. But if you upgrade you encounter problems. So I did a clean install on a machine that 2.3 was running fine.
after extensive trying I got Silverstripe to log. The logflie paths should look something like this: "/inetpub/log/ss.log" starting from the drive where PHP is located, so in most cases c:. "/log/" will not work. There's got to be a logfilename! Maybe a note in the config file would save time for others.
the Logfile states: " Error at \sapphire\thirdparty\Zend\Cache.php line 208: Uncaught Zend_Cache_Exception: cache_dir is not writable"
finding out with procmon I can see that PHP tries to access c:/windows/temp/
concluding ss tries to cache files in c:/windows/temp/
so how can I set the cache_dir ?
9 May 2010 at 12:32am
setting the cache_dir explicitly in /sapphire/thirdparty/Zend/Cache/Backend/File.php:90 to my silverstripe-cache directory helped.
I think it is a SS 2.4 issue, looking at this thread:
9 May 2010 at 10:47am Last edited: 9 May 2010 10:52am
In Windows Explorer, browse to C:\Windows\, right click the Temp directory and select Properties.
Click the Security tab, proceed through any message of warning and give the Users group read and write access using the checkboxes.
PHP / SilverStripe should now be able to write into C:\Windows\Temp\
|Go to Top|