CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Error WCommon.js

Print topic Send  topic

Author Message
DonH

Posts: 18
Posted: 05/02/2011, 11:18 AM

Hi...
Does anyone has any idea about this error?

An error has occurred in the script on this page.
Line. 125
Char: 6
Error: "spin1" is undefined.
C:/CodeCharge%20Studio%204/Components/Dialogs/Wizards/Common/WCommon.js

Although I removed the program several times.
I use win 7 and explorer 9.
php mysql.


Dan
View profile  Send private message
Mango_Lier


Posts: 110
Posted: 05/02/2011, 11:34 AM

Oh Geez that keygen is not working... ;-)
View profile  Send private message
datadoit
Posted: 05/02/2011, 11:37 AM

Contact Yes Software support.
DonH

Posts: 18
Posted: 05/03/2011, 3:22 AM


Mango, I do not use keygen, I have a perpetual license codec charge 4.3.
datadoit, I will try to send it to support.

This error appeared after installing explorer 9.
Thanks.

Dan
View profile  Send private message
datadoit
Posted: 05/03/2011, 6:09 AM

If I get bored I'll see if this can be recreated. A virtual machine on
Win7 and IE9.
rho


Posts: 85
Posted: 05/03/2011, 6:28 AM

There is a patch for this. Contact Yes support.
View profile  Send private message
datadoit
Posted: 05/09/2011, 4:19 PM

I can't recreate this. Win7 Utl., CCS 4.3.0.7676, IIS 7.5, IE9, .Net 4
Framework Client Profile, .Net 2 Target Version in CCS along with IE50
Target Schema. So far all seems well.
cleyan


Posts: 136
Posted: 05/14/2011, 3:44 PM

I was with the same problem after i update to IExplorer 9, but disapear after a copuple of windows updates

Regards

Carlos
_________________
**************************************************
Carlos Leyan B.
Temuco, Chile
www.leytec.net
View profile  Send private message
jjrjr2


Posts: 131
Posted: 05/30/2011, 6:04 AM

Hi

Think i found a fix for this..

Also found other builders affected.

http://forums.codecharge.com/posts.php?post_id=115735

John8-)
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com
Real Web Development At: http://RealWebDevelopment.us
View profile  Send private message
datadoit
Posted: 05/30/2011, 7:26 AM

Aha! I can recreate it now. It's relegated to the Grid and Grid and
Record builders only. I use the editable grid builder 99.9999% of the time.

I'll test the patch and report back.
datadoit
Posted: 05/30/2011, 7:37 AM

The patch files (12/30/10) and the .7676 release files (2/24/10) are
identical. Error still occurs in the Grid and Grid and Record Builders.
jjrjr2


Posts: 131
Posted: 05/30/2011, 12:58 PM

Yeah Data

Just looked at the patch. It is the same. LOL

I posted the patch I created here.

http://ccselite.com/forums_topics_view.php?forum_id=1&forum_topic_id=153

Now all works fine!

John8-)
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com
Real Web Development At: http://RealWebDevelopment.us
View profile  Send private message
datadoit
Posted: 05/30/2011, 5:29 PM

Yes, trapping the error will prevent the alert from popping up, but it
doesn't solve the problem of why the error happens in the first place.
Stay on them (all two of 'em, Greg and Helen?) to see if they'll
actually get it fixed.

jjrjr2


Posts: 131
Posted: 05/31/2011, 1:56 AM

Actually that fix solves the problem

The error is related to how IE9 processes errors differently in the javascript code...

In WCommon.js the error is trapped from the call there and nothing is done in IE8.. because the error in fact travels back to the call that invokes the initialize function.

However in IE9 the error is thrown in the actual initialiaze function first before returning to the original call in WCommon.js where the error used to be caught.

If You Like, I can show you how that can be determined..

The problem is actually IE9 vs IE8.. Not the builder code.

Think about it.. LOL... These builders have worked for all of us for a very long time till IE9...:-D

But Thanks for trying it out.. U will notice after this patch Grid builder works fine.. Google maps too!!

I have passed this to Yes so they can try it too.

8-)

