close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Add To Cart - Blank Page

Thread began 6/08/2012 6:42 am by peterm.bruce341471 | Last modified 6/08/2012 9:43 am by Jason Byrnes | 2368 views | 4 replies |

peterm.bruce341471

Add To Cart - Blank Page

Hi,

Developing in php environment, mac using mamp everything working well in my site until I introduce ecart. Did everything as per guide, carefully set up the cart, checkout etc.

I introduced an add to cart button to my page now the page loads and it's blank. Obviously one of the includes is having problems but I can't see where or what. Any ideas?

Thanks,


Peter

Sign in to reply to this post

Jason ByrnesWebAssist

a blank page means that a php error is occurring but error reporting is turned off.

to turn error reporting on, add the following code at line 1:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>



once we know what the error is, we will be able to troubleshoot the cause.

Sign in to reply to this post

peterm.bruce341471

This post has been deleted.

Jason ByrnesWebAssist

instead of using virtual for the include files, require once should be used.

In your site definition, There is a setting for "Links Relative To" this can be set to "Document" or "Server"


Using "Server" will cause Dreamweaver to use the virtual() function for include files, this can be problematic.

I recommend using "Document" relative links so that Dreamweaver will use the require_once() function for include files.

Sign in to reply to this post

peterm.bruce341471

Sorted

I've changed the includes manually in all files - seems to be working.

Great job and thanks for the advise - next time I'll be sure to define the site as you say.

Thanks Jason.

Sign in to reply to this post

Jason ByrnesWebAssist

glad to hear it is working.

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...