PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 4th, 2009, 12:57 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2007
Posts: 18
showproduct.php "Expected identifier, string or number"

Chuck-

I just noticed an error in IE (done but with errors...) on my showproduct.php page with all categories. Here's the error:

Quote:
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Sun, 4 Oct 2009 05:42:27 UTC


Message: Expected identifier, string or number
Line: 112
Char: 14
Code: 0
URI: http://www.allthingsdemocratic.com/s...duct=31&cat=22
I didn't make any changes to that page and I can't see anything wrong with the original source code...

Code:
Content visible to verified customers only.
Line 112 is the last line, so I assume the error is in the previous line. It appears all the columns are listed correctly.

* Fyi: I commented-out all of my additional, non-classifieds content in the header and sidebar to eliminate that as a possible conflict.

I looked at Viper Alley (I assume that's your site, eh?) and it doesn't produce that error, so that sucks.

Any thoughts?
atddoug is offline   Reply With Quote
Old October 4th, 2009, 09:01 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Viperalley is not my site

I would suggest you try to reproduce the error with your headers and footers.

I see code wise your site is modified from the default code. You might want to check there. Does unmodified code give that error?

Just an fyi the source error in IE is preferring to the page source not your script source so its line 112 of the page source and character xxx.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 4th, 2009, 02:02 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2007
Posts: 18
Quote:
Originally Posted by Chuck S View Post
Just an fyi the source error in IE is preferring to the page source not your script source so its line 112 of the page source and character xxx.
Right - sorry, it was late and my brain was tired. That pointed me to the source of the problem but I still need your help fixing it...

I'm using the basic wysiwyg editor. I tried it with the advanced wysiwyg editor and in the off position and there is NO error. Switch it back to the basic editor and the error returns. Note: I'm using the basic editor because I needed the editor to fit in a smaller layout - didn't find in the forum, the tinyMCE site, or by myself how to change the width of the advanced editor.

fyi: I reverted to the original downloaded source code for the classifieds and still get the error with the basic editor. I've now switched back to my code, in case you take a look.

Looking at the page source, that puts the error at the end of the code below (fyi: I tried logging in as admin on that page but still get the error).


Quote:
<script type="text/javascript" src="http://www.allthingsdemocratic.com/js/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({

relative_urls : false,
remove_script_host : false,
document_base_url : "http://www.allthingsdemocratic.com",

// General options
mode : "textareas",
theme : "advanced",
});
</script>
I see that the code comes from pp-inc.php:

Code:
Content visible to verified customers only.
Is there anything in that code that would produce the error, even with the original classifieds source code? Anything that can be tweaked? Thanks!
atddoug is offline   Reply With Quote
Old October 4th, 2009, 02:16 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
I cant say I would need to know specifically what the line and character is. I dont have a login so I cant grab your true page source that you see.

test sold - PhotoPost Classifieds

I have viewed my test site classifieds in in 4 different browsers and see no errors with no editor basic editor or the wysiwyg editor.

I would suggest you turn off the display of your header etc or get rid of any other hacks you have made and see if you can reproduce this on a clean install. I would highly suspect a conflict with maybe someone else you have done. Like maybe your menubar coding?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 4th, 2009, 02:51 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2007
Posts: 18
Quote:
test sold - PhotoPost Classifieds

I have viewed my test site classifieds in in 4 different browsers and see no errors with no editor basic editor or the wysiwyg editor.
I was afraid you were going to say that.

Quote:
I would suggest you turn off the display of your header etc or get rid of any other hacks you have made and see if you can reproduce this on a clean install. I would highly suspect a conflict with maybe someone else you have done. Like maybe your menubar coding?
I did that. I renamed the old project in production and uploaded the original source code. No change.

Quote:
Originally Posted by Chuck S View Post
I cant say I would need to know specifically what the line and character is. I dont have a login so I cant grab your true page source that you see.
Here's the error generated by IE, with the line and char:
Quote:
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Sun, 4 Oct 2009 19:33:33 UTC


