Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

GGRRRRAAAAAAARRRR!!!

Enthusiast ,
Aug 15, 2008 Aug 15, 2008
Yes, it's me again!

I am getting a javascript error when I try to add a recordset to a php page. Actually, when I open a php page I get the same error. I don't get it with any of my asp pages, just php ones. I can open the recordset panel, connect to the table I want, test it and get results based on my query, then I click OK and that's when the error appears, and the recordset isn't created. so I can't get anything done.

The message is:

A Javascript error occurred...

While executing findServerBehaviours in Recordset.htm, a javascript error occurred.

Yet again, I am sorry to ask this of those who understand php, but does this mean anything to you? How can I resolve this? As I say, I can create a recordset in an asp page, just not a php page. I know when I manage to leap this hurdle, I will be up and running because DW should work in the same way for PHP as it does for ASP.

I just don't remember this much pain when I first started out eight years ago learning to build in ASP, learning databases and learn dreamweaver at the same time. I have been at this php now for three whole days and I haven't managed to get one bit of dynamic content on the page yet.

Thanks.

Mat
TOPICS
Server side applications
308
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 16, 2008 Aug 16, 2008
matthew stuart wrote:
> The message is:
>
> A Javascript error occurred...
>
> While executing findServerBehaviours in Recordset.htm, a javascript error
> occurred.
>
> Yet again, I am sorry to ask this of those who understand php, but does this
> mean anything to you?

It has nothing to do with PHP. You have a corrupted Dreamweaver cache
file. Follow troubleshooting step 4 in the following technote:

http://www.adobe.com/go/tn_19105

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 17, 2008 Aug 17, 2008
Oh right, that's excellent. At least now I know it's a fault rather than a stupid mistake that I am making.

Anyway, I have followed that, but it didn't work unfortunately. I have even copied the files and folders from my ServerBehaviors folders of DW9 from another machine (although it was from a Mac to a PC) and I am still getting the javascript error. I'm still not able to create a recordset!

Any other ideas? Do you think I have to do a new install of DW?

Thanks for your help so far.

Mat
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 17, 2008 Aug 17, 2008
matthew stuart wrote:
> Anyway, I have followed that, but it didn't work unfortunately. I have copied
> the files and folders from my ServerBehaviors folders of DW9 and I am still
> getting the javascript error. I'm still not able to create a recordset!

I'm not sure what you mean about copying the files and folders. You need
to delete WinFileCache-********.dat, as described in step 4 of that
technote.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 18, 2008 Aug 18, 2008
LATEST
I did follow that technote, but no joy was to be had unfortunately!

What I meant by copying files was that I would copy the actual application's php_mysql folder from the configurations folder of one computer (hoping that it would be full of uncorrupted files), and then paste it on to my affected pc hoping that replacing the whole folder and its files might correct the problem...

It didn't.

I have spoken with another person who has had the same issues and he reckons the only way to overcome is to reinstall after I have deleted everything I can find of DW's.

Unless any further ideas come up here, I'm going to give the technote another go, and if that doesn't work, I'll do a new install.

Thanks

Mat
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines