close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Getting Blank Page on Update

Thread began 6/30/2020 7:13 pm by lr_leal239405 | Last modified 7/01/2020 1:14 pm by Ray Borduin | 21 views | 4 replies |

lr_leal239405

Getting Blank Page on Update

I am getting a blank page when I press 'Update' button on link / page below:

I've tried removing all spaces found but I can't figure it out. It tried the die() to see where and I found on line 97.

$UpdateQuery->redirect($UpdateGoTo);

When I remove the $UpdateGotTo like so: $UpdateQuery->redirect();...

...the blank page goes away but I need the redirect.

Attached is the file.

You also have FTP already on your DW, I believe, to that page (see below)

Sign in to reply to this post

Ray BorduinWebAssist

The page: cac_quote_new_records_update.php is not in the FTP area, so I couldn't test it.

The first thing I'd do is add this to the top:
<?php
ini_set("display_errors",1);
?>

That should give you an error message instead of the blank page that you could use to help figure out what is going on.

Sign in to reply to this post
Did this help? Tips are appreciated...

lr_leal239405

I've checked out the errors and tried several things to clear it up but I haven't been able to solve it.

Sorry. the ftp below should have the page in that folder

Sign in to reply to this post

Ray BorduinWebAssist

You had put an include on the top of the page:

<?php include("jsscripts.php"); ?>

That writes client side javascript to the page before the <!DOCTYPE HTML> tag and before the redirect.

You can't redirect to a new page once the page you are on has started writing code to the page. The solution was to move your include down to the <head> tag inside the <body> which is the top-most location you could put it. (usually you put scripts right before the </body> to help the page load more quickly, but it probably isn't too significant)

Sign in to reply to this post
Did this help? Tips are appreciated...

lr_leal239405

Oh Wow. Thanks! Awesome lesson. I spent so much time on it yesterday. But....I'm learning a lot.

Much Appreciated!

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