473,386 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

you need JavaScript enabled to view it

Hi All,

I'm using a Pay Pal form script, but locally tested in Dreamweaver with a browser it will do exactly what I'm aspect it to do. Only when I'm uploaded the file on the server it will give this ERROR. By th way, I'm using a Joomla 1.5.3 site.

The URL: http://www.dutchmarshalls.com/index....-product-list-

The ERROR CODE:
---------------------------------------------------------------------------------
[HTML]<script language='JavaScript' type='text/javascript'> <!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy34217 = 'sales' + '@'; addy34217 = addy34217 + 'dutchmarshalls' + '.' + 'com'; document.write( '<a ' + path + '\'' + prefix + ':' + addy34217 + '\'>' ); document.write( addy34217 ); document.write( '<\/a>' ); //-->\n </script><script language='JavaScript' type='text/javascript'> <!-- document.write( '<span style=\'display: none;\'>' ); //--> </script>This e-mail address is being protected from spambots, you need JavaScript enabled to view it <script language='JavaScript' type='text/javascript'> <!-- document.write( '</' ); document.write( 'span>' ); //--> </script>[/HTML]
--------------------------------------------------------------------------------
Return to Merchant
We cannot process this transaction because there is a problem with the PayPal email address supplied by the seller. Please contact the seller to resolve the problem. If this payment is for an eBay listing, you can contact the seller via the "Ask Seller a Question" link on the listing page. When you have the correct email address, payment can be made at www.paypal.com.



My Question?
Is there some one ho can help me with this ERROR?

Thanks in advance,
Aug 3 '08 #1
10 7326
acoder
16,027 Expert Mod 8TB
Your script is all on one line with comments in between. Either remove the comment characters or split the code into more than one line to avoid code being commented out.
Aug 3 '08 #2
Hi All,

The ERROR CODE:
---------------------------------------------------------------------------------
[HTML]<script language='JavaScript' type='text/javascript'> <!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy34217 = 'sales' + '@'; addy34217 = addy34217 + 'dutchmarshalls' + '.' + 'com'; document.write( '<a ' + path + '\'' + prefix + ':' + addy34217 + '\'>' ); document.write( addy34217 ); document.write( '<\/a>' ); //-->\n </script><script language='JavaScript' type='text/javascript'> <!-- document.write( '<span style=\'display: none;\'>' ); //--> </script>This e-mail address is being protected from spambots, you need JavaScript enabled to view it <script language='JavaScript' type='text/javascript'> <!-- document.write( '</' ); document.write( 'span>' ); //--> </script>[/HTML]
--------------------------------------------------------------------------------

This is not the code I'm using. This code is the ERROR code I'm receiving.

I'm using a form feet on the page that will direct me to Pay Pal.

This is the form I received from Pay pal to use on my article.

[HTML]

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<font face="Arial Unicode MS">
<span style="font-size: 9pt">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value=sales@dutchmarshalls.com>
<input type="hidden" name="item_name" value="Gold Supplier 1year membership">
<input type="hidden" name="item_number" value="G24046712">
<input type="hidden" name="amount" value="1089.00">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="weight" value="1">
<input type="hidden" name="weight_unit" value="1">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-BuyNowBF">
</span></font>
<p>
<input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">


</p>
</form>
[/HTML]



My Question?
Is there some one ho can help me with this ERROR?

Thanks in advance,
Aug 3 '08 #3
Your script is all on one line with comments in between. Either remove the comment characters or split the code into more than one line to avoid code being commented out.


How do I do This?

and where can I find the scipt you are referring to?
Aug 3 '08 #4
acoder
16,027 Expert Mod 8TB
The script is in your code.

I noticed that you're setting a hidden input field value using code in script tags. It doesn't work that way. This is probably why you're getting this as the error code.

To set the email address using JavaScript for a hidden field, use document.write to write the whole input field to the document, or set it using JavaScript, e.g.
Expand|Select|Wrap|Line Numbers
  1. hiddenField.value = addy34217;
where hiddenField is a ref. to the hidden input field.
Aug 3 '08 #5
The script is in your code.

I noticed that you're setting a hidden input field value using code in script tags. It doesn't work that way. This is probably why you're getting this as the error code.

To set the email address using JavaScript for a hidden field, use document.write to write the whole input field to the document, or set it using JavaScript, e.g.
Expand|Select|Wrap|Line Numbers
  1. hiddenField.value = addy34217;
where hiddenField is a ref. to the hidden input field.

Thanks, but the code seems to come from Paypal where I do not have access to.

Strange, because placing the file in my root it seems to work very well

http://www.dutchmarshalls.com/priceandproductlist.php

and when I put this file on my site it doesn't.
Aug 3 '08 #6
acoder
16,027 Expert Mod 8TB
View the source in both to see the difference. In the first one (that doesn't work), you have some script as the value of the "business"-named hidden field whereas in the second link you don't.
Aug 3 '08 #7
I have same problem with my joomla site. Please help me. i have not much knowledge of programming.
Nov 11 '08 #8
acoder
16,027 Expert Mod 8TB
Is it exactly the same problem or a similar problem? If it's different, I'll split your post off into its own thread. Can you give more details about the problem?
Nov 11 '08 #9
If you are using Joomla, you can solve this problem by disable the Plugin Content - Email Cloaking in the Plugin Manager.

Thanks!
Farhan
[removed link]
Nov 12 '08 #10
acoder
16,027 Expert Mod 8TB
Thanks for posting your solution.
Nov 12 '08 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Steven Green | last post by:
I did a clean install of Windows XP on my computer and my javascript will not work. I've tried all types of browsers, I've download the Service pack 1 for XP and IE. I have download java from...
7
by: George Hester | last post by:
Best done using Microsoft Internet Explorer but I believe Netscape may do OK not sure. I have one itsy bitsy little problem here. The tabbing? No forget that I got a few gray hairs with that and...
2
by: Bernhard Georg Enders | last post by:
After issuing the command (apache httpd.conf file) AddType application/x-httpd-php .php .htm .html any attempt to include javascript code <script src="file.js" type="text/javascript"></script>...
25
by: Jeff | last post by:
Use the MS Script Editor included free with MS Office 2002 and above, for debugging Internet Explorer (IE). This subject is of great interest to many JS developers, as there is no obvious, low...
2
by: Susan Bricker | last post by:
Greetings. Before I begin, I have been stuck on this problem for about a 5 days, now. I have tried and just seem to be not getting anywhere. I know that the explanation is lengthy, but I am a...
11
by: minnesotti | last post by:
Hi there, I subscribed to a photographic pictures-hosting website which is heavy on JavaScript. My preferred latest browser Mozilla Firefox does not work with it -- no pictures are displayed and...
27
by: Chris | last post by:
Hi, I have a form for uploading documents and inserting the data into a mysql db. I would like to validate the form. I have tried a couple of Javascript form validation functions, but it...
5
by: HockeyFan | last post by:
We have an update panel that has a gridview with checkboxes and other items in each row. We went to the RowCreated event in the codebehind, to set an attribute on a checkbox in each row, to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.