New Zenner
- Join Date:
- Feb 2008
- Location:
- Denmark, Maine USA
- Posts:
- 8
- Plugin Contributions:
- 0
Website address
How do I change the the domain address of my shop from www.mydomainame/zencart.com to https://www.mydomainame.com?
New Zenner
How do I change the the domain address of my shop from www.mydomainame/zencart.com to https://www.mydomainame.com?
Black Belt
New Zenner
Ok; I tried that. :censored:
What I got was an attempt to go the mydomain.com/zencart/zc_install/index.php.
which resulted in a 404 Not Found message. I can not access my admin page.
I tried installing and running the Fix Cache key, but to no avail.
I tried putting all the files and folders back in the zencart directory; the way they were originally with an html index file pointing to mydomain/zencart. (I had that configuration working correctly before I departed on this little adventure) The html index file loads correctly but the mydomain.com/zencart link goes to mydomain.com/zencart/zc_install/index.php. automatically. I have a rather bad feeling about all this. I would appreciate any advice.
Sensei
If Zen Cart finds invalid information in the configure.php files then it will automatically attempt to run the zc_install because it has nothing else it can do except display an error message ... usually when the data is invalid it means it's a new install.
So ... that means you've likely made incorrect edits to your two configure.php files.
What exactly did you do?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
New Zenner
changes to: /www/mydomain/admin/includes/configure.php
define('DIR_WS_ADMIN', '/zencart/admin/'); to define('DIR_WS_ADMIN', '/mydomain/admin/');
define('DIR_WS_CATALOG', '/zencart/'); to define('DIR_WS_CATALOG', '/birchstonestudios/');
define('DIR_WS_HTTPS_ADMIN', '/mydomain/zencart/admin/'); to define('DIR_WS_HTTPS_ADMIN', '/mydomain/admin/');
define('DIR_WS_HTTPS_CATALOG', '/mydomain/zencart/'); to define('DIR_WS_HTTPS_CATALOG', '/mydomain/');
define('DIR_FS_ADMIN', '//www/mydomain/zencart/admin/'); to define('DIR_FS_ADMIN', '//www/mydomain/admin/');
define('DIR_FS_CATALOG', '//www/mydomain/zencart/'); to define('DIR_FS_CATALOG', '//www/mydomain/');
define('DB_DATABASE', 'mydomain_com_-_zencart'); (no change)
define('DIR_FS_SQL_CACHE', '//www/mydomain/zencart/cache'); to define('DIR_FS_SQL_CACHE', '//www/mydomain/cache');
changes to: /www/mydomain/includes/configure.php
define('DIR_WS_CATALOG', '/zencart/'); to define('DIR_WS_CATALOG', '/mydomain/');
define('DIR_WS_HTTPS_CATALOG', '/mydomain/zencart/'); to define('DIR_WS_HTTPS_CATALOG', '/mydomain/');
define('DIR_WS_PHPBB', '/www/mydomain/zencart/'); (no change)
define('DIR_FS_CATALOG', '/www/mydomain/zencart/'); to define('DIR_FS_CATALOG', '/www/mydomain/');
define('DB_SERVER_USERNAME', 'mydomain/zencart/'); to define('DB_SERVER_USERNAME', 'mydomain/');
define('DB_DATABASE', 'mydomain_com_-_zencart'); (no change)
define('DIR_FS_SQL_CACHE', '/www/mydomain/zencart/cache'); to define('DIR_FS_SQL_CACHE', '/www/mydomain/cache');
When I go to: http://mydomain.com/admin/login.php it returns:
Warning: include(includes/auto_loaders/config.core.php) [function.include]: failed to open stream: No such file or directory in
/home/www/mydomain/admin/includes/application_top.php on line 249
Warning: include() [function.include]: Failed opening 'includes/auto_loaders/config.core.php' for inclusion
(include_path='.:/usr/share/pear:/usr/local/Smarty') in /home/www/mydomain/admin/includes/application_top.php on line 249
Warning: reset() [function.reset]: Passed variable is not an array or object in /home/www/mydomain/includes/autoload_func.php on line 35
Warning: ksort() expects parameter 1 to be array, null given in /home/www/mydomain/includes/autoload_func.php on line 37
Warning: Invalid argument supplied for foreach() in /home/www/mydomain/includes/autoload_func.php on line 39
Fatal error: Call to undefined function zen_href_link() in /home/www/mydomain/admin/login.php on line 105
**When I go to http://www.mydomain.com **
the browser loads:http://mydomain.com/zc_install/index.php and returns
Not Found
The requested URL /zc_install/index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I guess I'm not "zenned" yet
Sensei
You should have only removed references to /zencart, not substituting them all with /mydomain
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Totally Zenned
Plus you have 2 // in some lines:
define('DIR_FS_ADMIN', '//
New Zenner
Ok, I went over the configure files again. This is what I've got though I still can't get my store nor my admin to load.
** /www/birchstonestudios/includes/configure.php**
define('DIR_WS_CATALOG', '/zencart/');
define('DIR_WS_HTTPS_CATALOG', '/mydomain/');
define('DIR_WS_PHPBB', '/www/mydomain/zencart');
define('DIR_FS_CATALOG', '/www/mydomain/');
define('DB_DATABASE', 'mydomain_com_-_zencart');
define('DIR_FS_SQL_CACHE', '/www/mydomain/cache');
** /www/birchstonestudios/admin/includes/configure.php**
define('HTTP_SERVER', 'http://www.mydomain.com');
define('HTTPS_SERVER', 'https://falcon.safe-order.net');
define('HTTP_CATALOG_SERVER', 'http://www.mydomain.com');
define('HTTPS_CATALOG_SERVER', 'https://falcon.safe-order.net');
define('DIR_WS_ADMIN', '/mydomain/admin/');
define('DIR_WS_CATALOG', '/zencart/');
define('DIR_WS_HTTPS_ADMIN', '/mydomain/admin/');
define('DIR_WS_HTTPS_CATALOG', '/mydomain/');
define('DIR_FS_ADMIN', '/www/mydomain/admin/');
define('DIR_FS_CATALOG', '/www/mydomain/');
define('DB_DATABASE', 'mydomain_com_-_zencart');
define('DIR_FS_SQL_CACHE', '//www/mydomain/cache');
Sensei
It's really very simple.
But, since you seem to be hacking things up all over the place, it is better for you to either wipe the whole thing and start again, or else just post your untouched original configure.php files from before the move so we can take and do the work for you.
Remove your passwords ... but leave everything else.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
New Zenner
Thank you Sensei. I will work harder and try to think less.
New Zenner
Got It. "Thanks I needed that"
New Zenner
Hello all,
Hope you don't mind a necro post. I am having trouble accomplishing the same thing the OP was. My site is live, https://www.customhydronutrients.com/zencart , but I want it to be live at https://www.customhydronutrients.com
I have tried following the FAQ's instructions here: https://www.zen-cart.com/tutorials/index.php?article=122
"Step 3.Move/Rename the folder. You may need to use your FTP program to do this."
Not sure how to proceed with that one. which folder? where? :blink:
I remove the /zencart from both the configure php files, and all it does is screw up my page. So I think maybe step 3 is my stumbling point.
Would someone be able to help me?
Thanks
Black Belt
Everything that is in the /zencart/ folder should move to the domain root (/public_html/, /htdocs/ or /www/ folder, or whatever you have for that purpose).
Then removing /zencart from the configure.php files will point to the new location.
Tell staff why this post should be reviewed.