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 need | How to get it |
|---|---|
| CartUser ZIP file | Download from your CodeCanyon account โ Downloads |
| Envato purchase code | CodeCanyon โ 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 Manager | To upload files to public_html/ |
Step 1 โ Upload files
Option A โ cPanel File Manager (easiest)
- Log in to cPanel.
- Open File Manager.
- Navigate to
public_html/(or a subfolder if installing to subdomain). - Click Upload โ choose your CartUser ZIP.
- Wait for upload to complete.
- Right-click the uploaded ZIP โ Extract.
- Move all contents (
kode/,assets/,index.php, etc.) to the directory where you want CartUser to run.
Option B โ FTP (FileZilla)
- Unzip CartUser locally first.
- Connect to your server via FTP.
- Upload entire contents of the extracted folder to
public_html/. - Wait for upload (5-15 min for ~50 MB).
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
- Log in to cPanel โ MySQL Databases (or phpMyAdmin โ New).
- Create a new database (e.g.
cartuser). cPanel may prefix with your account name โaccount_cartuser. - Create a database user with a strong password.
- Add the user to the database โ grant ALL PRIVILEGES.
- Note down: database name, username, password, host (usually
localhost).
Step 3 โ Run the installer
- Open
https://yourdomain.com/in your browser. - CartUser auto-redirects to the install wizard.
-
Wizard screens:
- Welcome โ system requirements check. All should be green.
- Envato verification โ enter your purchase code + Envato username.
- Database setup โ enter MySQL credentials from Step 2.
- Account setup โ create SuperAdmin (username, email, password).
- Finished โ redirect to admin login.
- Log in to admin panel with the credentials you just created.
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:
- All files: 644
- All folders: 755
kode/storage/andkode/bootstrap/cache/: 775kode/.env: 644
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
| Page | What 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:
- 6 categories with 22 sub-categories
- 24 physical products + 5 digital products
- 20 brands, 5 attributes
- 13 customers, 3 demo sellers
- 100+ orders spread across 12 months
- 8 active coupons, 3 flash sale campaigns
- Product reviews, wishlists, cart items, blog posts, FAQs
Demo credentials (password 123123):
- Customer:
[email protected] - Sellers:
demoseller,fashionseller,homeseller
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