Post by Beemerang » Thu Apr 14, 2016 9:47 am

Hi All,

I am brand-new to OpenCart and this is my first installation attempt so please bear with me.

I am attempting a clean install on a new domain (no existing files or folders). I have followed the install instructions in the OC help documentation to the letter but when I try to open the domain, the following code is returned in my browser window:

Code: Select all

'!'); } if (method_exists($model, $method)) { $output = call_user_func_array(array($model, $method), $args); } else { throw new \Exception('Error: Could not call model/' . $route . '!'); } // Trigger the post events $result = $registry->get('event')->trigger('model/' . $route . '/after', array_merge(array(&$route, &$output), $args)); if ($result) { return $result; } return $output; }; }	}
I am using Safari 9.1, Transmit as FTP client and running OSX El Capitan.

My Steps:
1. Upload the install folder from the downloaded OC zip file to the root folder of my domain.
2. Create the MySQL database and user name
3. Open domain in browser.

I would be really grateful if anyone could explain where I went wrong.

Thank you,
Beemerang

Newbie

Posts

Joined
Thu Apr 14, 2016 9:35 am

Post by villagedefrance » Thu Apr 14, 2016 10:37 pm

Ok, here is the correct way of doing a clean install:

STEP 1: Create a new Database on your server. Recommended "collation" is "utf8_general_ci". If you have messed-up the first time around, make sure the DB is empty. Drop existing tables if any.

STEP 2: Upload ALL the files contained in the "upload" folder at the root of your domain/server. There are 2 ways of doing this: One is to extract the Opencart Zip locally and then upload all the files by FTP, or Two by uploading the Opencart Zip directly on your server and then extract it at the root. The second option is of course the fastest.

STEP 3: Rename the 2 files "config_dist.php" to "config.php". The first one is at the root and the second in the "admin" folder.

STEP 4: Run the installer in your browser by going to "http://<yourdomain>/install/index.php" and follow instructions.

Welcome onboard and good luck!

OpenCart custom solutions @ https://villagedefrance.net


User avatar
Active Member

Posts

Joined
Wed Oct 13, 2010 10:35 pm
Location - UK

Post by Randem » Tue Apr 19, 2016 12:40 pm

Hi Beemerang,

Some additional information:

You can upload to another folder other than the root and install in that folder. Of course you will need to access OpenCart via the whole path to the folder I.E. www.mydomain.com/opencartfolder/install

When uploading via FTP make sure you upload in binary to avoid any character conversions. This will help avoid corruption on the upload.

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am

Post by sarthakinfotech » Tue Apr 19, 2016 12:47 pm

hi,
one more option for you to install the opencart at your pc or laptop.
you may install xampp or wampp and may try on the installation.

Good Day,
Hiren
opencart tips and tricks ,
opencart blogs , opencart extensions/themes , custom development.


User avatar
Active Member

Posts

Joined
Tue Aug 05, 2014 1:12 am
Location - india

Post by Beemerang » Wed Apr 20, 2016 7:19 pm

Hello sarthakinfotech and randem,

Apologies for the delay in saying my thanks!

Thanks a million for the detailed info, I am going to give it a shot right now.

I really appreciate the help, I have been pulling my hair out by the roots!

Cheers.
Beem

Newbie

Posts

Joined
Thu Apr 14, 2016 9:35 am
Who is online

Users browsing this forum: No registered users and 6 guests