configure.php question about addon-domains
Running into a 404 when installing v1.5.1 into a directory of an add-on domain.
Host says to use the AddonDomain with Caps and .com as it appears in the FTP heirarchy. They scolded me for using 777. WTW.
So, http://www.MySite.com/Add0nDomain.com/catalog/ ?
Therefore.
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', 'Add0nDomain.com/catalog/');
define('DIR_WS_HTTPS_CATALOG', 'Add0nDomain.com/catalog/');
Seems logical and yet the browser says it is illogical. 404. How should the path be written? Thanks.
Re: configure.php question about addon-domains
Quote:
Originally Posted by
webskipper
Running into a 404 when installing v1.5.1 into a directory of an add-on domain.
Host says to use the AddonDomain with Caps and .com as it appears in the FTP heirarchy. They scolded me for using 777. WTW.
So,
http://www.MySite.com/Add0nDomain.com/catalog/ ?
Therefore.
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', 'Add0nDomain.com/catalog/');
define('DIR_WS_HTTPS_CATALOG', 'Add0nDomain.com/catalog/');
Seems logical and yet the browser says it is illogical. 404. How should the path be written? Thanks.
Assuming that you have
Code:
define('HTTP_SERVER', 'http://www.MySite.com');
you should use
Code:
define('DIR_WS_CATALOG', '/Add0nDomain.com/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/Add0nDomain.com/catalog/');
... with the leading /'s ...
Re: configure.php question about addon-domains
Thanks for your reply.
I tried that already and it didn't work. Just tried it again now. Nogo.
I'm just trying to get to the installer pages to install ZC on an Addon domain.
Re: configure.php question about addon-domains
I realize that I'm out of my league in this discussion but
my AddOn domain ZenCart configuration (setup in Cpanel as AddOn domain not Subdomain) are just as though they were the main domain within my account
http://MyMainDomain.com
http://MyAddOnDomain.com
Code:
define('HTTP_SERVER', 'http://myaddondomain.com');
define('HTTPS_SERVER', 'https://myaddondomain.com');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'false');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
Re: configure.php question about addon-domains
webskipper,
First insure that your addon domain is functioning
Upload some "index.html" file and load the site in your browser
You should see the contents of your index.html file displayed
Then as RixStix has stated - assuming that you want ZenCart at the root of your addon domain and that you have uploaded the fileset there,
Code:
define('HTTP_SERVER', 'http://myaddondomain.com');
define('HTTPS_SERVER', 'https://myaddondomain.com');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'false');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
Re: configure.php question about addon-domains
Had the domain almost 20 years. Yup it's working.
It's the TDL.
ZC will only work when unloaded into the Addon domain directory.
I can't use a catalog or store directory for zen within the Addon directory.
There must be a way to work around this.
Re: configure.php question about addon-domains
Quote:
I can't use a catalog or store directory for zen within the Addon directory.
Do you have ZenCart's files uploaded into a directory such as /catalog or /store in the addon's space?
Re: configure.php question about addon-domains
Yes.
Host said the absolute path is PrimaryDomain.com/AddonDomain.com/directory/zc_install/
sent you a pm
Re: configure.php question about addon-domains
Ok So I figured it out. :smartalec:
I had to spell out the Complete path in many places where 'complete path' was mentioned in the configure pages.
define('HTTP_SERVER', This is #1 step
define('HTTP_SERVER', This is #2 step
logs
cache
catalog
Then the installer launched.
Thanks for everyone's help.
Re: configure.php question about addon-domains
Still having issues with the admin style.
Login page is stepped and the admin pages have the header navigation expanded along the left side (menu.css), along with missing language images. Tried different permissions.
Everything works, just keep scrolling.
I haven't given up yet, just haven't ever had to touch the admin pages.
What parts of the admin config page needs to be defined with a full path to trigger the style sheets?
WS right?