Okay, a bit more reading...should I just do a fresh install with the exception of my configure.php files? And I suppose I have to find any other files that I changed in the theme, right?
Okay, a bit more reading...should I just do a fresh install with the exception of my configure.php files? And I suppose I have to find any other files that I changed in the theme, right?
You cannot assume that - you have to check with your current hosts or do the following:which it seems should be my path
Additionally, if you can access your Zen Cart control panel, then change the path to the tmp directory (Configuration --> Sesions) to just tmp with no slash before or after tmp.absolute path (put in file in level you wish to find path for)
-------------------------------------------------------------
To find out the full pathway to the root of your domain do this:
1. Create a new text document on your desktop and name it cwd.php. Ignore the warning about changing the file type.
2. Put this code into it:
3. Upload it to the root of your domain via FTP.Code:<?php $p = getcwd(); echo $p; ?>
4. Go to http://www.yourdomain.com/cwd.php via your browser and printed on the screen will be the full pathway to the root of your domain.
5. Write down that pathway and then delete the cwd.php file from your hosting.
Vger
That is the correct path. Any other ideas or should I just fresh install it and then overwrite everything but the config files?
It seems you must have missed some steps.
Here's the FAQ on switching from one server to another: https://www.zen-cart.com/tutorials/i...hp?article=100
.
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.
Thanks Dr. Byte. Working through that currently. I'm to the "upload the old files" part. Hopefully this works. Will let you know in the morning. Thanks for your help Vger and Dr. B.
Still no dice. My errors are now:
I can't get it to run http://www.beerdolier.com/fix_cache_key.php Any advice? It ran with the demo data on the fresh install, but once I uploaded the new files and the database, it quit. Should I be looking in the db or the files?Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/home/content/b/e/e/beerdolierman/html/cache) is not within the allowed path(s): (/home/skustes:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/skustes/public_html/includes/functions/sessions.php on line 151
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/skustes/public_html/includes/functions/sessions.php:151) in /home/skustes/public_html/includes/functions/sessions.php on line 108
Warning: Cannot modify header information - headers already sent by (output started at /home/skustes/public_html/includes/functions/sessions.php:151) in /home/skustes/public_html/includes/init_includes/init_templates.php on line 78
Warning: Cannot modify header information - headers already sent by (output started at /home/skustes/public_html/includes/functions/sessions.php:151) in /home/skustes/public_html/includes/functions/functions_general.php on line 44
I'm not sure what is preventing fix_cache_key from running, but it looks like you're going to have to either change the session directory via the admin *before* taking another backup of your database, or if that's not possible, do the change manually via phpMyAdmin.
To do the same thing as fix_cache_key via phpMyAdmin, look up the DIR_FS_SQL_CACHE value from your configure.php file built by running zc_install on the new server. Then go into phpMyAdmin and open the configuration table. Do a search for SESSION_WRITE_DIRECTORY on the configuration_key field. Then change that field's value to the value defined for DIR_FS_SQL_CACHE on the new server. That's all fix_cache_key does.
Then you should be able to use your site fine.
.
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.
Got it! Had to go into the database manually and change that key. The site is mostly up and running now. Thanks all!