PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   ReviewPost Installation & Upgrades (http://www.photopost.com/forum/reviewpost-installation-upgrades/)
-   -   error when uploading product (http://www.photopost.com/forum/reviewpost-installation-upgrades/143256-error-when-uploading-product.html)

kyle55155 June 29th, 2010 03:36 PM

error when uploading product
 
When Uploading product using IE8 I get a popup script error:

Line: 185
Character: 2
Code: 0
Error Message: 'extra1.value' is null or not an object
URL: http://mysite.com/reviews/uploadproduct.php

Here is the code at line 185:

if (form.extra1.value == "" ) {
alert( ": " );
form.extra1.focus();
return false;
}

In looking at the code I see the checkForm function which validates input fields. It like by default it only checks the title field. I'm guessing that extra1 through 6 get modified when you add additional fields and then validates them. I have not added any additional fields.

Seems to work fine in FF, Opra, Chrome and Safari. Although it seems that IE8 errors out on a code that the other browsers have no problem with.

Is there a fix?

Chuck S June 29th, 2010 03:50 PM

Interesting I will have to see if I can replicate that

kyle55155 June 29th, 2010 07:55 PM

Chuck,

Were you able to replicate that error with IE8? I installed RP on my VB 4.04 test site and got the same behavior. Then I tested on my VB 4.03 set site and got the same behavior there as well.

IE8 seems to be ok with :
function checkForm (form) {
if (form.title.value == "") {
alert( "{$rp_phrase['blanktitle']}" );
form.title.focus();
return false;
}


but then has issues with:
if (form.extra1.value == "" ) {
alert( "{$rp_phrase['blankfield']}: {$Globals['extra1name']}" );
form.extra1.focus();
return false;
}

the code for all 6 other than the name looks the same.

Chuck S June 30th, 2010 08:36 AM

No sorry I do not get any error for that in IE 8 on my computer and really dont see why there would be an issue.

kyle55155 June 30th, 2010 11:49 AM

Quote:

Originally Posted by Chuck S (Post 1271374)
No sorry I do not get any error for that in IE 8 on my computer and really dont see why there would be an issue.

Chuck,

I tested it from another instance of IE8 running on Windows 2008 server and there were no errors. The machine that was generating errors was a Windows 7 64 bit workstation. I don't have another Win7 install to test from. Hopefully this is due to something with my particular install of Win 7?

Chuck S June 30th, 2010 01:51 PM

most likely that is the case a computer browser specific issue.

kyle55155 June 30th, 2010 02:54 PM

Quote:

Originally Posted by Chuck S (Post 1271403)
most likely that is the case a computer browser specific issue.

If it's just my PC then I can live with that. I just want to confirm that folks running Win7 (which comes with IE8) are not going to see the same error when I go live.

Chuck S June 30th, 2010 04:35 PM

well I am using IE8 without any issues as posted


All times are GMT -5. The time now is 06:55 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97