close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Data Assist Update record with images - does not return to details page

Thread began 7/24/2010 4:51 pm by ingsercon21251 | Last modified 7/27/2010 11:31 am by Jason Byrnes | 1174 views | 7 replies |

ingsercon21251

Data Assist Update record with images - does not return to details page

Hello

I have a data assist update page with some pictures to be modified. All this upload and modification is working pretty good.
The problem is that after update the page should go to detail page, but it still in the same Update page.
I have checked the Update Server behavior and the location after update still there.
Like this : After Update go to:

Mem_vh_Dtl.php?VehicleId=<?php echo ((isset($_POST["WADAUpdateRecordID"]))?$_POST["WADAUpdateRecordID"]:""); ?>

I will appreciate any help. I had been trying for almost 6 hours.

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

most likely a php error is occurring that is preventing the redirect.

Add the following code to line 1 to turn error reporting on:

php:
<?php

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



post back the text of any errors that are occurring and copy of your page compressed into a zip archive so I can examine the code.

Sign in to reply to this post

ingsercon21251

Here error message.

Thanks,

This is the error message I got.

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hermes/bosweb/web184/b1848/ipw.digitec2007/public_html/vehimax2010/Mem_vh_Updt.php:5) in /hermes/bosweb/web184/b1848/ipw.digitec2007/public_html/vehimax2010/WA_SecurityAssist/Helper_PHP.php on line 5

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb/web184/b1848/ipw.digitec2007/public_html/vehimax2010/Mem_vh_Updt.php:5) in /hermes/bosweb/web184/b1848/ipw.digitec2007/public_html/vehimax2010/Mem_vh_Updt.php on line 341

Attached Files
Mem_vh_Updt.zip
Sign in to reply to this post

Jason ByrnesWebAssist

php is sensitive to blank spaces between php tags.

at line 4, you blank space at the end:
"?> "

and there is a blank line between php tags at line 9 and 297. These blank lines are causing the redirect to fail.

Sign in to reply to this post

ingsercon21251

Jason

Thanks.

I actually did what you said but the problem still the same. Please see the error messages:


Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hermes/bosweb/web184/b1848/ipw.digitec2007/public_html/vehimax2010/Mem_vh_Updt.php:5) in /hermes/bosweb/web184/b1848/ipw.digitec2007/public_html/vehimax2010/WA_SecurityAssist/Helper_PHP.php on line 5

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb/web184/b1848/ipw.digitec2007/public_html/vehimax2010/Mem_vh_Updt.php:5) in /hermes/bosweb/web184/b1848/ipw.digitec2007/public_html/vehimax2010/Mem_vh_Updt.php on line 331

Sign in to reply to this post

Jason ByrnesWebAssist

the headers already sent error means that there is output to the page before the header function or session-start function is being called.

the error:
output started at /hermes/bosweb/web184/b1848/ipw.digitec2007/public_html/vehimax2010/Mem_vh_Updt.php:5

is telling you that the output is at line 4 or 5 of the Mem_vh_Updt.php page.


if you cannot find the problem, send a copy of the page so I can see the code at line 4 and 5.

Sign in to reply to this post

ingsercon21251

Jason

The instruction that controls the wa_security_assist process MUST have Spaces after and before the parenthesis. Like This

<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?>

This was the problem. I got it working now.

Thanks for your help.

Sign in to reply to this post

Jason ByrnesWebAssist

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