Tuesday, March 21, 2017

laravel website upload on cpanel error

i have been trying to upload the website on a shared hosting .in the cpanel,file manager root directory i made a folder called laravel and kept all the files except public files which i have kept in the public_html.... .i changed my index.php to ../laravel/bootstrap now as far as i know it should be showing a sql error but it not.it is showing me a blank white page.when i click on the source code there is no source code.it is totally empty like it is not able to acess the views of my laravel folder and in error logs the error is '/ [Tue Mar 21 15:56:28.259166 2017] [core:crit] [pid 19184] (13)Permission denied: [client 182.64.66.54:54866] AH00529: /home/tncpscouriers/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/tncpscouriers/public_html/' is executable, referer: http://tncpscouriers.com" i have been stuggling to do this since tomorrow and i have a deadline if anyone can help me plz give your solutions.i have made sure about the php version.which is 5.6 and i have double checked the permissions.i have no idea about what the content of .htaccessfile should be but this is my .htaccess file

    <IfModule mod_negotiation.c>
    Options -MultiViews
</IfModule>

RewriteEngine On

# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]

# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

```



via anku

Advertisement