DMXzone Paginator ASP Support Product Page

Under investigation

error in dmxPaginator

Reported 09 Nov 2009 19:11:36
1
has this problem
09 Nov 2009 19:11:36 MX Addict posted:
Hi DMX-team,

when debugging my website I get this error:

Runtimefout Microsoft VBScript (0x800A01F4)
Variabele is niet gedefinieerd: 'm_NumPagelinks'
../ScriptLibrary/dmxPaginator.asp, line 126

Replies

Replied 09 Nov 2009 19:51:59
09 Nov 2009 19:51:59 Patrick Julicher replied:
Hi,

Unfortunately this is too little information to give a satisfying answer. Please post the source code and a link to a test page.

Kind regards, Patrick
Replied 09 Nov 2009 21:51:46
09 Nov 2009 21:51:46 MX Addict replied:
go to (URL deleted on request)


<% 
While ((Repeat1__numRows <> 0) AND (NOT rsNieuws.EOF)) 
%>


content.....
    <% 
  Repeat1__index=Repeat1__index+1
  Repeat1__numRows=Repeat1__numRows-1
  rsNieuws.MoveNext()
Wend
%>

<
%' DMXzone Paginator ASP 1.0.1
Set pag1 = new dmxPaginator
pag1.RecordsetName = "rsNieuws"
pag1.RowsTotal = rsNieuws_total
pag1.ShowNextPrev = true
pag1.ShowFirstLast = false
pag1.NumOuterLinks = 1
pag1.NumAdjacentLinks = 2
pag1.PageLinkSeparator = "|"
pag1.RowsPerPage = rsNieuws_numRows
pag1.PrevLabel = "vorige"
pag1.NextLabel = "volgende"
pag1.addPagination
%>


Replied 10 Nov 2009 08:20:42
10 Nov 2009 08:20:42 Patrick Julicher replied:
Hi,

Please open your website in Firefox with the Firebug add-on installed and activated. As you can see there are several files missing from your page. Also there appears to be an error in the P7 code. Please deactivate all P7 code and see if the Paginator error still appears.

Kind regards, Patrick
Replied 10 Nov 2009 15:28:33
10 Nov 2009 15:28:33 MX Addict replied:
Hi Patrick,

I clean up the page and still get this error. I use Option Explicit in the page. It has to do with a variable with no dim statement. I don't know if finally result in a problem.

Replied 12 Nov 2009 08:19:16
12 Nov 2009 08:19:16 Patrick Julicher replied:
Hi,

As far as I can see you are using version 1.5.1 of the extension? Where all the necessary files uploaded to the server. Could you upload all the files to be sure and try again?

Kind regards, Patrick
Replied 12 Nov 2009 13:06:13
12 Nov 2009 13:06:13 MX Addict replied:
Hi Patrick,

uploaded dmxpaginator.asp in the folder Scriptlibrary
uploaded pagination.css in the folder PaginationStyles/msdn/

css link in the header

<link rel="stylesheet" href="PaginationStyles/msdn/pagination.css" type="text/css">

But still an error
Replied 17 Nov 2009 01:41:18
17 Nov 2009 01:41:18 MX Addict replied:
I use

<% Option Explicit %>
<% Response.Buffer = True%>


in my asp page. explicitly declare all the variables. So in the paginator file not all variables are declared
Replied 19 Nov 2009 11:10:51
19 Nov 2009 11:10:51 MX Addict replied:
Hello,

anybody out there.........
Replied 26 Nov 2009 09:54:31
26 Nov 2009 09:54:31 Miroslav Zografski replied:
Hello,

No, they are not.
At least at Sub Clss_Initialize() that consists of default settings:

	Private Sub Class_Initialize()
			m_NumPages = 1
			m_ShowNextPrev = true
			m_ShowFirstLast = true
			m_NumPagelinks = 5		
			m_RecordsetName = ""
			m_RowsPerPage = 2
			m_RowsTotal = 100	
			m_PrevLabel = "&lsaquo;"
			m_NextLabel = "&rsaquo;"
			m_FirstLabel = "&lsaquo;&lsaquo;"
			m_LastLabel = "&rsaquo;&rsaquo;"
	End Sub


On the clean page you have remove the Option Explicit statement.
Check if then the paginator returns an error. I'm almost 100% sure that is the problem.
Will see with developers what we can do so you can have your statement and paginator working under it.

Regards,
Replied 26 Nov 2009 13:40:37
26 Nov 2009 13:40:37 MX Addict replied:
Hi Miroslav,

I already use DMXzone Paginator ASP 1.0.1. This update was send by email.

So I have this code

Private Sub Class_Initialize()
			m_NumPages = 1
			m_ShowNextPrev = true
			m_ShowFirstLast = true
			m_NumPagelinks = 5		
			m_NumOuterLinks = 1
			m_NumAdjacentLinks = 2
			m_RecordsetName = ""
			m_RowsPerPage = 2
			m_RowsTotal = 100	
			m_PrevLabel = "&lsaquo;"
			m_NextLabel = "&rsaquo;"
			m_FirstLabel = "&lsaquo;&lsaquo;"
			m_LastLabel = "&rsaquo;&rsaquo;"
			m_PageLinkSeparator = "..."
	End Sub


Indeed without Option Explicit the script works without any errors. But the last time I have big problems with Session Timeout errors.

Error Type:
Active Server Pages, ASP 0113 (0x80004005) The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools.


So to debug the site I use option expliciet. This give errors where variables have no dim statements.

I have learned always to declare your variables.

Replied 13 Dec 2009 14:54:02
13 Dec 2009 14:54:02 MX Addict replied:
Hi DMXzone,

You have to investigated this extension. I have had big problems with Server Timeout Errors. So I did remove Paginator 1.0.1 and the website didn't give any errors any more for a long time. I decided to put Paginator back and now the website generate again Server Timeout Errors
Replied 16 Dec 2009 11:37:20
16 Dec 2009 11:37:20 Miroslav Zografski replied:
Hello all,

Thanks for your feedback.
We will issue investigation on this matter.

Regards,
Replied 12 Jan 2010 15:08:18
12 Jan 2010 15:08:18 MX Addict replied:
Hi DMX-team,

Can you tell me when this extension is being investigated. We are one month further and still no update.

Thanks
Replied 08 Jun 2012 03:37:22
08 Jun 2012 03:37:22 Mr. em replied:
is this problem solved? I a want to know before I purchased it

Reply to this topic