I got the same thing. What you have to do is figure out where your PHP root directory is. It goes from there. For example, my generic template path that I put in the php file was something like:
../../../../htdocs/storename/store/generic/generic.html
where the ../ backed me up 1 directory. The php root directory turned out to be something like
xampp/php/bin/php or something like that (I can't remember).
Look for the file php.ini.
For example lets say that your generic.html file is located in
/mysite/store/includes/templates/generic/gerneric.html
and lets say the php.ini file is located in
/mysite/store/php4/bin/php/
OK, now the script (rather the embed_config.php file) needs to know the path from the PHP root directory.
Look at the embed_config.php file where it says MY_TEMPALTE (it's supposed to say MY_TEMPLATE but there is a typo). You'll see that it is in single quotes. Within those quotes is where you need to put the path FROM the php root directory TO the generic.html file
OK, so php.ini is in the /php/ directory. We start off with a
../
that moves us from /mysite/store/php4/bin/php/ to /mysite/store/php4/bin/
OK, now we add one more ../ so it looks like
../../
that moves us from /mysite/store/php4/bin/ to /mysite/store/php4/
Now we add another & get
../../../
that moves us from /mysite/store/php4/ to /mysite/store/
OK, now store is a common directory for both files, so instead of backing out of the php directory like we did by using "../" we can now move forward.
we have
../../../
and that puts us in /store/
Now the generic.html file is located in
/mysite/store/includes/templates/generic/gerneric.html
We are already in the store directory, so now we just need to add the rest of the path, which is includes/templates/generic/generic.html (remember we are pointing to the html file so that's what we need).
add the two together and you get
../../../includes/templates/generic/gerneric.html
Now, put that between the single quotes in the embed_config.php file. Save the file. Go into your ZenCart Template stuff and click on edit and then update. Refresh your page.
Now those errors should be gone.
Brain21
Bookmarks