Zen Cart Logo
Forums / General Questions / Record Company link breaks when adding new product

Record Company link breaks when adding new product

Locked

Views: 1,083

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
14 Sep 2008, 6:48 AM
#1
credenscel avatar

credenscel

New Zenner

Join Date:
Aug 2008
Posts:
44
Plugin Contributions:
0

Record Company link breaks when adding new product

So I have a list of "record companies" each having their IDs (1, 2, 3.....)
And when clicking on all of the companies they work fine when there are no products associated with them (brings results page saying that no product is there)

however, i started adding music products and selecting the appropirate record company, however, some of the links break after i do that (not all, but select few!)

Any suggestion as to why this is happening? If you need a link to my site or other information please let me know!

your feedback is much appreciated
thank you!

14 Sep 2008, 9:36 PM
#2
credenscel avatar

credenscel

New Zenner

Join Date:
Aug 2008
Posts:
44
Plugin Contributions:
0

Re: Record Company link breaks when adding new product

hi, would anyone be able to please advise on this?

15 Sep 2008, 4:38 AM
#3
credenscel avatar

credenscel

New Zenner

Join Date:
Aug 2008
Posts:
44
Plugin Contributions:
0

Re: Record Company link breaks when adding new product

so i installed one of those debugging things to find out why i'm getting the error and this is what i was told:

[14-Sep-2008 23:35:23] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/woh/public_html/zen/includes/languages/english.php:1401) in /home/woh/public_html/zen/includes/init_includes/init_templates.php on line 78
[14-Sep-2008 23:35:23] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/woh/public_html/zen/includes/languages/english.php:1401) in /home/woh/public_html/zen/includes/functions/functions_general.php on line 44

any ideas as to what this means and how to fix it?

16 Sep 2008, 4:49 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Record Company link breaks when adding new product

Perhaps peek at the language file and go down to line 1401 ...

Do you find after the closing php tag ?> that there are space(s) or blank line(s) in there?

Remove those and reload the file ... does this help correct your errors?

19 Sep 2008, 6:04 AM
#5
credenscel avatar

credenscel

New Zenner

Join Date:
Aug 2008
Posts:
44
Plugin Contributions:
0

Re: Record Company link breaks when adding new product

thank you!
the problem was a blank line :shocking:
after i deleted it things worked fine!

19 Sep 2008, 1:51 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Record Company link breaks when adding new product

Thanks for the update that it was the dreaded space(s) and blank line(s) after the closing ?> php tag at the end of the file that was causing this issue ... :smile: