Magento 500 internal server error
[Resolved]: Magento 500 internal server error
If you are getting “500 Internal Server Error” then the reason might be permissions issue or fatal error.
In Magento, you can check the errors occured in files:
var/log/system.log
var/log/exception.log
You can even allow the error to output to your browser by editing your Magento index.php with:
error_reporting(E_ALL | E_STRICT);
ini_set(‘display_errors’, 1);
Also, try this to solve the error:
– Check the owner of your magento project. It should be the server (www-data for apache)
chown -R www-data:www-data .
– Change the directory permissions to 755 and file permissions to 644 for your project
find . -type d -exec chmod 0755 {} \;
find . -type f -exec chmod 0644 {} \;
chmod 550 pear
chmod 550 mage
chmod 755 -R var
– Check after upgrade do you have your .htaccess file inside Magento root
15 Comments
Leave a comment
Welcome to my Blog
Certifications
Honor
Recognition
Contributions
Categories
- Apache (2)
- ChatGPT (1)
- Domain name (2)
- eCommerce (2)
- htaccess (1)
- Humor (3)
- Instagram API (1)
- jQuery (4)
- JSON (1)
- Linux (10)
- Magento (142)
- Magento admin (58)
- Magento Certification (5)
- Magento error (13)
- Magento frontend (68)
- Magento Imagine (2)
- Magento Interview (5)
- Magento Master (2)
- Magento2 (10)
- Mobile (1)
- MySQL (7)
- OpenAI (1)
- OroCRM (2)
- Performance (2)
- PHP (8)
- Prototype JS (3)
- Security (4)
- Wordpress (3)
- XML (2)
My magento site was running good but suddenly i got the problem in admin login. All of the site is working fine expect admin.
Please help me out.
what is the error? what problem you are talking about?
http://highnoteperformance.com/admin
this is the URL and the site was working fine suddenly i got the problem in admin only.
I have replaced the .htaccess also but not working.
Please help me out .
The problem is internal server error
when i open website it open correctly.but when i click on navigation item it show me
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator and inform them of the time the error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Apache Server at http://www.i-wannaparty.com Port 80
i am getting an error when cliking a add new product in seller dashboard
i am getting is error after writing this the above link so please give me any solutions for this…
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@kolkatabeadsjewels.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/0.9.8e-fips-rhel5 mod_python/3.3.1 Python/2.4.3 mod_bwlimited/1.4 Server at kolkatabeadsjewels.com Port 80
My site is running fine, but whenever I try to export all products it’s getting 500 internal server error. There are more than 12K products in my site.
Thanks
My magento site was running good but suddenly i got the problem in project.My site redirect only install wizard page and i am unable to open admin front page.So Please help me out.
Hello sir, we have almost 7000 thousands products in our site. i getting 500 internal server while Reindexing Catalog URL Rewrites. i already have changed memory_limit() in .ini file and .htaccess file but thats also didnt work. please give some advice to solve this error.
Hey, I noticed your website information here is really helpful. I was wondering if we can talk, I’ve a tiny little issue which I’m unable to solve. it would be really great if you could look at this.
main.CRITICAL: Warning: file_put_contents(pub/static/frontend/Sm/market/en_US/css/config_1.css): failed to open stream: No such file or directory in /home/******/********l/vantamart.com/app/design/frontend/Sm/market/Magento_Theme/templates/html/complie_less.phtml on line 112
I started getting this 500 internal error after importing theme data.
added you on skype
Hi Shaheer, the error indicates that it could not find the file at that location. Can you make sure you actually have complie_less.phtml file present in app/design/frontend/Sm/market/Magento_Theme/templates/html/ folder and it’s file/folder permissions are correct? If it looks good make sure to check the error logs as well to see for any additional errors. Finally, ask the theme provider to resolve this as they are responsible to fix any errors in their theme.
Hi, compile_less.phtml is right there with permission 644 and there’s is no other error message in log file. Theme provider won’t help since theme support period has expired long ago.
here is the code form line 112
file_put_contents( “pub/static/frontend/Sm/market/en_US/css/config_”.$store_id.”.css”, $out );
It would be great if you could help a little, thanks!
In the error the file name is complie_less.phtml while the file you checked is compile_less.phtml
Looks like a typo issue somewhere?
yeah xD I made that typo mistake in comment above, its complie_less.phtml
anyway, thank you for your help, I really appreciate it!