close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Download Centre - Blank Page

Thread began 5/01/2011 4:50 am by Kamen Nikolov | Last modified 5/03/2011 11:32 am by Jason Byrnes | 6715 views | 13 replies |

Kamen Nikolov

Download Centre - Blank Page

Hi everyone,

I have build Download center and it doesn't post the files into the download center at all. I have looked and looked for a problem why it is not working and I am not seeing it. I am attaching the confirm.php and the download_center.php.

Please help.

Kamen

Attached Files
confirm.zip
download_Center.zip
Sign in to reply to this post

Jason ByrnesWebAssist

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

add the following code at line 1 of the download center page:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
Sign in to reply to this post

Kamen Nikolov

This is what I got:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hermes/bosweb26b/b2452/ipw.thewealthquestcom/public_html/download_Center.php:5) in /hermes/bosweb26b/b2452/ipw.thewealthquestcom/public_html/WA_SecurityAssist/Helper_PHP.php on line 5

and these are the lines (4-6) from Helper_PHP.php:

if (!isset($_SESSION)) {
session_start();
}

But I just notice this on line 14 of Helper_PHP.php:

mysql_select_db($WA_Auth_Parameter["database"], $WA_Auth_Parameter["connection"]);

Isn't ["database"] be the dataBase Name and ["connection"] dataBase Connection?

Sign in to reply to this post

Jason ByrnesWebAssist

see this post for details on troubleshooting the headers already sent error:
showthread.php?t=19285

Sign in to reply to this post

Kamen Nikolov

Hi Jason,

I have checked the attached post and I have check my files non of it is applicable. Any other ideas. I can send you all file so you can take a look.

Thank you

Sign in to reply to this post

Jason ByrnesWebAssist

pay atention to this part of the error message:
output started at /hermes/bosweb26b/b2452/ipw.thewealthquestcom/public_html/download_Center.php:5


this is telling you to look at lines 4 and 5 of the download_Center.php page for the cause of the error.


the most likely cause is a blank space at the end of the closing php tag:
"?> "

Sign in to reply to this post

Kamen Nikolov

Hi Jason,

I have tried your suggestion and it is giving me the same result. After buying the product they will receive en email directing them to their profile where they can accesses the download center. (Picture-1) When they click the Download Center Button it takes them there. The problem is it is blank/empty it doesn't show anything in the download center. (Picture 2)

There is a problem some where and I cant find it.

Sign in to reply to this post

Jason ByrnesWebAssist

This is not the same as a blank (white) page, a blank page indicates that there is nothing at all showing,

Instead, this is telling you your recordset is not pulling any results.

Looking at the confirm page, I can see that the store order summary behavior is not storing the logged in users ID.

On the confirm page, double click the Store Order Summary server behavior. Bind the OrderUserID column to the UserID session variable.

Sign in to reply to this post

Kamen Nikolov

Which line is that? I am looking at the code and I am not seeing it. I must be going blind, I am so sorry.

Sign in to reply to this post

Jason ByrnesWebAssist

it's not a line.


Open the server behaviors window. Go to Window -> Server Beahivors.

in the list of Server behaviors, locate the eCart Store order Summary server behavior. double click on it to edit the settings.

bind the orderuserId column to the User ID session variable.

for more details, see the "Applying Register/Login to your checkout" tutorial on the eCart support page:
ecart/

Sign in to reply to this post
loading

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