Hi! Can somebody help us fix this regarding our website?
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 bytes) in /home2/bismacco/public_html/framework/core/Config.php on line 479
Details of your query go here
// Include any relevant code. If you have a lot of code, link to a gist instead.
Pretty much impossible to help you fix it from such limited information, but the error message does tell you the underlying problem.
It says that the web server process is running out of memory when trying to handle the request. It’s often associated with doing image manipulations and other memory-intensive operations, but could be other things as well.
Given the size of the allowed memory, it may be that your server configuration is a bit conservative, and you just need to give PHP some more memory to play with.
The rest of the error message should tell you what the site was trying to do when it ran out of memory. If you’re seeing messages about Intervention or Assets, then it’s likely it was doing image manipulation. If that’s the case, you can try increasing the allowed memory, or resizing images to a smaller size before you upload them.
Lots of assumptions in my reply, but they might give you a start.
It is worth noting that the directory structure (framework/core/Config.php directly inside the public folder) suggests this is an old Silverstripe 3 installation that requires a completely outdated infrastructure to run.
That’s why we asked here in the forum. The source code of our website came from Silverstripe. We really don’t have access in the source code of our website. We have an admin page wherein we can alter the content of the website but this is inaccessible as well due to the error. Ever since, we didn’t have any access to the source code.
So (a) you cannot access the backend and (b) you cannot access the source code. And because of (b), you most likely (c) don’t have access to the server.
You could be a normal user trying to violate a Silverstripe website.
You need to know who hosts the website.
If you’ve lost your login credentials, the host can likely help you; of course, you’ll need to prove that you’re the rightful owner.
Typically, you’ll have access to an admin panel provided by the host and can access the server directly via FTP or SSH.
This is not the same as accessing the website through a browser.
I just wanted to pick up on this, so we’re completely clear.
In this case, Silverstripe CMS is the software on which your site is built, so you would have had a developer that actually set it all up and configured it. As @lugor mentioned, somewhere there will be some kind of access to the source code of your site. This will be via your hosting provider (looks like it might be Hostmonster / Bluehost if that’s any help)
For any developer to be able to help you, you’ll need to be able to get access to your hosting. Whether that is to make changes to the PHP configuration or to fix some issue in the code.
So, that’s the next step. You’ll need to gain access to the site code / hosting. Even if there wasn’t an issue with the site, you should definitely do this anyway, since right now you have no control over your own website.