Issues installing cscart to a sub domain

SO Im trying to create a subdomain for our website.



I've already made the sub domain and the SQL DB.



I extracted the cs cart files in the sub domain folder on change file permission.



But when I go to the install page for the domain name, it just doesnt find it I guess.

Firefox just says it cant locate the page.



Like cs-carts installtion page says, I tried to do www.example.com/store/install and www.example.com/install.



Neither work.



Changed permission on var, images, install, and config.local.php,

In the subdomains .htaccess file, what Rewrite Base value are you using? Is your subdomain folder created in /public_html/subdomainname/ ?



Also check the http_host and http_path values in config.local.php.



Can you access subdomain.domain.com/store_closed.html ?

[quote name='StellarBytes' timestamp='1385504195' post='172435']

In the subdomains .htaccess file, what Rewrite Base value are you using? Is your subdomain folder created in /public_html/subdomainname/ ?



Also check the http_host and http_path values in config.local.php.



Can you access subdomain.domain.com/store_closed.html ?

[/quote]



Subdomain name is created as /public_html/manuals



Not sure what you mean by the base value but is this what your looking for?

```php

Your store url is http://www.yourcompany.com/store/cart

So “RewriteBase” should be:

RewriteBase /store/cart

RewriteBase /

```



The permissions of that folder are set as 644.

Cannot access the [color=#282828][font=arial, verdana, tahoma, sans-serif]subdomain.domain.com/store_closed.html[/font][/color]

And this is a completely fresh install - you haven't set the subdomains config.local.php to use an existing database. right?



If this is a subdomain and not a subfolder (ie. subdomain is accessible via subdomain.domain.com and not just domain.com/subdomain), then…



config.local.php should read:-


// Host and directory where software is installed on no-secure server
$config['http_host'] = 'subdomain.yourstore.com';
$config['http_path'] = '';




.htaccess:-



The RewriteBase line will vary depending on your server setup, it may be left commented out. it may be “RewriteBase /” or even “RewriteBase /subdomain”

You can also follow http://forum.cs-cart…post__p__172512

Our main site is “harpermoto.com

Im trying to make a sub domain called “manuals.harpermoto.com



I just created the subdomain, extracted the cscart files to the “public_html/sub.manuals”



Permissions changed were:

Images:777

install:777

skins:777

var:777

config.local.php:777



I then went to a new windows and typed in “manuals.harpermoto.com/install” and “manuals.harpermoto.com/store/install”.



I did make a whole new DB and DB username for this subdomain as well.



This is what my local.config.php looks like:



// Host and directory where software is installed on no-secure server
$config['http_host'] = '%HTTP_HOST%';
$config['http_path'] = '%HOST_DIR%';

Did you setup the cpanel redirect for the sub domain properly? Are you getting to the install directory?

[quote name='tbirnseth' timestamp='1386193045' post='172925']

Did you setup the cpanel redirect for the sub domain properly? Are you getting to the install directory?

[/quote]



What do you mean by setting up the redirect?



Keep in mind, all im trying to do is setup a subdamin for our manuals on out website. Not trying to upgrade, or move sites. Just would like to make a seperate sub domain for just our manuals.



when typing in the “manuals.harpermoto.com/install” and “manuals.harpermoto.com/store/install” it is not taking me to the install page.

harpermoto.com/manuals/install

[quote name='The Tool' timestamp='1386194595' post='172927']

harpermoto.com/manuals/install

[/quote]



already tried that. Takes me straight to my website to a 404 page.



But Im making a subdomain where it should be “manuals.harpermoto.com

From my experience, even though you set up a subdomain, you still need to use the path harpermoto.com/manuals/install when installing the software. After the install, then you can use the other url.



I don't know what your directory looks like but I would try re-uploading the files and try again.

Sorry, missused term. Should be “Cpanel document root” which should be set to the new directory inside your public_html directory. I'm assuming that a references to manuals.harpermoto.com/install is generating an error. You should be able to add an foo.html file that contains “Hello World” as the text in the document and reference it via manuals.harpermoto.com/foo.html if your Apache/Cpanel configuration is correct.

[quote name='The Tool' timestamp='1386206542' post='172940']

From my experience, even though you set up a subdomain, you still need to use the path harpermoto.com/manuals/install when installing the software. After the install, then you can use the other url.



I don't know what your directory looks like but I would try re-uploading the files and try again.

[/quote]



[url=“http://www.harpermoto.com/manuals/install”]http://www.harpermoto.com/manuals/install[/url]



click there and you'll see where it takes you.



How am I suppose to install that with that url if it takes me direct ally to my website?

My experience is a bit different that Tool's.

If your subdomain is setup correctly, Apache will have no knowledge of nor ability to access your original site. The document root of the site will become the sub-directory of your public_html directory structure.



When you look at your subdomain in cpanel, what is is showing for the document root?

In all reality it should work both ways. I just haven't had any luck installing the software with sub.domain.com/install. So I am assuming there is an issue with paths and/or permissions.

[quote name='tbirnseth' timestamp='1386276612' post='173021']

My experience is a bit different that Tool's.

If your subdomain is setup correctly, Apache will have no knowledge of nor ability to access your original site. The document root of the site will become the sub-directory of your public_html directory structure.



When you look at your subdomain in cpanel, what is is showing for the document root?

[/quote]



document root I set was public_html/sub.manuals

Have you tried putting a file called foo.html in your sub.manuals directory that has some html output and then done

manuals.harpermoto.com/foo.html?



You should see your ouput. If not, then you have some kind of issue in your cpanel/apache setups. Work with your host.



Always best to take things down to the easiest case first and then work up from there.

if you can't access a single file, then you certainly are going to fail trying to do an install.

[quote name='harpersmoto' timestamp='1386366003' post='173108']

document root I set was public_html/sub.manuals

[/quote]



I assumed correct about the file path. This works just fine:


http://www.harpermoto.com/sub.manuals/install/

[quote name='The Tool' timestamp='1386371364' post='173111']

I assumed correct about the file path. This works just fine:


http://www.harpermoto.com/sub.manuals/install/

[/quote]



Wait, how did you do that “The tool”



Sorry im a bit late in response but that worked…

Well I got this installed and the installation went through just fine but when I finished I tried to go to the customer page and the admin page of the new sub domain and it just brings up a “Problem loading page”. The install said to use this address: http://www.manuals.harpermoto.com/ bit nothing comes up so what went wrong this time?