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

Insert loses session information

Thread began 3/19/2012 12:25 pm by bill173836 | Last modified 3/19/2012 4:26 pm by Jason Byrnes | 678 views | 7 replies |

bill173836

Insert loses session information

I recently updated to version 2.1 and now when I use the wizard to create files. The insert file loses the session information before it gets to the detail page. Here are the files. Thanks.

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

Jason ByrnesWebAssist

try adding the following code at line 1 of the detail page:

php:
<?php @session_start(); ?>



on the insert page, try changing line 67:

php:
header("Location: ".$WA_redirectURL);



to:

php:
session_commit();

header("Location: ".$WA_redirectURL);



if you continue to have a problem, add the following code just before the </body> to help troubleshoot:

php:
<?php

echo("<pre>");
var_dump($_SESSION);
echo(
"</pre>"):
echo(
"SQL: ".$query_WADAgallery);
?>




this will write the session contents and the recordset to the page, post this back

Sign in to reply to this post

bill173836

That didn't help and the last bit of code just created a parse error.

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

Jason ByrnesWebAssist

this line:
echo("</pre>"):


should be:
echo("</pre>");

Sign in to reply to this post

bill173836

When I put in the corrected code on the details page this is what I got.

array(5) {
["blogID"]=>
int(0)
["WADA_Insert_blog"]=>
int(0)
["galleryImageinsert_gImagePicture"]=>
string(22) "thumb_1LauraHawley.jpg"
["galleryImage_gImageID"]=>
int(0)
["WADA_Insert_gallery"]=>
int(0)
}
SQL: SELECT galleryID, galleryName, galleryDescription, galleryActive FROM gallery WHERE galleryID = -1 OR ( -1= -1 AND galleryID= 0)

Sign in to reply to this post

Jason ByrnesWebAssist

so the WADA_Insert_gallery value is being set to 0

in the database, what is the data type for the galleryID column? is it set to be the primary key? and to auto number?

Sign in to reply to this post

bill173836

Yes the database is correct.

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

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