500 Internal Server Error Courtesy of the Zend Optimizer
Posted by Hans de Ruiter
Last night I went to log in to the CMS administrator pages for this website in order to add to this website. To my horror, I was greeted with a 500 Internal Server Error. This was quite puzzling since it had worked fine up until that day. For the next several hours, emails flew back and forth between kiwihosting.net.nz technical support and me, as we collectively searched for a solution. I suspected that they had changed something on the server that resulted in this problem. However, they stated that they had not made any changes for several weeks. The error looked serious, since PHP performed a 48 MiB core dump every time that page was accessed.
Installing Silverstripe on Kiwihosting.net.nz
Posted by Hans de Ruiter
Following up from one of the previous blog posts, I have deleted all the extra rewrite rules from the .htaccess file, and the CMS operates perfectly. So, here are the installation instructions for anyone wishing to use Silverstripe with kiwihosting.net.nz. These instructions may also solve problems on other hosts.
The URL Base Prepending Culprit has been Found
Posted by Hans de Ruiter
Previously I noticed that the CMS was sometimes prepending additional directories to the URL in links, but was at a loss to explain why. My solution at the time was to add more rewrite rules to the .htaccess file. However, today I noticed that the problem was still there, this time with the blog pages.
More CMS troubles
Posted by Hans de Ruiter
It would appear that I did not solve quite all the compatibility issues between Silverstripe and my web-host. Yesterday I was unable to upload files. The problem? It was once-again searching for files in the wrong locations. For some reason, it still insists on prepending "/admin/assets" to URLs - sometimes multiple times - when in the file uploads section.