Installation

CartUser installs in 5 minutes on any LAMP/LEMP stack. The browser-based wizard handles database migration and seeding automatically. No CLI required.

Before you start

You'll needHow to get it
CartUser ZIP fileDownload from your CodeCanyon account โ†’ Downloads
Envato purchase codeCodeCanyon โ†’ Downloads โ†’ License certificate
Hosting with PHP 8.2+Most shared hosting (Hostinger, Bluehost, A2, SiteGround) qualifies
MySQL 8 or MariaDB 10.6+Create empty database in cPanel โ†’ MySQL Databases
FTP / cPanel File ManagerTo upload files to public_html/

Step 1 โ€” Upload files

Option A โ€” cPanel File Manager (easiest)

  1. Log in to cPanel.
  2. Open File Manager.
  3. Navigate to public_html/ (or a subfolder if installing to subdomain).
  4. Click Upload โ†’ choose your CartUser ZIP.
  5. Wait for upload to complete.
  6. Right-click the uploaded ZIP โ†’ Extract.
  7. Move all contents (kode/, assets/, index.php, etc.) to the directory where you want CartUser to run.

Option B โ€” FTP (FileZilla)

  1. Unzip CartUser locally first.
  2. Connect to your server via FTP.
  3. Upload entire contents of the extracted folder to public_html/.
  4. Wait for upload (5-15 min for ~50 MB).
File structure after upload
Your public_html/ (or install path) should contain: kode/, assets/, landing/, index.php, favicon.ico, robots.txt. If you see a single subfolder containing all of these โ€” move everything up one level.

Step 2 โ€” Create database

  1. Log in to cPanel โ†’ MySQL Databases (or phpMyAdmin โ†’ New).
  2. Create a new database (e.g. cartuser). cPanel may prefix with your account name โ†’ account_cartuser.
  3. Create a database user with a strong password.
  4. Add the user to the database โ€” grant ALL PRIVILEGES.
  5. Note down: database name, username, password, host (usually localhost).

Step 3 โ€” Run the installer

  1. Open https://yourdomain.com/ in your browser.
  2. CartUser auto-redirects to the install wizard.
  3. Wizard screens:
    1. Welcome โ€” system requirements check. All should be green.
    2. Envato verification โ€” enter your purchase code + Envato username.
    3. Database setup โ€” enter MySQL credentials from Step 2.
    4. Account setup โ€” create SuperAdmin (username, email, password).
    5. Finished โ€” redirect to admin login.
  4. Log in to admin panel with the credentials you just created.
Screenshot ยท drop into documentation/screenshots/installer-wizard.png

5-step installer wizard.

Step 4 โ€” Set file permissions (Linux hosting)

If you have SSH access:

cd /home/user/public_html
chmod -R 755 .
chmod -R 775 kode/storage kode/bootstrap/cache
chmod 644 kode/.env

On shared hosting without SSH, use cPanel File Manager โ†’ right-click folder โ†’ Change Permissions:

Step 5 โ€” Set up cron (for scheduled tasks)

Add this to cPanel โ†’ Cron Jobs (run every minute):

* * * * * cd /home/user/public_html/kode && php artisan schedule:run >> /dev/null 2>&1

This handles: payment notifications, low-stock alerts, expired coupon cleanup, recurring subscriptions, scheduled campaigns.

Step 6 โ€” Verify installation

PageWhat to check
Storefront (/)Loads without errors, shows home banner
Admin (/admin)Login works, dashboard shows zero-state metrics
Seller panel (/seller)Login form loads
API (/api/config)Returns JSON with settings, currencies, languages
Sitemap (/sitemap.xml)Valid XML response

Optional โ€” Load demo data

For showcase / testing, run the demo seeder from CLI:

cd /home/user/public_html/kode
php artisan db:seed --class=DemoProductSeeder --force

This adds:

Demo credentials (password 123123):

Installation troubleshooting

500 error after upload

Usually file permissions. Run:

chmod -R 775 kode/storage kode/bootstrap/cache

"Specified key was too long" during install

MySQL version too old (<5.7). Upgrade to MySQL 8.0+ or MariaDB 10.6+.

White page / blank screen

Enable debug mode in kode/.env:

APP_DEBUG=true

Reload page to see error. Set back to false after debugging.

"Class not found" or autoloader errors

SSH into server and run:

cd /home/user/public_html/kode
composer dump-autoload --no-dev --optimize

Database connection failed

Verify in kode/.env:

DB_HOST=localhost
DB_DATABASE=account_cartuser
DB_USERNAME=account_cartuser
DB_PASSWORD=...

cPanel always prefixes database/user with your account name.

Installer keeps redirecting to /install

Installation didn't complete. Delete the cache file:

rm kode/storage/cartuser_installed
php artisan cache:clear