Search…

X3 Photo Gallery Support Forums

Search…
 
clove
Topic Author
Posts: 2
Joined: 13 Oct 2008, 19:11

Copying entire site to a different directory causes errors

13 Oct 2008, 19:21

I've got a V2 site up and running perfectly in a subdirectory on my server for testing. I'm ready to move the site to production, however when I copy the entire contents over to the server's root directory (or to another subdirectory for that matter), I get errors when trying to open the site:
Code
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /serverpath/imagevue/common.inc.php:131) in /serverpath/imagevue.php on line 17

Warning: Cannot modify header information - headers already sent by (output started at /serverpath/imagevue/common.inc.php:131) in /serverpath/imagevue/include/ivAuth.class.php on line 155

Warning: Cannot modify header information - headers already sent by (output started at /serverpath/imagevue/common.inc.php:131) in /serverpath/imagevue/include/ivControllerFront.class.php on line 195
If it makes any difference, I'm using Dreamweaver to copy and paste all the directories which gets/puts each file individually (not sure if there's a more direct way to copy on the server via ftp). Also, I have gone through and set the appropriate files/directories to 777 permissions after copying.

Any ideas what's wrong here? I could just do a redirect to the subdirectory to get my site live, but I'd like to do this the right way.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

15 Oct 2008, 12:12

Hmm, I'm not quite sure what this can be. Perhaps you can post a link to your gallery?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

15 Oct 2008, 12:30

Seems like your files are corrupted somehow. common.inc.php isn't even supposed to have 131 lines. I think less than hundred.

Download latest release, and update!

Not quite sure about Dreamweaver for FTP. As long as you upload all files in tact, and in correct relation to eachother.
 
clove
Topic Author
Posts: 2
Joined: 13 Oct 2008, 19:11

15 Oct 2008, 17:15

You hit the nail on the head with the common.inc.php file. I replaced just that one file with the original and everything works fine.

Apparently Dreamweaver decided to edit that file somewhere along the line--it looks like it just double-spaced the whole file for some reason. I have no clue why double spacing the file would break it or why it works that way in one directory and not another, but just replacing that file fixes the problem.

Thanks for the reply and thanks for the great product! I'll have to keep a closer eye on Dreamweaver to make sure it's not corrupting things.