Closed (cannot reproduce)
Project:
Drupal core
Version:
7.26
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2011 at 10:42 UTC
Updated:
9 Aug 2019 at 22:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
andyceo commentedCan you tell what modules and there versions you use?
If you have Views, try to go to the View configuration -> Pager settings -> and set Pager ID different from 0. This may help.
Comment #2
damien tournoud commentedMost likely, you failed to properly copy some of the files.
Comment #4
spessex commentedPhil, did you get around this only I'm having the same problems on our Webfusion windows 2003 IIS6 dedicated server?
Comment #5
goldcrusaider commentedHey guys can you help me out? I have the same problem as this guy who posted. Im getting the error Fatal error: Class 'SelectQueryExtender' not found in :C\\\pager.inc line 15
Im getting this just after a fresh install of Drupal 7. I can not access my admin page any idea how I can fix this I have re-installed Drupal now 7 times and one month has passed. I can not get past this problem.
Comment #6
andyceo commentedgoldcrusaider, what operating system do you use? in what folders your drupal was installed in? (check write and execute permissions if you have Linux-based OS.)
Comment #7
goldcrusaider commentedI am using Window XP/ w Xamp server on a laptop. I'm not a php person but know how to install and set this up as well as know how my directory structure should be. Any thoughts what else to do? I cant get Drupal to launch and its been 2 or 3 months.
Comment #8
andyceo commentedPlease check existance of /includes/database/select.inc file and make sure you use the correct driver in settings.php (mysql)
Comment #9
goldcrusaider commentedok I found the file but what is the correct driver? And what exactly do I need to change in the file? I am not familiar with this
Comment #10
petrsimcik commentedI have the same problem - one time is all ok, and second is web crashed.
Fatal error: Class 'SelectQueryExtender' not found in /data/web/virtuals/katastrofy.meteopress.cz/www/includes/pager.inc on line 15
/includes/database/select.inc is ok
Driver Mysql - database Mysql
www/includes/pager.inc is ok and 755
Whats wrong?
Comment #11
jemond commentedI was having the same problem on my local development box, when trying to copy the database for the site to a new database name locally.
For me the fix was this:
http://drupal.org/node/1323786#comment-5305922
For some reason (I haven't yet looked into why), several tables like registry were excluded from my MySQL dump.
Comment #12
cweagansSupport requests are never major or critical.
Comment #13
off commentedSome problem. Upgrade 6.x -> 7.x
Step: run update.php with only core files
I try to add "registry" table via dump from frash install..
SelectQueryExtender' not found in /***/includes/theme.inc on line 15
Comment #14
drzraf commentedits not about views, here's a stacktrace:
Comment #15
drzraf commentedComment #16
fizk commentedI just ran into this issue. It had nothing to do with the files. Turns out I didn't import my database dump properly. I was clued in when I saw that the "system" table was completely empty :)
Hope this helps someone.
Comment #17
drzraf commentedsame after trying to move a D6->D7 upgraded dump to another machine where module places are different.
Worse to note that {system} contains 296 entries, some of them being related to D6 modules.
Drupal D7 upgrade process does not cleanup {system} from D6 module entries. This could be related to the failure.
Comment #18
drzraf commentedthis did the trick and allowed full bootstrap:
Comment #19
dasrajarshi commentedPDOException: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes: ALTER TABLE {sessions} ADD PRIMARY KEY (`sid`, `ssid`); Array ( ) in db_add_primary_key() (line 2891 of \includes\database\database.inc).
Comment #20
steinmb commentedDon't highjack the issues. Create a separate one, describing your system/env, how you managed to create it and if you are able to recreate it.
Comment #21
chx commentedComment #22
steinmb commentedFind this issue rather messy and cannot see any real bugs other then it's something wrong with the data in your database. Failed migration, failed restore, database corrupt after db. server crash etc. People seeing this should take a long hard look at their database and the data in it's tables.
I'll suggest we close it.
Comment #23
nicpeck commentedLike some of the other commenters, the error went away once I managed to get my database imported properly
Comment #24
@kambiyaso commentedI am getting this error with a new theme installation.
Fatal error: Class 'SelectQueryExtender' not found in /Applications/XAMPP/xamppfiles/htdocs/aqh_first_draft/includes/pager.inc on line 15.
Comment #25
dbahroms commentedComment #26
aparnapc commented#22 works for me.Thank you!!!!
Comment #27
kenorb commentedRelated workarounds:
- How to rebuild registry table?
- How to move installed modules from /sites/all/modules/* to /sites/all/contrib/modules/*
Comment #28
PI_Ron commentedI saw this issue after checking out master from a development branch then merging my branch into master.
Running drush arrrhhhhhh (
drush rr) fixed it for me.Comment #29
ChrisValentine commentedHave just encountered this myself - just at a crucial time, of course - and can't fix it other than repeatedly rebuilding the registry using drush. Have cleared out the nested includes folders and they've not come back, but it seems that one or more particular pages on the site trigger this 'class not found' error and once that happens, you're in a white screen of death and can't do anything.
It doesn't appear that any particular page causes it.
So - help urgently required! And it just happens that our backup system isn't responding to restore requests just at the moment...
Comment #30
millenniumtreeNot 100% certain, but this may be due to a DISABLED module that isn't UNINSTALLED.
We had a couple of disabled modules on a site (Rules UI and Media Field).
A registry rebuild would allow a few pages to load before the error returned.
We logged in and after uninstalling those two, then rebuilding the registry again, the errors went away...
This didn't work on another site, however...
Comment #31
millenniumtreeOK, finally figured it out!
The reason our site blew up is that there was an includes folder WITHIN the includes folder.
WEB_ROOT/includes/includes
Drupal found some valid .inc files in there and added them to the registry table.
Then we fixed the problem, removing the nested includes dir, and upon rebuilding the registry, the invalid registry records were deleted, NOT re-pointed to the valid file in includes/.
I had to export the registry records from a known-good D7 site where the filename started with 'includes/', and import them into the broken site.
The attached sql file will re-import the missing registry records. Then just do a registry rebuild (drush rr)
This was for Drupal 7.39 - if you have a different version, your records may be different, so proceed with caution and back up your database before running it (obviously).
Comment #32
swapnilmohile commented#22 works for me.Thank you!!!!
Comment #33
mannus commentedI am still facing the same error. Any resolution ?
Comment #34
lubwn commentedThanks millenniumtree #31, you helped me a lot! Same happened to me. Not sure how includes folder got into itself like includes/includes but deleting it and re-creating registry definitelly helped.