oops I had an unwanted "/" at the end of my path. I've got it....now I just need some tweaking to my css in order to get my layout and drop down menu's to work...this is a great thread...thank you ##########################
Printable View
oops I had an unwanted "/" at the end of my path. I've got it....now I just need some tweaking to my css in order to get my layout and drop down menu's to work...this is a great thread...thank you ##########################
post you problem on the forum and ask for help
I will answer it there. that way other can benefit, and we can increase
the documentation.
JOsh
cdenton_38 wrote:
> Mud could be clearer
> I don,t mind donnating for something that works, for like you I am very busy in my profession and I should have learned by now anything that is free usally has a high price tag ( problems, documenation 15 weeks of reading) I can't pay that bill for a liitle website to sell flower's.
> the sanguine easy embed template.
> If this mod make you money please consider donating to ...
> to offset the cost and maintain of this mod.
> Notice the style sheet here is from the site I set up with this mod. If you want a fresh sheet consider over writing it with the style sheet from the template_default
> INSTALL and SET UP
> ##########_
> this template make it easy to embed zen-cart in to almost any site.
> just make a template w/ you fave html editor be it Dreamweaver or vim, and place
> <!-- START EMBED --> where you want to have the zen cart start to over write code in you template
> and
> place <!-- END EMBED --> where you want it to stop the cart and put your code
> in the embed_config.php located in the common folder
> do a search/ replace for YOUR_TEMPLATE/ the direct location of your template from the php root of your machine.
> It should work form there.
>
>
> My wife has read all of this plus all six pages of your post's and the only person who came close to explaining this was brain21 and that was almost clear. I don't think anyone has used this procedure in zc 1.37 or there would be a clear step by step procedure, anyway thanks for the quick reponse and the effort. For now we will stick with the old zen cart.
> PS I hate microsoft outlook , vcf files if you must respond please use a standard email other the outlook, if not so be it I know you are very busy.
>
> Thank you
> Charles Denton for Gisela Denton
> Custom Engineering ( We specilalize in the design of RF amps, SMPS)
>
> -----Original Message-----
> From: JOsh Beauregard
> Sent: Mon 5/14/2007 5:24 PM
> To: cdenton_38
> Cc:
> Subject: Re: embed zen cart
>
>
>
> looks like you did not read the read me file that came w/ my files
>
> JOsh
>
> chas1 wrote:
>
> > This is the message:
> >
> > Email [email protected]
> >
> > Warning: fopen(../../../../hotdocs/mysite/store/generic/generic.htm) [function.fopen]: failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 15
> >
> > Warning: filesize() [function.filesize]: stat failed for ../../../../hotdocs/mysite/store/generic/generic.htm in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 16
> >
> > Warning: fread(): supplied argument is not a valid stream resource in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 16
> >
> > Warning: fclose(): supplied argument is not a valid stream resource in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 18
> >
> > I am trying to embed your cart into my little html site,
> > I want to develop this on my local pc with winxp(no service paks)
> >
> > The directory structure :
> > Program files
> > Xammp
> > Hotdocs
> > Store
> > Includes
> > Templates
> > Sang (your files are here)
> >
> > I can run the green template of zencart with no problem and if I point to my html file , it displays as expected.
> >
> > I have read thru your posts very carefully and it seems to me the sticking point is where to place the html file and how to come up with the relative path to it.
> >
> > I have brain21 post where he explains this and end the end he has tow(2) structure
> > ../../../includes/templates/generic/generic.html ( I get errors above) I know this is only and example but he states start at the php.ini and work out (the php.ini is in the apache/bin/ folder
> >
> > Then I tried various forms of the other ../../../hotdocs/storename???/store/generic/generic.html , I put extra ../ upto 6 and deleted them one at a time no luck.
> >
> > I would appreciate if you could help me as zencart seems to great but the fact of playing around with log’s and header images along with tag lines in a container is above my head, while with html I have very little problem.
> >
> > Thank you In Advance
> > Gisela Denton
> >
> >
> >
> >
>
>
>
the problem is in both your path and file structure
the sang_embed files are zen cart template files and they belong in your templates folder.
The error you are getting is generated when ZC cant find your template file.
try moving your template file to the same dir as the embed_config.php and making line 11 look somthing like this:
JOshPHP Code:
$zc_temp = DIR_FS_CATALOG.DIR_WS_TEMPLATES."sang_embed/common/(yourTemplateFileName)";
JOsh
the directory path is
xampp /htdocs/store/includes/templates/sang and in the folder sang are your three files plus my html file (generic), I made the changes you suggest and still get errors.
I would like to thank you for your courteous and quick reply and your willness to help with this problem.
Gisela Denton
I moved the html file to the common folder and recieved these errors:
[FONT=Times New Roman]Warning[/FONT][FONT=Times New Roman]: fopen(C:/Program Files/xampp/htdocs/store/includes/templates/sang_embed/common/(generic.htm)) [[/FONT][FONT=Times New Roman]function.fopen[/FONT][FONT=Times New Roman]]: failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 17
Warning: filesize() [[/FONT][FONT=Times New Roman]function.filesize[/FONT][FONT=Times New Roman]]: stat failed for C:/Program Files/xampp/htdocs/store/includes/templates/sang_embed/common/(generic.htm) in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 18
Warning: fread(): supplied argument is not a valid stream resource in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 18
Warning: fclose(): supplied argument is not a valid stream resource in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line [/FONT][FONT=Times New Roman]20[/FONT]
[FONT=Times New Roman]Warning[/FONT][FONT=Times New Roman]: fopen(C:/Program Files/xampp/htdocs/store/includes/templates/sang_embed/common/(generic.htm)) [[/FONT][FONT=Times New Roman]function.fopen[/FONT][FONT=Times New Roman]]: failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 17
Warning: filesize() [[/FONT][FONT=Times New Roman]function.filesize[/FONT][FONT=Times New Roman]]: stat failed for C:/Program Files/xampp/htdocs/store/includes/templates/sang_embed/common/(generic.htm) in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 18
Warning: fread(): supplied argument is not a valid stream resource in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 18
Warning: fclose(): supplied argument is not a valid stream resource in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line [/FONT][FONT=Times New Roman]20[/FONT]
[FONT=Times New Roman]Warning[/FONT][FONT=Times New Roman]: fopen(C:/Program Files/xampp/htdocs/store/includes/templates/sang_embed/common/(generic.htm)) [[/FONT][FONT=Times New Roman]function.fopen[/FONT][FONT=Times New Roman]]: failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 17
Warning: filesize() [[/FONT][FONT=Times New Roman]function.filesize[/FONT][FONT=Times New Roman]]: stat failed for C:/Program Files/xampp/htdocs/store/includes/templates/sang_embed/common/(generic.htm) in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 18
Warning: fread(): supplied argument is not a valid stream resource in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 18
Warning: fclose(): supplied argument is not a valid stream resource in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line [/FONT][FONT=Times New Roman]20[/FONT]
[FONT=Times New Roman]Warning[/FONT][FONT=Times New Roman]: fopen(C:/Program Files/xampp/htdocs/store/includes/templates/sang_embed/common/(generic.htm)) [[/FONT][FONT=Times New Roman]function.fopen[/FONT][FONT=Times New Roman]]: failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 17
Warning: filesize() [[/FONT][FONT=Times New Roman]function.filesize[/FONT][FONT=Times New Roman]]: stat failed for C:/Program Files/xampp/htdocs/store/includes/templates/sang_embed/common/(generic.htm) in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 18
Warning: fread(): supplied argument is not a valid stream resource in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 18
Warning: fclose(): supplied argument is not a valid stream resource in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line [/FONT][FONT=Times New Roman]20[/FONT]
[FONT=Times New Roman]Warning[/FONT][FONT=Times New Roman]: fopen(C:/Program Files/xampp/htdocs/store/includes/templates/sang_embed/common/(generic.htm)) [[/FONT][FONT=Times New Roman]function.fopen[/FONT][FONT=Times New Roman]]: failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 17
Warning: filesize() [[/FONT][FONT=Times New Roman]function.filesize[/FONT][FONT=Times New Roman]]: stat failed for C:/Program Files/xampp/htdocs/store/includes/templates/sang_embed/common/(generic.htm) in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 18
Warning: fread(): supplied argument is not a valid stream resource in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 18
Warning: fclose(): supplied argument is not a valid stream resource in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line [/FONT][FONT=Times New Roman]20[/FONT]
[FONT=Times New Roman]Warning[/FONT][FONT=Times New Roman]: fopen(C:/Program Files/xampp/htdocs/store/includes/templates/sang_embed/common/(generic.htm)) [[/FONT][FONT=Times New Roman]function.fopen[/FONT][FONT=Times New Roman]]: failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 17
Warning: filesize() [[/FONT][FONT=Times New Roman]function.filesize[/FONT][FONT=Times New Roman]]: stat failed for C:/Program Files/xampp/htdocs/store/includes/templates/sang_embed/common/(generic.htm) in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 18
Warning: fread(): supplied argument is not a valid stream resource in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 18
Warning: fclose(): supplied argument is not a valid stream resource in C:\Program Files\xampp\htdocs\store\includes\templates\sang\common\embed_config.php on line 20[/FONT]
I looked at my wifes file structure and found the error, she had named the folder sang and not sang_embed. Icorrected that and things seem to work. I will get back to you and let you know the final outcome of her project within the next two days.
Thank you many times over again as she was driving me nuts
Charles Denton
good luck
to you.
if you want to improve my read me file go right a head
I will include it w/ the next release.
JOsh
JOsh
The Sanguine Embbeded Cart is not working , I discovered this by trying to change the sidebox colors. The Green template was choosen in the admin not embbed cart, when that was changed to Sanguine Embbeded Cart the same error's returned. The html file is one page named (generic) and is in the common folder.
Thank you
Charles
I think that the issue is the parentheses you have around the generic.htm in your string they should not be there. sorry I confused you. in the example that I gave you I had them to indicate that that was something that you would define.
Make it:
JOshPHP Code:
$zc_temp = DIR_FS_CATALOG.DIR_WS_TEMPLATES."sang_embed/common/generic.htm";
JOsh
That took care of the problem, I want to help her finish this what I would like to know is how to you get back to your home page from within the cart (for example the cart is entered by hyperlink button to an html page which is page 2 of site then how does one leave the cart and go back to the home page?) Also what was the reason of the post by brain21 with all the relative links , your method was easy to undertand and worked out of the box.
Again thanks for the quick response
Charles