I am getting a couple errors in the header such as:
Warning: Cannot modify header information - headers already sent by (output started at /home/dsm/public_html/library/database/database.php:413) in /home/dsm/public_html/library/cart/currency.php on line 85
They reference a line that has something to do with cookies:
setcookie('currency', $currency, time() + 60 * 60 * 24 * 30, '/', $_SERVER['HTTP_HOST']);
I just moved this site from one location to a new folder on the same server and changed the paths in the config.php files but must I have missed one?
This is pretty common. Usually because there are either extra carriage returns at the end of your php files (if you've made any manual edits) or because something else is causing some text to display before the official doctype.
If you just moved from another site, it might be possible that the upload changed the text to binary or something and added additional weird characters or spacing.
Take a look at some of your controller files and see at the top and bottom if there are any extra carriage returns or characters. Unfortunately some files DO have extra returns and don't really cause this problem. But if it is happening on every page, it might be one of the common files like index, home, controller, etc.
If you just moved from another site, it might be possible that the upload changed the text to binary or something and added additional weird characters or spacing.
Take a look at some of your controller files and see at the top and bottom if there are any extra carriage returns or characters. Unfortunately some files DO have extra returns and don't really cause this problem. But if it is happening on every page, it might be one of the common files like index, home, controller, etc.
Yeah I had seen other posts with similar problems but I didn't change much, just moved the site like I have done many times before.
But this time I downloaded the site with wsftp from the server and that changed something.
Tried again and downloaded with dreamweaver as I usually do and then re-uploaded to new location and all is fine.
So I guess there is a setting in the wsftp program that I need to change.
thanks!
But this time I downloaded the site with wsftp from the server and that changed something.
Tried again and downloaded with dreamweaver as I usually do and then re-uploaded to new location and all is fine.
So I guess there is a setting in the wsftp program that I need to change.
thanks!
Who is online
Users browsing this forum: No registered users and 2 guests