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

No Re-direct

Thread began 11/05/2010 8:32 am by nickj | Last modified 11/05/2010 3:33 pm by Jason Byrnes | 949 views | 5 replies |

nickj

No Re-direct

In the attached form the re-direct is not working, can you see why?

Please

Thanks

Nick

Attached Files
artist_art_Insert.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

my guess is that a php error is occuring causing the redirect to fail.

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

php:
<?php

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




i suspect that this line is causing the error:

php:
<?PHP session_start() ?>




there should be a semi colon at the end:

php:
<?PHP session_start(); ?>
Sign in to reply to this post

nickj

No luck and no error reported here is refined version of the file.

Attached Files
artist_art_Insert.php 2.zip
Sign in to reply to this post

Jason ByrnesWebAssist

is the info going to the database?

what size are the images you are uploading?


could be the image size exceeding the post max size setting in the php.ini file. try uploading very small images.

Sign in to reply to this post

nickj

Images are not the probably, although as I re-built this, section by section the form did not like the file-upload-field until was bound to the database.

The two updates work perfectly and a session is re-written. Everything works except the re-direct.

The error code does not report any error!

Sign in to reply to this post

Jason ByrnesWebAssist

Well, i don't see the error reporting code on the last page you sent.

If the updates are working, i cont see why the redirect would not occur if there is not an error on the page.


the redirect page is set at line 221:
$WA_redirectURL = "untitled.php";

then gets executed at line 251:
header("Location: ".$WA_redirectURL);


what happens if you change line 251 to:
die("Redir: ".$WA_redirectURL);
header("Location: ".$WA_redirectURL);

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