Post by jaz » Fri Oct 21, 2011 7:24 am

Apologies for the completely noob question...I'm very new to opencart.
All the instructions I've seen regarding the installation, dictate that I should install to the 'public_html' directory.
Is that absolutely necessary, or can I simpley install it to my domain's root directory?

I ask as I'd prefer if my store URL was "www.example.co.uk", rather than "www.example.co.uk/public_html"

I'm doing a clean install of the latest version (1.5.) to a linux server.

Many thanks guys,

Jaz (the noob).

jaz
Newbie

Posts

Joined
Fri Oct 21, 2011 7:16 am

Post by Xsecrets » Fri Oct 21, 2011 7:41 am

the reason they say that is because probably 70% or more of linux hosts have the root of your site in a public_html folder. You don't install it in http://yourdomain.com/public_html you install it in /home/username/public_html which is where the files for your domain root reside. on some hosts it's httpdocs, and in VERY rare cases somewhere else. But you should install it in whatever folder your domain shows up on.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by jaz » Fri Oct 21, 2011 7:59 am

Spot on, and a huge thanks for the very prompt answer!

Cheers, Jaz.

btw - I got pretty far into creating a store with ZenCart a couple of years back (before I got dragged into something else) and I have to say, OpenCart looks much less bloated. Here's hoping it fulfils the plans I have for it.
Keep up the good work guys! Once I'm up to speed I'll pitch in where ever I can.

jaz
Newbie

Posts

Joined
Fri Oct 21, 2011 7:16 am

Post by simplywebsites » Mon Oct 31, 2011 11:28 am

Hi,
I successfully installed Opencart but my problem is that teh index page is not pointing to root directory instead it comes under folder name"upload"..How can I get the index page to the root level without any problem becasue earlier I did that and I lost everything and I had to again install it back.
currently my site address is
www.mydomain.com/upload/index.php
and i want it to change to
www.mydomain.com/index.php OR
www.mydomain.com.


PLEASE HELP ME WITH THIS.....

Thanks in advance


Posts

Joined
Mon Oct 31, 2011 8:28 am
Location - chrustchurch, new zealand

Post by tjonnyc » Mon Oct 31, 2011 11:00 pm

Check config.php and admin/config.php.

Active Member

Posts

Joined
Tue Dec 21, 2010 5:05 am

Post by Xsecrets » Mon Oct 31, 2011 11:06 pm

well your real problem is that you were not supposed to upload the upload folder. You are only supposed to upload the stuff inside the upload folder. If you have not made any changes or added any products it might be better to just reinstall by only uploading the stuff inside the upload folder.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US
Who is online

Users browsing this forum: No registered users and 30 guests