Project

General

Profile

Actions

Support #1345

closed
PG KD

no changes

Support #1345: no changes

Added by Paweł Grzybowski about 14 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Target version:
-
Start date:
07/02/2012
Due date:
% Done:

0%

Estimated time:

Description

In this website there are no changes when I click the button "usun".
The button works but I can see any changes on my website when I click the button.
I don't know where is the bug.


Files

1usun.cpp (2.53 KB) 1usun.cpp Paweł Grzybowski, 07/02/2012 06:35 PM
1main.cpp (1.02 KB) 1main.cpp Paweł Grzybowski, 07/02/2012 06:35 PM

KD Updated by Koen Deforche about 14 years ago Actions #1

  • Status changed from New to Feedback
  • Assignee set to Koen Deforche

Hey,

That's hard to say because you only have part of the code...

One guess is:

ptr rekord = session.find().where("id1 = ?").bind(boost::lexical_caststd::string(k));

Here you bind a string, while in fact the underlying field (id1) is an numeric type ?

ptr rekord = session.find().where("id1 = ?").bind(k);

Perhaps you should run your code in a debugger with 'catch throw' and/or carefully examine the error log of Wt.

Regards,
koen

PG Updated by Paweł Grzybowski about 14 years ago Actions #2

The code is OK, but when I run the program and I click on the links and buttons on my website the program read the data from the database but I can't see the results on the webpage for example when I enter some data and add to the database then I click on the link and I can't see the results on the webpage.

KD Updated by Koen Deforche about 13 years ago Actions #3

Hey,

You need to make sure you rerun the queries if data in the database modified. Are you doing that?

koen

KD Updated by Koen Deforche over 11 years ago Actions #4

  • Status changed from Feedback to Closed
Actions

Also available in: PDF Atom