-1

I have a CodeIgniter website nulearnedu.in that works perfectly on my local and another VPS server. Now i have another hosting server by godaddy and I upload all the files and database on it. Now my website is not working getting an error "This page isn’t working, the website is currently unable to handle this request. HTTP ERROR 500".

I create a test page that is not linked with the MySQL database. That is working fine.

My .htaccess looks like this if it has something to do with it.

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

RewriteCond %{HTTP_HOST} ^nulearnedu.in [NC]
RewriteRule ^(.*)$ http://www.nulearnedu.in/$1 [L,R=301,NC]

9
  • Does this answer your question? How do I get PHP errors to display? Commented Jun 28, 2023 at 5:42
  • No, 'display_errors = on' but there is no error showing in log file Commented Jun 28, 2023 at 5:49
  • 1
    Check the Apache log file too, 500 errors can sometimes come from the webserver rather than PHP Commented Jun 28, 2023 at 8:33
  • @ADyson I am not able to find Apache log file in GoDaddy shared hosting plan Commented Jun 28, 2023 at 9:28
  • You could ask the hosting provider if they can see anything, then. Also have you tried to narrow it down at all, e.g. by removing or editing the htaccess to see if it removes the problem? Commented Jun 28, 2023 at 9:30

1 Answer 1

-1

Try changing your config/app.php file, the $baseURL, to the new domain.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.