This used to work fine but we've just moved the site from the development area to httpdocs. I've changed all relevant MySQL entries and file paths, but still we're having this error.
In the Apache error log, This is the corresponding error:
client denied by server configuration: /var/www/vhosts/website.com/httpdocs/var/www/vhosts...
It looks like it is getting the wrong path somehow, as the /var/www/vhosts is repeating.
I did try using powergrep to locate where the path is getting set, but it didn't return any results.
Is there a setting which I can specify the exact path?
First of all, check your PHP log, it will give you a detailed info about this error.
Have you checked your permissions?
The folders var and media must be writtable.
And also, could you see correctly the homepage, categories and the error only appears when you log in?
Best regards.
Related
I'm using codeigniter project (opensourcepos). I have done all configurations as said but there's an error.enter image description here
Please help me out...
I have tried to change the .htaccess file many times but in vain...
It looks like the actual error is not being displayed so you can't properly diagnostic it.
Depending on the CI settings and version (please specify) it hides the error and only shows a standard server 500.
Details:
https://codeigniter.com/user_guide/general/errors.html
I put a downloaded file from DVWA in /opt/lampp/htdocs
and change config.inc.php.dist to config.inc.php
but when I open localhost/DVWA this is what shows up:
This page isn’t working localhost is currently unable to handle this
request. HTTP ERROR 500
From the spec:
The 500 (Internal Server Error) status code indicates that the server
encountered an unexpected condition that prevented it from fulfilling
the request.
Since this is the only piece of information you are delivering, some suggestions may be :
Check what the error log file says. You can find it in this location /opt/lampp/logs/error_log . You will find more information about the problem there
Check this question, I think that your problem is similar to that one, checking it may help you.
I cant seem to find the error log of authorize.net api.
I have Laravel application which uses "authorizenet/authorizenet" package and the code where I try to create a customer profile, I get following error:
"Error getting valid response from API. Check log file for error details"
Can anyone tell me whereto find these logs? and what it's name?
I tried in /var/logs folder but i cant seem to find it.
if someone else has this issue, here is the solution.
The authorize.net has changed their endpoints from https://api.authorize.net to https://api2.authorize.net which is one of the possible reasons that you might get this error.
So if you are hardcoding these endpoints in your code then update it to the new one or if you are using library constant for it, same as me:
\net\authorize\api\constants\ANetEnvironment::SANDBOX
\net\authorize\api\constants\ANetEnvironment::PRODUCTION
Then simply update your library by running:
composer update authorizenet/authorizenet
This is how I resolved it and it seems to be the best way so far because it will update their library to take everything up to date if they have changes something else and you started experiencing this issue.
I hope it helps
I followed the setup to deploy laravel app on fortrabbit but now I am stuck with this error:
Error 403
Internal server error
Overload: More requests than the App can handle.
A script stops with an error. Are your config files up to date? Maybe turn on debugging to trace the error.
There is an error in the .htaccess file.
Something else. Please check the fortrabbit status.
I have checked the configurations but I keep find a cause for that or even a solution for this issue.
That's not really a good question to post her on StackOverflow. It's too specific - probably App- or even service-related. For such cases: please try customer support.
I made a template which works perfectly fine locally, but when I install it on a server and set it to default, I get a server error 500. All other (default) templates seem to be working fine, though... Any ideas?
View this tutorial (Admin Tools - Change Folder and File Permissions):
http://www.ostraining.com/blog/joomla/admin-tools-the-quick-and-easy-way-to-change-folder-and-file-permissions/
You may want to check your server error log to see if there is anything more detailed.
500 is a generic error (if no other information is provied by Joomla!).