I'm having a problem with a site i'm working on. I'm getting a blank page when i click the button to go to the 2nd part of the checkout procedure.
I've downloaded and installed the error logging tool and it came back with this error message:
Now I have been discussing this with a few people on the Zen forum as initially I thought it was probably the functions_general.php page that was at fault, see the following thread http://www.zen-cart.com/forum/showthread.php?t=119717... But following some further advice i've got it appears that it may be a page in the cherry_zen template folder, flat.php[09-Feb-2009 13:16:53] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/u30chri/public_html/sienna/includes/languages/english/modules/shipping/cherry_zen/flat.php:53) in /home/u30chri/public_html/sienna/includes/functions/functions_general.php on line 44
I've notice that flat.php isn't part of the installation package for cherry_zen so the file must be dynamically created by zen cart or cherry zen itself.
Can someone please tell me how/why this page is created, and whether from wat you can see from my screen grab what's wrong with the coding. At present line 53 on the flat.php page is blank!!!
No, cherry zen does not randomly create files, nor does zen cart. Some human put the file there, and there is something wrong with the file.
Read this readme about headers already sent errors.
https://www.zen-cart.com/tutorials/index.php?article=87
You say a Human put it there, can you clarify whether or not flat.php is a bonafide cherry zen or zen cart file??
Well, like you said, it's not in the cherry_zen download, so, no, it's not a bonafide cherry zen file. There is a flat.php originally in zen cart, under /includes/languages/english/modules/shipping/
My guess is, someone probably changed flat.php, moved it to the cherry_zen folder (which is perfect use of the override system), but as I see from your post, you're having problems with CuteFTP messing up your files, so now that corrupted or improperly formatted file has messed up your checkout process. Is the original flat.php in includes/languages/english/modules/shipping? If so, you can delete the cherry_zen one.
But it was not "created" by zen cart or cherry_zen.
First of all thanks for the great template.
I got it working very quickly but I have a very weird problem with IE. I have not changed anything in the setting of the template and it drives me crazy.
I am using zencart 1.38 and Cherry Zen template 1.7
The problem is in the product info. If I have a normal product everything shows ok in product listing and in product info. Nevertheless if I create a downloadable product then the product info page breaks with the left hand column content dropping down. This happens only in IE .
You can see it here: http://www.dedemarco.com.au/index.ph...roducts_id=198
Tried to find solution here but could not. Thanks for any help tha you guys can provide.
Tassos
OK I figured it out. For everyone else that may get/have the same problem, it is very easy to fix once you know where to look at :-)
Just change the following in the stylesheet.css line 393 :
#productAttributes {
width:100%;
float:left;
border:1px solid #bfbfbf;
padding-left:5px;
margin:5px 0 0 10px;
}
Change to :
#productAttributes {
width:80%;
float:left;
border:1px solid #bfbfbf;
padding-left:5px;
margin:5px 0 0 10px;
}
The width can not be 100% because IE has a problem with it when attributes are used. Hope that helps .
Tassos
Jade (your awesome)
I'm a zen cart and php newbie, so you'll have to excuse my terminology.
I'm using the latest zen cart and your wonderful Cherry zen template.
I've added three logos to my site and managed to get them all working right, but still have a couple of concerns.
First, I had difficulty sizing them.
I followed directions and tried to do it in header.php.
When I edited this file I was able to change the logo and alt text but entering a different size didn't change things.
Under advice from this site I changed the <div id+"logo"> statement in tpl_header.php to include HEADER_LOGO_WIDTH and HEADER_LOGO_HEIGHT.
That made it all work and everything seems fine.
My concern is that you left those out for a reason and I might be causing myself some grief further down the line.
My other question is about this template being fluid.
What exactly happens when viewed on a lager screen.
For example, my three logos, will just the wrapper increase around them? Will they space further apart or will they(shudder) increase in size and distort.
If it's the later should I be uploading larger files then I am displaying?
I know that's a lot to ask, I appreciate any help you can give.
Thanks a bunch David
Hi, Jade thanks for the reply.
I had two reasons for the multiple logos.
I wanted to have the freedom to tweak them individually once they were sitting on the page. I'm also considering having one of them rotate once after the page loads.
The main reason was a learning exercise. I'm still trying to get a better understanding of zen cart and php.
More specifically- how all the files work together.
Believe it or not, it took me two days and lots of searching to get them on there as separate adjustable elements, but I learned a few things.
My site is, countrytothecore.net/shop/
Thanks again for your time,
David
Bookmarks