Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 12:04 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Post web data - Opus returns old values into variables
PostPosted: December 27th, 2006, 12:02 am 
Offline

Joined: November 12th, 2004, 3:28 pm
Posts: 34
Location: Akureyri Iceland
Hello
I am working on a very simple publication that sends two variables via php to MySql database. Sending the variables works perfectly, and getting the values backs work as well.

Then I change the values of the variables (in text input boxes) and send them again. Correct in the database, and correct if I use web browser to view them from tha database.

But using the Post Web data action returns the old value of the variables until I turn the publication off and restart it. Then it shows the new (correct) content.

I have seen this problem before. I was working on a big publication, using ASP and ACCESS. There was a login page and if the user typed wrong user name or password, these wrong values were "stuck" until the publication was turned of and on again.

Any idea??

_________________
Jonas Helgason
Menntaskolinn á Akureyri
Iceland


Top
 Profile  
 
 Post subject: Trying to help
PostPosted: December 27th, 2006, 1:19 pm 
Offline

Joined: October 25th, 2004, 2:20 pm
Posts: 686
Location: Naperville, Illinois (USA)
Opus: 7.05
OS: Win XP SP3
System: P4 3.2GHz 1GB RAM 2-TB HDs + 4 more
Jonas --

Sounds complex. What would happen if you RESET each Variable in question before you have OPUS read from your database? If the response comes back "blank" (reset) then OPUS isn't reading the DB the second time. You know OPUS is writing properly because using a web browser produces the correct information.

Also check which DB you are reading. Maybe OPUS is creating the info in a TEMP directory instead of where you think it's going.

Just some "outside the box" ideas. Good luck!

_________________
Fred Harms, Extraordinary Demos
Naperville, Illinois (USA) 630/904-3636
demofred@aol.com


Top
 Profile Visit website  
 
 Post subject:
PostPosted: December 27th, 2006, 5:58 pm 
Offline

Joined: November 12th, 2004, 3:28 pm
Posts: 34
Location: Akureyri Iceland
Thank you Fred

I have tried to Reset All Variables before running Post Web Data - does not help. :(

I am trying to find out if your suggestion of Opus reading some Temp file instead of reading from the database - sounds good, but still no luck.

I attach files with screen shots of my problem, hoping that someone can tell me what is wrong.

Regards
Jonas


You do not have the required permissions to view the files attached to this post.

_________________
Jonas Helgason
Menntaskolinn á Akureyri
Iceland


Top
 Profile  
 
 Post subject: Re
PostPosted: December 28th, 2006, 2:02 pm 
Offline

Joined: December 14th, 2004, 5:08 pm
Posts: 55
Location: Holland
Opus: version 8.0
OS: XP, Vista, Windows7, Windows8
System: Intel Corei7-2600 CPU 3.400GHz
We had a simular problem a few month's ago, I think it will be solved in a next update of Opus.
In the mean time is it a possibility to do the folowing? Write the new data to a text file in Temp files and restart the Pub (launch action under the action tab) and read the text file when launching the Pub (OnShow / ReadFile action)

Hopefully it helps

Ps I thought of something else you can try use the script action GotoCurrentPage();
Normally this would reset the page variables and set the page to its initial state.


Top
 Profile  
 
 Post subject:
PostPosted: December 28th, 2006, 3:34 pm 
Offline

Joined: November 12th, 2004, 3:28 pm
Posts: 34
Location: Akureyri Iceland
Thank you Jim

I will try some workaround my problem. But I am still wondering where the publication keeps the old value or where it reads it. I tried to run the publication once and then run "Search" on the value on my computer - no luck.

Jonas

_________________
Jonas Helgason
Menntaskolinn á Akureyri
Iceland


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 72 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group