Zen Cart Logo
Forums / Installing on a Linux/Unix Server / setting up test site

setting up test site

Locked

Views: 2,096

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
6 Mar 2007, 3:21 PM
#1
lawbird123 avatar

lawbird123

Zen Follower

Join Date:
Sep 2006
Location:
Jacksonville, FL
Posts:
231
Plugin Contributions:
0

setting up test site

Im setting up a test site and when i try to install i keep getting this error page:

Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/t/u/store/html/TEST/includes/classes/db/mysql/query_factory.php:913) in /home/content/s/t/u/store/html/TEST/zc_install/includes/modules/pages/inspect/header_php.php on line 468

anyone know how to resolve this issue?

6 Mar 2007, 5:26 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: setting up test site

Lawbird123:

Im setting up a test site and when i try to install i keep getting this error page:

Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/t/u/store/html/TEST/includes/classes/db/mysql/query_factory.php:913) in /home/content/s/t/u/store/html/TEST/zc_install/includes/modules/pages/inspect/header_php.php on line 468

anyone know how to resolve this issue?

There's a blank line or letter space after a closing PHP Tag (that's the php ?> at the END of the file.)

If the > somehow gets followed by a LETTERSPACE or a blank line, you'll get that error.

EDIT the files shown in your error message (USE ONLY A PLAIN TEXT EDITOR LIKE CRIMSON EDITOR) to remove that space or blank line right at the end of the file.

6 Mar 2007, 6:22 PM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: setting up test site

Or if you have not edited ant files as of yet - reload the full file set using a good FTP tool that tracks errors well like filezilla

6 Mar 2007, 8:34 PM
#4
lawbird123 avatar

lawbird123

Zen Follower

Join Date:
Sep 2006
Location:
Jacksonville, FL
Posts:
231
Plugin Contributions:
0

Re: setting up test site

Schoolboy was dead on! It appears a lot of my files need this change after uploading to the new server... anyone know what might cause this? Thanks for the help.

6 Mar 2007, 8:57 PM
#5
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: setting up test site

What FTP client did you use to upload? Kobra may be on the right track. Some FTP clients can mess up php files as can some editors. If you editing php files, a plain text editor like NotePad or Crimson Editor is best.

6 Mar 2007, 10:11 PM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: setting up test site

Yep... its usually due to SUBSTANDARD ftp programs.

Don't fool around with CR@##Y software... Get a GOOD, PROFESSIONAL ftp program.

AND while you're at it, get CRIMSON EDITOR and WINMERGE - both essential tools for managing code files.

8 Mar 2007, 8:17 PM
#7
lawbird123 avatar

lawbird123

Zen Follower

Join Date:
Sep 2006
Location:
Jacksonville, FL
Posts:
231
Plugin Contributions:
0

Re: setting up test site

im on a mac, using Fetch... :dontgetit