Thank you. However I am still getting Permission Denied when I try to upload a new .htaccess file.
Error Log
Web hosting discussion, programming, and shared and dedicated servers.
31 posts
Page 2 of 4
DId you check the permissions on the old .htaccess? It is most likely set to read only for security.
I took a quick look through our error logs and didn't find anything relevant for your domain. Our default PHP settings for error reporting are not set so most issues won't be logged. "display_errors" is on so you'd see any types of fatal errors printed to the browser window.Error Log wrote:That'd be great. The domain is crystalsilenceleague.org
I am working as a contractor helping a friend. Unfortunately, I did not set up the original site. Any insight would be greatly appreciated!
I checked the .htaccess permissions and you should be able to edit the .htaccess file for the domain in question.
If you'd like, I can change it over to use PHP 5.5. Here's a .user.ini file that facilitates helpful error logging during development:
Code: Select all
error_log = /nfs/WWW_pages/YOUR_USERNAME/crystalsilenceleague.org/error.log
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
log_errors = On
Our default settings don't set an error reporting level, so some errors and warnings aren't displayed, and log_errors is off so we don't have them logged anywhere after the fact.
Drew Phillips
Programmer / System Operations, Sonic.net
Programmer / System Operations, Sonic.net
Actually, I lied. The .htaccess file in the domain folder had 444 permissions meaning read only. I thought you might have been trying to edit a different one. Permissions are fixed so you should now be able to save over it.ErrorLost wrote:Thank you. However I am still getting Permission Denied when I try to upload a new .htaccess file.
Drew Phillips
Programmer / System Operations, Sonic.net
Programmer / System Operations, Sonic.net
Thank you again. I was able to edit the .htaccess file.
I discovered that my htaccess file already had the following code
Yet, my info still shows Version 5.2.11
I've created a .USER.INI file as you suggested, but due to the PHP version it doesn't seem to like it.
Any suggestions? Thanks in advance.
I discovered that my htaccess file already had the following code
Code: Select all
Action php-cgi /cgi-bin/php55
AddHandler php-cgi .php
I've created a .USER.INI file as you suggested, but due to the PHP version it doesn't seem to like it.
Any suggestions? Thanks in advance.
I noticed that the .htaccess file you had this morning was referencing PHP 5.3, then further down PHP 5 (which defaults to 5.2). I cleaned those up for you into a single entry for php53.
I'm a proud employee of Sonic.net!
Thank you so much. You have been a great help!
Hello Again,
Thank you for your help in resolving my .htaccess issue. However, even after adding the Error log declaration I am not getting error.log to populate, however I am getting a 500 Server Error on one of the pages and I am having a hard time trying to figure out where my page is breaking. The code seems to be executing. The Database insert statement is functioning and the script that it triggers seems to be working. But instead of redirecting, it throws the 500 Server Error. Do you have any more suggestions that could help me see an error log. Shouldn't the 500 Server Error log somewhere?
Here is the page:
http://crystalsilenceleague.org/public/report_post.php
thank you in advance,
Thank you for your help in resolving my .htaccess issue. However, even after adding the Error log declaration I am not getting error.log to populate, however I am getting a 500 Server Error on one of the pages and I am having a hard time trying to figure out where my page is breaking. The code seems to be executing. The Database insert statement is functioning and the script that it triggers seems to be working. But instead of redirecting, it throws the 500 Server Error. Do you have any more suggestions that could help me see an error log. Shouldn't the 500 Server Error log somewhere?
Here is the page:
http://crystalsilenceleague.org/public/report_post.php
thank you in advance,
Hi, I can see you submitting. I just saw an Error Log in the directory. Thank you so much! I think this will really help.
Strange that the 500 Server Error doesn't show up in the error.log?
31 posts
Page 2 of 4
Who is online
In total there are 82 users online :: 0 registered, 0 hidden and 82 guests (based on users active over the past 5 minutes)
Most users ever online was 999 on Mon May 10, 2021 1:02 am
Users browsing this forum: No registered users and 82 guests
Most users ever online was 999 on Mon May 10, 2021 1:02 am
Users browsing this forum: No registered users and 82 guests