简体   繁体   中英

Getting Internal server error in cpanel after uploading drupal7 project

我遇到了一个严重的问题。我在localhost上运行了我的drupal7项目。我尝试将我的项目上传到cpanels public_html夹。但是在我完成整个项目的上传之后,我收到了500 Internal server error 。我确定我没有我没有编辑过任何code-wise 。在收到此错误后,我SymLinks了一下并发现它可能是由于SymLinks.htaccess文件引起的。我尝试对其进行少量编辑。但是它没有解决我的问题。有人可以帮我这个忙。谢谢。

In most of the cases such error messages is caused due to the .htaccess file.Have you edited your .htaccess file while you were working on your localhost .If so, that change might be the culprit that prevents your precious site from being loaded.If you have no idea on what you have edited replace that file with the default drupal's .htaccess file.

If you still find it not working try checking the Error Log from the Logs section in cPanels . It might show what your problem is with your site.

Try checking the file permissions .Check if your folders and files are given not more or less that their deserved permission .Also try checking if the permission of index.php file in your project.If it is set to 777 permission,try giving it something like a 644 or 744 permission.Hope that might help u mate.. :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM