Post by destroz » Thu Aug 18, 2016 11:02 pm

config.php saya apakah ada yg salah ?

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://inboxacc.net/');

// HTTPS
define('HTTPS_SERVER', 'http://inboxacc.net/');

// DIR
define('DIR_APPLICATION', '/home/inboxacc/public_html/inboxacc.net/catalog/');
define('DIR_SYSTEM', '/home/inboxacc/public_html/inboxacc.net/system/');
define('DIR_IMAGE', '/home/inboxacc/public_html/inboxacc.net/image/');
define('DIR_LANGUAGE', '/home/inboxacc/public_html/inboxacc.net/catalog/language/');
define('DIR_TEMPLATE', '/home/inboxacc/public_html/inboxacc.net/catalog/view/theme/');
define('DIR_CONFIG', '/home/inboxacc/public_html/inboxacc.net/system/config/');
define('DIR_CACHE', '/home/inboxacc/public_html/inboxacc.net/system/storage/cache/');
define('DIR_DOWNLOAD', '/home/inboxacc/public_html/inboxacc.net/system/storage/download/');
define('DIR_LOGS', '/home/inboxacc/public_html/inboxacc.net/system/storage/logs/');
define('DIR_MODIFICATION', '/home/inboxacc/public_html/inboxacc.net/system/storage/modification/');
define('DIR_UPLOAD', '/home/inboxacc/public_html/inboxacc.net/system/storage/upload/');

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'inboxacc_xxxxx');
define('DB_PASSWORD', 'xxxxxxx');
define('DB_DATABASE', 'inboxacc_xxxxx');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');

dan ini config.php admin saya

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://inboxacc.net/admin/');
define('HTTP_CATALOG', 'http://inboxacc.net/');

// HTTPS
define('HTTPS_SERVER', 'http://inboxacc.net/admin/');
define('HTTPS_CATALOG', 'http://inboxacc.net/');

// DIR
define('DIR_APPLICATION', '/home/inboxacc/public_html/inboxacc.net/admin/');
define('DIR_SYSTEM', '/home/inboxacc/public_html/inboxacc.net/system/');
define('DIR_IMAGE', '/home/inboxacc/public_html/inboxacc.net/image/');
define('DIR_LANGUAGE', '/home/inboxacc/public_html/inboxacc.net/admin/language/');
define('DIR_TEMPLATE', '/home/inboxacc/public_html/inboxacc.net/admin/view/template/');
define('DIR_CONFIG', '/home/inboxacc/public_html/inboxacc.net/system/config/');
define('DIR_CACHE', '/home/inboxacc/public_html/inboxacc.net/system/storage/cache/');
define('DIR_DOWNLOAD', '/home/inboxacc/public_html/inboxacc.net/system/storage/download/');
define('DIR_LOGS', '/home/inboxacc/public_html/inboxacc.net/system/storage/logs/');
define('DIR_MODIFICATION', '/home/inboxacc/public_html/inboxacc.net/system/storage/modification/');
define('DIR_UPLOAD', '/home/inboxacc/public_html/inboxacc.net/system/storage/upload/');
define('DIR_CATALOG', '/home/inboxacc/public_html/inboxacc.net/catalog/');


// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'inboxacc_xxxx');
define('DB_PASSWORD', xxxxxx');
define('DB_DATABASE', 'inboxacc_xxxx');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');

Attachments

Capture2.JPG

Capture2.JPG (76.55 KiB) Viewed 1611 times

Capture.JPG

Capture.JPG (69.32 KiB) Viewed 1611 times


New member

Posts

Joined
Mon Aug 15, 2016 11:37 am

Post by superbrands » Fri Aug 19, 2016 3:47 pm

Diinstal langsung di hosting bro. Jadi nggak perlu repot edit config. Setelah berhasil diinstal, import database yang di localhost ke hosting. Jangan lupa cache di bersihin dulu.

Topik seperti ini sudah sering dibahas mas bro ;)


Happy coding!

"For us, OpenCart is not 'just' a shopping cart. OpenCart is bigger than that. We bring OpenCart to the next level."

Produk:
- Toko Online - Toko Online Dropshipper - Toko Online Marketpace - Online Directory - Digital Marketplace - Property & Business Listings - News Portal - Corporate Website - Social Network

Info: http://www.bukausahaonline.com


User avatar
Active Member

Posts

Joined
Sun May 23, 2010 8:04 pm

Post by destroz » Fri Aug 19, 2016 5:08 pm

nah sebelumnya ane juga uda ikutin tu pake cara situ lgs ke hosting, tapi pas tes di lapangan muncul error" lain btw mau tanya default permision public_html di cpanel itu 755 atau 750 ? dan saat upload file ke hosting itu 644 atau bagaimana ?

New member

Posts

Joined
Mon Aug 15, 2016 11:37 am

Post by superbrands » Fri Aug 19, 2016 5:35 pm

Biasanya ketika diupload ke hosting, folder otomatis chmod 755 sedangkan file otomatis chmod 644.

Dan inilah salah satu alasan mengapa diinstall dihosting lebih baik daripada edit config. Karena ketika diinstall, OpenCart akan mendeteksi folder mana yang writable mana yang tidak.


Happy coding!

"For us, OpenCart is not 'just' a shopping cart. OpenCart is bigger than that. We bring OpenCart to the next level."

Produk:
- Toko Online - Toko Online Dropshipper - Toko Online Marketpace - Online Directory - Digital Marketplace - Property & Business Listings - News Portal - Corporate Website - Social Network

Info: http://www.bukausahaonline.com


User avatar
Active Member

Posts

Joined
Sun May 23, 2010 8:04 pm

Post by destroz » Fri Aug 19, 2016 10:05 pm

uda saya tes mas bro untuk lgs install ke hosting tapi kok ada yang error ya.. saya tes di localhosting no problem.. hmmm ??? ???

Attachments

Capture3.JPG

Capture3.JPG (37.98 KiB) Viewed 1578 times


New member

Posts

Joined
Mon Aug 15, 2016 11:37 am

Post by ryonprasetya » Tue Jan 09, 2018 9:15 am

kalau saya gan mempuyai masalah

setelah berhasil hosting ketika kita ingin membeli sebuah produk
maka akan tampil keranjang belanja kosong,,

ada solusi gan

Newbie

Posts

Joined
Sat Oct 28, 2017 1:34 pm

Post by FLou91 » Wed Jan 24, 2018 5:16 pm

ryonprasetya wrote:
Tue Jan 09, 2018 9:15 am
kalau saya gan mempuyai masalah

setelah berhasil hosting ketika kita ingin membeli sebuah produk
maka akan tampil keranjang belanja kosong,,

ada solusi gan
Ini sih masalah di coding sepertinya, gaka da hubungannya sama coding.
Coba di cek algi codingnya bagaimana.
CMIIW.

Bisnis Jual Pulsa Disamping Develop Web OpenCart.


User avatar
Newbie

Posts

Joined
Thu Nov 09, 2017 4:08 pm
Location - Jakarta Selatan
Who is online

Users browsing this forum: No registered users and 14 guests