PDA

View Full Version : fetch_object("pagenav_form") has no properties


nxvc
Mon 28th Jan '08, 10:31am
Hi all, I got problems with this error, I don't see where I need to fix it.
In hope that someone perhaps knows already about this error, I post it here:


fetch_object("pagenav_form") has no properties
vBulletin_init()vbulletin_global.... (line 1869)

fetch_object('pagenav_form').gotopage = vBpagenav.prototype.form_gotopage;


It shows up on all pages with navigation-buttons, like i.e. threaddisplay, albumoverview, online.php etc ..

Also in some profiles with customation. :confused:

Wayne Luke
Mon 28th Jan '08, 10:35am
Errors such as this are usually caused by editing files, corrupt files or addons. Please follow these steps to diagnose the issue.

First, re-upload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version:

Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

[Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

If that didn't solve the problem, then please disable all plugins.

Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it. Now check again.

If you still have the same problem please let me know.

nxvc
Mon 28th Jan '08, 11:01am
Thank you for this advanced answer.

I'm almost sure it's a style problem, with the standard style the error is gone. Is there a special "page_nav" template or something I should take a look? Reverting the templates such as threaddisplay didn't help, that's why I'm looking for the template releated to the navbutton (next page buttons).

Wayne Luke
Mon 28th Jan '08, 2:22pm
This is a javascript error so most likely you have a javascript conflict with vbulletin_global.js.

nxvc
Mon 4th Feb '08, 3:29pm
I can't find it. How could I search the template which causes this error? I'm a bit irritated because it appears on all forumpages with "1,2,3,4" page navigations and in some profiles (which are customized).

showthread.php :

This browser is AJAX compatiblevbulletin_global.... (line 749)
Fetch Cookie :: vbulletin_inlinepost (null)
Creating array vBulletin.elements["vB_Lightbox_Container"]vbulletin_global.... (line 1949)
vBulletin.elements["vB_Lightbox_Container"][0] = posts, 3
Fetch Cookie :: vbulletin_multiquote (null)
fetch_object("pagenav_form") has no properties
vBulletin_init()vbulletin_global.... (line 1869)

fetch_object('pagenav_form').gotopage = vBpagenav.prototype.form_gotopage;

member.php (profiles) - mostly on customized profiles, but not on all :

This browser is AJAX compatiblevbulletin_global.... (line 749)
Fetch Cookie :: vbulletin_inlinevmessage (null)
Creating array vBulletin.elements["vB_TabCtrl"]vbulletin_global.... (line 1949)
vBulletin.elements["vB_TabCtrl"][0] = profile_tabs, , &raquo;, profile.php?u=2&do=loadtab&tabid={1:tabid}
fetch_object("pagenav_form") has no properties
vBulletin_init()vbulletin_global.... (line 1869)

fetch_object('pagenav_form').gotopage = vBpagenav.prototype.form_gotopage;

nxvc
Mon 4th Feb '08, 6:38pm
just to clear about what I'm talking:

PitchouneN64ngc
Mon 4th Feb '08, 7:20pm
Look into the "headinclude" template :)

nxvc
Mon 4th Feb '08, 7:35pm
Look into the "headinclude" template :)

That was, what I assumed first, so I reverted "header", "headinclude" and "footer".

I also disabled the hooks (plugins) in config.

I already tried a lot things without success.

Is there a possiblilty in vB to only display the customized templates of a style? Perhaps this could help me finding the template which causes this error.

Or am I totally wrong with searching this in templates?

PitchouneN64ngc
Mon 4th Feb '08, 7:37pm
Your vbulletin_global.js file exists on your server? Look into the "navbar" template too, the code for the pagenav is in this template.

nxvc
Mon 4th Feb '08, 7:54pm
Look into the "navbar" template too

Thank you, there must be the error, I just reverted and now the error doesnt appears anymore. I thought I've already tried to revert this template, perhaps I forgot it :) .. Thank you, I will now try to find a solution.

Edit: Thank you, fixed it now, .. an evil admin removed some important sourcecode from this template :)

Wayne Luke
Mon 4th Feb '08, 9:46pm
These errors do not occur on a clean installation with a default template. It would be caused by one of your addons conflicting with vBulletin's javascript.