IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> NULL buffer source error
Prasanta Choudhu...
post Aug 13 2005, 11:39 AM
Post #1


New User
*

Group: Members
Posts: 3
Joined: 12-August 05
Member No.: 2,970



For one of our rightsite application at Development env we got the following error : "NULL buffer source at line 2, column 1:You cannot DECLARE a VARIABLE with a name beginning with DMW_ or DW_ at the session level." This error is comming for the following 2 lines of code in the html file of the application :

<DMW_DECLARE NAME="DMW_DOCBASE" SCOPE="SESSION">
<DMW_SET NAME="DMW_DOCBASE" VALUE="docbase">

But the same code is working just fine in production env. The only difference between the 2 envs is : in Development Rightsite (version 4.3.3) is installed on Solaris 5.7 and in production the Solaris version is 5.8. The Content Server in both the envs is 4.2.5c on AIX 5.1

Can anyone suggest what is the cause of the above mentioned error.
Go to the top of the page
 
+Quote Post
sbickle
post Aug 13 2005, 10:59 PM
Post #2


Other Worldly
*******

Group: Members
Posts: 1,107
Joined: 10-July 03
From: Northants, UK
Member No.: 52



What you are seeing is the expected behavoir for RightSite. To quote from the RightSite Reference manual.

"Also, you can define new variables, so long as
you do not start their names with the letters DM or DMW."

You are trying to declare a variable that is reserved for RightSite's own use. What I don't understand is why you don't see this in production.


--------------------
Steve
===== www.freecycle.org ===== saving the planet one gift at a time =====
===== www.podiobooks.com ===== free audio books =====
===== www.reasonableagreement.org ===== get (shot of) the EULA =====
Go to the top of the page
 
+Quote Post
Arrems
post Jan 17 2010, 06:51 PM
Post #3


Sometimes here
**

Group: Banned
Posts: 44
Joined: 17-November 09
From: Finland
Member No.: 9,170



I was getting same error message, but my solution was different.

I was calling function using a href="javascripthowWindowthis"

and then used "this" as source for win.open
Worked fine in firefox and chrome, but gave this error in IE.
I cant complainthis


--------------------
Too lazy to set a custom title
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 8th September 2010 - 03:34 AM