David, Walt, thanks for your input.
I can sort of get things working but still have some glitches. I should note that I’m really green at this and have no previous experience dealing with code.
As noted in my previous posts in this thread, to use the EcommerceTemplates shopping cart I need to make the page .php and add this code to the top of the page <?php session_cache_limiter('none'); session_start(); ob_start(); ?> (the “Session Code”).
I then insert additional Cart related code into the various pages as may be required.
To get things to work properly, I need to change the File Name from .html to .php using the Inspector. I’ve also tried using the PHP Dynamic Page Titles Action on a page with a .html File Name but it doesn’t register with the Session Code.
If I simply insert the Session Code using Page>HTML Markup at the top of page with a .php File Name, this code is viewable in a browser, but the Page Name at the top of the browser window is simply .php (the Pages’ file name is missing). Not what I want for obvious reasons. I’m assuming that this is a result of the spacing issue previously noted.
Given Walt’s input, I tried adding an additional immediately after the Session Code and this seemed to do the trick. Now all of the page names show at the top of the browser window. Strangely, when I do this the Session Code is not visible when viewing in a browser, only the “new” code is visible.
The other problem that I am still having with this fix is with the landing page “index file”.
When I name the landing page (“index.html”) in the Inspector and upload the site to the server, if I type http://test.advancedbarefoot.com or http://www.test.advancedbarefoot.com into a browser I’m able access the landing page.
However, when I name the landing page (“index.php”) in the Inspector and upload the site to the server, if I type http://test.advancedbarefoot.com or http://www.test.advancedbarefoot.com into a browser I get the following message: ERROR 403 – Forbidden
However, if I type http://test.advancedbarefoot.com/index.php or http://www.test.advancedbarefoot.com/index.php into a browser I’m able to access the landing page.
I’ve tried adding after the Session Code but get the same results.
Any ideas on how I can access the landing page in a browser if a person simply types in the .com URLs (without /index/php) with the ,php page name?
Thanks.
Roy
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options