Content Page Length |
Post Reply | Page 12> |
Author | |
darvexwomp
Newbie Joined: 18-April-2010 Location: USA Status: Offline Points: 0 |
Post Options
Thanks(0)
Posted: 18-April-2010 at 6:32pm |
Hi,
I was wondering if there is a length limit when adding content to a custom content page. I am trying to add a fair of amount of information for a page that I created on our site but it times out on me when I try to save it. If I cut the length of the HTML by about half, it updates right away and displays on the page. It seems to be related to the amount of data. I checked my html which only includes simple table tags ( no <oi> or <ul> ) and ran it thru a validator to make sure it wasn't something in my code. Does anyone have any thoughts on this?
Thanks, Brian |
|
"I gave my love a chicken...It had no bones"
|
|
dccreatives
Newbie Joined: 13-November-2008 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
I am having the same issue. Ever sorted it out?
I am trying to paste small amounts at once, but I am still timing out.
|
|
Greg Dinger
Certified ProductCart Developers Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
|
What database are you running? SQL 2000, 2005 or 2008?
|
|
dccreatives
Newbie Joined: 13-November-2008 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
MS SQL 2005
|
|
Greg Dinger
Certified ProductCart Developers Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
|
The field pcCont_Comments is defined as type nvarchar(4000). If you can pop into the database with SQL Studio, and change that field to nvarchar(MAX), you will get 8000. Give that a try.
|
|
Greg Dinger
Certified ProductCart Developers Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
|
Mark Shipp, ever watchful to make sure database-related posts are handled ever so correctly, gently reminded me of an oversight. I knew this, but overlooked it.
You need to run this query after changing the data type:
UPDATE pcContents SET pcCont_Comments = pcCont_Comments That query will write teh data over itself in order to have the data correctly stored in the database. As Mark stated it: they need to run a script to assign the column back to itself otherwise the data remains in the LOB and not placed back into the DB where it belongs.
Thanks Mark!
|
|
dccreatives
Newbie Joined: 13-November-2008 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
I updated it and ran the query to no avail. I am insterting the content with HTML tags. It does not want to take more text. Here is the page: http://208.106.234.13/store/pc/Frequently-Asked-Questions-d2.htm
|
|
Greg Dinger
Certified ProductCart Developers Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
|
I can only recommend that you either file a support ticket or hire a developer who will have the ability to evaluate the issue at the code level and resolve it. I've taken this as far as I know how to without actually connecting to the database and performing debugging procedures.
|
|
netprofits
Certified ProductCart Developers Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
We had a similar issue with a version 3.x store. The eventual solution was to modify the viewprd.asp module (in the pc folder) and comment out the section that contains this comment:
'// increase visits for product
(This is around line 320 depending on your version).
For some strange reason, the update of the product visits was causing an error with pages that had longer descriptions.
|
|
Greg Dinger
Certified ProductCart Developers Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
|
Dan, that's fascinating. I saw that EI disabled that feauture in 4.1 but never heard the background as to why. Thanks for sharing.
|
|
Post Reply | Page 12> |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |