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

Page with PayPal button won't open in Dreamweaver CS4

New Here ,
Apr 01, 2021 Apr 01, 2021

I have html pages which include PayPal payment buttons which were created using Dreamweaver CS4, but they no longer open in Dreamweaver CS4. The program states 'not responding' and all I can do is close the program.

The pages still work correctly online.

If I remove the coding for the PayPal button using Notepad, then the page will load in Dreamweaver CS4.

Please advise. Thank you.

David.

Example of coding which stops the page from opening in Dreamweaver CS4, which is a Donate button on www.turacos.org :

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">

<input type="hidden" name="cmd" value="_s-xclick" />

<input type="hidden" name="hosted_button_id" value="M7LTHY6DUEPG8" />

<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="Donate to the ITS via PayPal - The safer, easier way to pay online!" alt="Donate to the ITS using this PayPal button" />

<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1" />

</form>

TOPICS
Code , Error , Product issue
719
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
Community Expert ,
Apr 01, 2021 Apr 01, 2021

I don't recall DW having built-in paypal button functionality. Was this a third party addon that you were using?

 

The thought I'm having is that this button code is old and out of date, and while it may still work on the web, it is causing an issue in DW because the page might be taking too long to respond.  Can you try going to Paypal and re-generating the code and see whether it is the same or not.  If not, I would try the new embed code in Dreamweaver and see if you still run into the same issue as you are now.

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
New Here ,
Apr 01, 2021 Apr 01, 2021

Thank you for your thoughts.

I had already tried that and did a new donate button on PayPal:

<form action="https://www.paypal.com/donate" method="post" target="_top">

<input type="hidden" name="hosted_button_id" value="TPGGA5BF3966Q" />

<input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_donate_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />

<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1" />

</form>

Sadly it has the same problem. As soon as I paste the coding into the page using Notepad, it then won't open in Dreamweaver CS4.

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
Community Expert ,
Apr 01, 2021 Apr 01, 2021

DW might be having an issue with a code error. 

Go to http://validator.w3.org/nu to run the code and clean out anything it finds. 



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
Community Expert ,
Apr 01, 2021 Apr 01, 2021

The following HTML5 code renders fine for me in Code, Live and Design view with Dreamweaver CC (v. 2021).

 

See screenshot.

image.png

 

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>PayPal Button in HTML5 Document</title>
</head>
<body>
<form action="https://www.paypal.com/donate" method="post" target="_top">
<input type="hidden" name="hosted_button_id" value="TPGGA5BF3966Q">
<input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_donate_LG.gif" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button">
</form>
</body>
</html>

 

Nancy O'Shea— Product User, Community Expert & Moderator
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 ,
Apr 01, 2021 Apr 01, 2021

Works ok for me in DWCS4 - Both the button code and the the rest of the pages code opens.

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
New Here ,
Apr 01, 2021 Apr 01, 2021

Perhaps I need to reinstall Dreamweaver CS4.

I have the original CD and licence.

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 ,
Apr 01, 2021 Apr 01, 2021

Actually wait a moment before you do that, it actually doesnt work. It freezes CS4 if I try and view just the button code in design view. It only opens successfully in code view.

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
New Here ,
Apr 01, 2021 Apr 01, 2021

Thank you Osgood - most helpful.

I hadn't tried opening in code view in my DW CS4.

I have tried this and then (sometimes) been able to convert to split view without crashing the software so I could see what I was editing.

Not a proper solution, but at least a work-around and if only the code view works for some pages, at least that is easier than Notepad because DW has the numbers for the lines of code, hence easier to find things.

Thank you.

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
New Here ,
Jan 03, 2022 Jan 03, 2022
LATEST

Thank you Osgood. I've had this same problem for some time. Glad to find here that I can open in code view. I was not successful in then moving to split view.

 

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
Community Expert ,
Apr 01, 2021 Apr 01, 2021

CS4 is grossly outdated software from 2008.  By that I mean, it cannot understand modern HTML5 and CSS3 code much less render it properly.  I don't think you're doing your organization any favors with outdated web software.  

 

Your home page is throwing 40+ code errors and warnings.  And that's just the home page.  I haven't looked at the others.

http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.turacos.org%2F

 

MODERN SOFTWARE

================
-- Adobe Brackets (open source code editor) - http://brackets.io/
-- Adobe Dreamweaver CC - (subscription only) https://www.adobe.com/products/dreamweaver.html
-- Pinegrow - (subscription or single purchase) https://pinegrow.com/
-- Visual Studio Code (open source code editor) - https://code.visualstudio.com/

 

Nancy O'Shea— Product User, Community Expert & Moderator
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