Hello,
I exract files in my domain, i set public folder as default, i have php 8.2 and mysql 10.2.When i run installer i have an white screen. Can you help me?
- SMAnswered
website: stoc.medicenter.ro
FTP: 31.14.15.87 user: [email protected] password: kl2#)ftT)ggq
Db name: techmagr_stoc db user: techmagr_stoc Password: kl2#)ftT)ggq
- MSAnswered
Hello,
The url is redirected to
https://stoc.medicenter.ro/public/install
and it’s wrong. The url should not have public in it.I can’t do anything with ftp access. Please set the subdomain path to
public
folder. I will need cpanel access to check the issue.Thank you
- SMAnswered
I finish the installation process after this changes, but now when i try to acces i have 404 error. this is httacces code from public folder
Options -MultiViews -Indexes RewriteEngine On # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$ RewriteRule ^ %1 [L,R=301] # Send Requests To Front Controller... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L]
- SMAnswered
500 error i have
- SMAnswered
[28-Nov-2023 22:23:24 Europe/Bucharest] PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 8.1.0”. You are running 5.6.40. in /home/techmagr/stoc.medicenter.ro/vendor/composer/platform_check.php on line 25 My default php server version is 5.6 but i have possibility to select php foar each domain.For this domain php version is 8.2. The php file platform_check, check the server php version or my domain version? My domain version is write in httacces
php – BEGIN cPanel-generated handler, do not edit
Set the “ea-php82” package as the default “PHP” programming language.
AddHandler application/x-httpd-ea-php82 .php .php8 .phtml # php -- END cPanel-generated handler, do not edit - MSAnswered
Hello,
It means the default php version is set to 5.6 Please change it or set the php8.1 or php8.2 for the subdomain
stoc.medicenter.ro
then try agian.Thank you
- FSAnswered
Same issue
- FSAnswered
kindly create .htaccess file in your main folder and add this code this code will make the root access to public my issue is resolved after this method.
RewriteEngine On # Force public directory for non-existing files and directories RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ public/$1 [L] # Rewrite all other URLs to the Laravel index.php file RewriteCond %{REQUEST_URI} !^/public/ RewriteRule ^(.*)$ public/index.php [L]
- MSAnswered
Hello,
You still not set the correct root path. The site is still being redirected to public folder. Please let me know cpanel details in private reply so that I can check.
Thank you
- SMAnswered
URL 1: http://www.tech-mag.ro/cpanel
UserName: techmagr PassWord: (U4XS+si7Kz63t
- Login to Reply