close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

problem using ecart with framework builder

Thread began 10/22/2012 3:11 am by CraigR | Last modified 10/22/2012 4:54 am by CraigR | 759 views | 1 replies |

CraigRBeta Tester

problem using ecart with framework builder

I am putting together a store and trying to use framework builder and plugins.

I created a few vanilla pages with no css, which work in their own right, and am now trying to use these pages as plugins.

Having a problem with my productdetails page, which incorporates my add to cart form.
It works fine , so I copied the page to my plugins folder
When I try and use the page from the plugins folder, ie siteroot/plugins/productdetails.php, the page loads ok, but nothing happens when I click the add to cart button,

when I use the page created with the productdetails plugin, on clicking the add to cart button, I get an error message...
You don't have permission to access /plugins/Notice: Undefined index: ../PHP_SELF in /plugins/productdetails.php on line 349 on this server.

This is the form action created automatically using ecart 5, how can I fix this ?

Sign in to reply to this post

CraigRBeta Tester

Ok, I fixed it.

When I moved the page to the plugins folder, I updated the links, so that the form action was changed from
<?php echo $_SERVER["PHP_SELF"]; ?>
to
<?php echo $_SERVER[".../PHP_SELF"]; ?>

corrected the path and it works again!

;-)

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...