Category : cpanel

I have images on my server, some of them uploaded using Flutter (Dart) and others uploaded using Laravel (PHP). The problem is that most of the images are empty when accessing them but they exist on the server and I can see them and open them from cpanel. Examples of empty images: https://clinicalibya.com/images/advertisements/1617909384cpd%20device%20logo.png https://clinicalibya.com/images/receipts/1617913147scaled_db3b4b6b-eb71-4983-a8fa-14dbdf826b677185714734801956022.jpg Notice: ..

Read more

I just uploaded my website into server and here is my .env file: DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=my_db DB_USERNAME=my_user DB_PASSWORD=my_pass But as soon as I load my website, I get this message: IlluminateDatabaseQueryException SQLSTATE[28000] [1045] Access denied for user ‘my_user’@’127.0.0.1’ (using password: YES) (SQL: select count(*) as aggregate from users where phone = 11111111) And here ..

Read more

I’m having this issue, some times doesn’t appear but other yes, I’m using a GoDaddy Hosting and I change the values in the CPanel on the PHP Selector PHP Selector prove But this doesn’t fix anything. I’m using Laravel 8 as my Backend API, I was looking for an answer but I didn’t find it, ..

Read more

Hello there I have 2 folders inside public_html ex.(mainfolder and subfolder). Inside my public_html same level with my 2 folders, I have an .htaccess file like this. RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteOptions inherit Options -Indexes # php — BEGIN cPanel-generated handler, do not edit # Set the “ea-php73” package as ..

Read more

I have a laravel project and it is in production and I want to upgrade composer from version 1.1.8.6 to 2.0.11 through the cpanel builtin terminal. Every time I type the following in the terminal: composer self-update I get the following output: updating to version 2.0.11 (stable channel). Downloading (100%) [ErrorException] rename(/opt/cpanel/composer/bin/composer): failed to open ..

Read more

I moved my Laravel project to CPanel hosting. Now, in some forms, when I want redirect user to a url, this message will appear: Redirecting to (url address) Laravel version is 5.6 and I also tried php artisan config:cache and php artisan config:clear, but no difference! in my controller : Session::flash(‘alert’, __(‘messages.updated’)); Session::flash(‘alertClass’, ‘success’); return ..

Read more

I’m developing a web application with laravel and i send emails with sengrid using sociallite driver, everything works as i expect in localhost, but i deployed my application on a shared host and when i try to send an email i get the following error: stream_socket_enable_crypto(): Peer certificate CN=`hv22svg069.neubox.net’ did not match expected CN=`smtp.sendgrid.net’ I’ve ..

Read more

I’m having the error below, I’ve searched about it, but couldn’t find a way. I’ve checked the permission, 644 for all files, and 755 for all folders in laravel project folder. Warning: require(/home3/USERNAME/laravel/vendor/composer/../markbaker/matrix/classes/src/Functions/adjoint.php): failed to open stream: No such file or directory in /home3/USERNAME/laravel/vendor/composer/autoload_real.php on line 69 Warning: require(/home3/USERNAME/laravel/vendor/composer/../markbaker/matrix/classes/src/Functions/adjoint.php): failed to open stream: No such ..

Read more