BTW This would not be the first fix I have sent to Yes that got incorporated into CCS...

_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com
Real Web Development At: http://RealWebDevelopment.us
View profile  Send private message
DonH

Posts: 18
Posted: 05/31/2011, 4:27 AM


Hi
Problem has been resolved, but after formatting the windows, and remove IE9.
The situation is stable and everything works normally.

Regards
Dan
View profile  Send private message
datadoit
Posted: 05/31/2011, 6:01 AM

The error shows in IE9 and not earlier versions because earlier versions
didn't handle the way parameters were passed to functions correctly.

http://support.microsoft.com/kb/944397

Thus, based on the KB article, the error 'should have' been thrown all
along in all versions prior. IE9 is responding correctly now by
displaying an error. All we're doing is trapping the error so it
doesn't display, but the problem still exists in that parameters are
being passed to functions where errors are occurring. What are those
errors and are they important to catch and report? How does it effect
the DOM and memory consumption? Would not unknown errors such as this
eventually lead to that dayam 'Co-initialize' error we often see,
requiring closing the application to free up that memory?

Again, the error is getting trapped (out of sight, out of mind), but the
root cause of the error is still happening, which appears to be the way
parameters are passed between functions. Micro$oft's suggested
workaround: Don't pass any parameter to a function. Found that to be
quite humorous. Don't make web sites - become a welder instead.
That'll fix the problem.
jjrjr2


Posts: 131
Posted: 05/31/2011, 7:06 AM

Ok Data Whatever U say.

I guess I stand corrected but I somehow do not see how that MS KB post relates.

But I am usually wrong

Thanks for showing me the errors of my ways..

John
:-X :-X

@DonH - Would U not want to use IE9 instead of 8 just cause it is a good idea to develop and test your sites with current browser??

In the mean time CCS now works fine for me with all builders and IE9 installed & no problems occur...

I was just trying to help... It was suggested I do not share this fix. I guess I sould have listened...

Oh! BTW Data..... I have actually tried welding. I am no good at that either....
:(
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com
Real Web Development At: http://RealWebDevelopment.us
View profile  Send private message
DonH

Posts: 18
Posted: 05/31/2011, 11:59 AM


Thank you John.

Yes, you're right but I am compelled to do so.

Because I'm working on a large project and noted that the data to not appear correctly.

Will be tested with the completion of the project.

Thank you Data for information, I think I need to read and follow-up and that's my fault.

Best Regards.

Dan
View profile  Send private message
jjrjr2


Posts: 131
Posted: 06/02/2011, 9:47 AM

FYI...

Yes has responded to my support ticket on this with an official patch..

Posted here.

http://ccselite.com/forums_topics_view.php?forum_id=1&f...msg_usersPage=2

Let us know if it works.

John
8-) 8-)
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com
Real Web Development At: http://RealWebDevelopment.us
View profile  Send private message
datadoit
Posted: 06/02/2011, 10:20 AM

So now I revert back to my post here:
http://forums.codecharge.com/posts.php?post_id=114349

This patch apparently came out back in April. I will set up a
repository to have patches posted and available for download, with clear
and concise details of where and when to apply.

If we're waiting on YS we're moving backwards. Good job John for
staying on top of this.

Helen for new President of Yes Software!
jjrjr2


Posts: 131
Posted: 06/13/2011, 9:09 PM

LOL

I cannot resist... I finally looked at the official Yes fix for this....

They fixed it basically exactly as I did. In fact they were a little more extreme... They just removed the initialize code. LOL

I just used try {} Catch {} since I did not know if other calls used the code successfully...

Also the Yes patch does not fix the google maps builder.

Thanks for the analysis (and the meaningless MS KB link to this issue) data.. I still consider myself corrected. (wonder if U even looked at the code before criticising??). U think I should try welding again???

;-)

_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com
Real Web Development At: http://RealWebDevelopment.us
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.