I AM RECEIVING 500 ERROR MESSAGE AFTER UPLOADING FILES, AND TYPING URL

alt=
MINDSILVER
@mindsilver
10 years ago
8 posts
Hello, I've just finished uploading my files, and I receive a 500 error when entering site url; My host is Arvixe.com, and they did assure me that I should be "good to go"! I have researched, and found that many people have had 500 errors on their pages, but I do know if they were fresh/clean installs. They stated change permission numbers for folders to 755, and all files to 644; however I don know if this solution will apply to me. If it does then what is it that should be done? Change "all" folders to 755, and every "file" in every folder to 644?
What to do Please help!
updated by @mindsilver: 06/10/14 06:27:28PM
brian
@brian
10 years ago
10,148 posts
I just got done doing testing on Arvixe and had no issues - a 500 error usually comes from the .htaccess file - can you see what the error is coming from the web server error log?

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
MINDSILVER
@mindsilver
10 years ago
8 posts
Here I found these two, and I hope that it helps! Thanks:

[Sun Apr 27 12:07:20 2014] [error] [client 76.181.150.7] SoftException in Application.cpp:256: File "/home/hotice/public_html/kansascity/modules/jrCore/router.php" is writeable by group
[Sun Apr 27 12:07:20 2014] [error] [client 76.181.150.7] SoftException in Application.cpp:256: File "/home/hotice/public_html/kansascity/modules/jrCore/router.php" is writeable by group

It appears that I should change the permissions for the "router.php file to "readable/non-writeable" only correct?
alt=
MINDSILVER
@mindsilver
10 years ago
8 posts
I did change the "router.php" file (found in "modules/jrcore" folder) to 755, and I received this from Firefox:

Firefox can't find the server at kansacity.hottunes.net.

Check the address for typing errors such as ww.example.com instead of www.example.com
If you are unable to load any pages, check your computer's network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

I am no longer getting the "500" error message. I changed the permissions bac to "777", and I still am not getting the old "500" error message. I'm only receiving the "Firefox can't find server" message.

FYI, I have the domain routed through "Cloudflare", but I don't know if this would be a factor. This looks like an easy fix, so I'm not as stressed about the situation as I was last night Thanks!
alt=
MINDSILVER
@mindsilver
10 years ago
8 posts
So maybe it is the ".htaccess file", but the error log reported the "router.php" file. Maybe we should look into both of these files for the solution! Thanks
brian
@brian
10 years ago
10,148 posts
router.php is going to be reported alot just because that is JR's router - everything is routed through it.

Try recursively setting permissions on all the files to 600 and directories to 700 and see if that works - there's no need for the files to even be group read.

What FTP client are you using to put the files up on the server?

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
MINDSILVER
@mindsilver
10 years ago
8 posts
I've just finished changing "all" files to 600, and "all" folders to 700 with no luck; this was the message received:

Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
alt=
MINDSILVER
@mindsilver
10 years ago
8 posts
Here is the new error log report:

[Sun Apr 27 17:58:55 2014] [crit] [client 76.181.150.7] (13)Permission denied: /home/hotice/public_html/kansascity/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Apr 27 17:58:55 2014] [crit] [client 76.181.150.7] (13)Permission denied: /home/hotice/public_html/kansascity/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
michael
@michael
10 years ago
7,714 posts
I've seen that happen in the past before too. When you use the trick of:
* upload the .zip file to the cpanel server.
* go into cpanel's "File Manager"
* extract the .zip file.

What happens is the file permissions are preserved from whatever they were in the .zip file.

What you can do (but its a hassle) is to go through each of the files that were extracted and change them to the permissions they are supposed to be set at.

OR, (what I normally would do) is to extract the .zip file on my local machine then upload them via FTP.

What happens is that when you upload them in the extracted form is they get the correct permissions set when they are uploaded to the server.

See if that helps.

--edit--
regarding that error if you _dont_ want to try the FTP method above. http://stackoverflow.com/questions/15607300/htaccess-pcfg-openfile-unable-to-check-htaccess-file-ensure-it-is-readable-and

Seams like an owership issue. Try deleting the .htaccess file and uploading a new copy of it via FTP.
updated by @michael: 04/27/14 07:00:22PM
alt=
MINDSILVER
@mindsilver
10 years ago
8 posts
OKay, looking good now. I've just installed, but on systems check I have received a red flag that states this:
"modules/jrCore/tools/ffmpeg is not functioning properly"
Is this something that my hosting company have to address with their "ffmpeg", or is this something that I address in the files themselves?
michael
@michael
10 years ago
7,714 posts
You can fix it yourself if its anything like mine, where the error says its "Not Executable".

Open up the FTP program you use, locate that file, then check the checkbox to make the file executable.
ffmpeg-executable.png
ffmpeg-executable.png  •  101KB


updated by @michael: 04/28/14 10:44:30PM

Tags