Message: Expected identifier, string or number
Line: 112
Char: 14
Code: 0
URI: http://www.allthingsdemocratic.com/s...php?product=31
Line 112 is the line in red in this page source:
Quote:
<script type="text/javascript">
tinyMCE.init({

relative_urls : false,
remove_script_host : false,
document_base_url : "http://www.allthingsdemocratic.com",

// General options
mode : "textareas",
theme : "advanced",
});
</script>
And that code's from pp-inc.php:
Code:
Content visible to verified customers only.
If that doesn't help you, do you have an idea how to change the width of the advanced editor? I see someone else asked the question once and you referred them to the tinymce website, but it was no help to me. Thanks!
atddoug is offline   Reply With Quote
Old October 4th, 2009, 03:22 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
well where is the base install without changes without headers just the normal classifieds code with a login to see what you see

You can see by my example if you register an account there is no error.

Maybe try removing this line what do you get?

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 4th, 2009, 03:26 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Better yet try making your basic code this in pp-inc.php

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 4th, 2009, 05:44 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2007
Posts: 18
Hey Chuck-

I know, I saw you logged off earlier and I didn't want to leave it in the base form as I've promoted it quite a bit and didn't want a visitor to see it that way.

Just tried the suggestions in your last two replies with the basic wysiwyg editor... same error, I'm afraid.

However, since my last post I implemented a workaround to fit the advanced editor in my layout. Just some tweaking in the quickcom, comments and uploadproduct templates to move the label column at the left of the editor (and in one case, on the right) to a row above it and added the appropriate colspans. That moved the editor to the left, plus I added 50 pixels to the site width and got the advanced editor to fit. The only potential issue is you can still grab the right-bottom corner of the editor to resize it... including to the right so it goes under the sidebar. Any way to disable resizing it that you know of?

So the basic editor error is a mystery, but I'm good. Thanks!
atddoug is offline   Reply With Quote
Old October 4th, 2009, 06:38 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Okay enjoy the rest of your weekend.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old November 25th, 2011, 08:06 PM   #10 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 833
I know this is an old post but I am getting the same thing with classifieds 4.21 integrated with VB 3.8. I get the same IE error on the showproduct page as well as all upload product pages if any text editor is selected. If WYSIWYG and basic are disabled there is no error or if I remove all VB integration there is also no error. I have tried all variations I can think of with no effect like DHMTL, styles, custom edits, etc. The same issue does not exist in the current release of gallery. I am fine with disabling the editor options but thought I'd mention it ain't quite right compared to gallery.
Bryan Ex is offline   Reply With Quote
Old November 25th, 2011, 08:48 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
What your refering to is a java warning in ie. When I get in the office I will check my site with ie9
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old November 26th, 2011, 08:48 AM   #12 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 833
Did a bit more testing and found the advanced editor is fine or if it's set to off. Seems to only be the basic editor with the conflict. I also found I could not use a mobile device to enter a description if basic editor was used. It just won't allow me to activate the curser in the text box but all other fields are fine.
Bryan Ex is offline   Reply With Quote
Old November 26th, 2011, 11:36 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
yeah I will check to see if there are any tinymce updates most likely an ie9 issue that may have a resolution in fact you can download any update right from there site and replace your files under js if you want.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change "shipping amount" to "phone number" bucks Classifieds How do I...? 11 August 26th, 2009 09:15 PM
Sidebar in "search.php" and "upload.php" jschvili Photopost Pro How Do I...? 1 April 9th, 2008 08:19 AM
remove "Number of times ads viewed" from user profiles? openfire Classifieds How do I...? 1 December 19th, 2006 08:00 AM
Editing "showproduct" page nassau ReviewPost How do I...? 2 March 6th, 2006 05:37 PM
"Most Viewed" - showproduct/showcat.php(FIXED) Arnie ReviewPost Bug Reports 2 September 1st, 2005 06:57 PM


All times are GMT -5. The time now is 04:25 PM.

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