Indexpage is giving me random Errors

elbertvan - January 12, 2009 - 02:04
Project:IndexPage
Version:6.x-1.0
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Well, somehow my site gives me random errors on the IndexPage module.

In the admin user i get it random and with authenticated users its allways.
I get this error: ERROR: That content type does not exist, there are no entries, or the index page for that type is disabled
When trying to access a index page. I installed the module, checked the access rights. All seems to be good.
I have no idea to look for it, maybe some one else knows more about this issue?

Btw, this is finaly one module from Drupal what truely shows Taxonomy listings in a decent way, just to bad it gives errors.

#1

NancyDru - February 1, 2009 - 21:25
Status:active» postponed (maintainer needs more info)

Looking at the code, it would seem, assuming you actually have nodes of the requested type, that you have either and access control or translation module that is preventing the particular user from accessing those nodes.

#2

MarkFischer - March 25, 2009 - 19:30

I have run into this same problem. I think I have traced it to indexpage.module lines 272, 273. Those lines look like they are integrating with node access. However node access seems to be put into the SQL statement twice. node.module seems to implement the db_rewrite_sql hook now, and is duplicating this functionality. See node.module line 2171.

By commenting out line 272, and removing the ", {node_access} na" from line 273, I was able to get it working. Anonymous users can now see the index pages.

#3

NancyDru - May 21, 2009 - 14:21

#4

NancyDru - May 21, 2009 - 15:37
Status:postponed (maintainer needs more info)» fixed

I have committed a fix for this to the 6.x-1.x-dev version. Since I do not have a test site that I can test node_access on, I need you to confirm whether this is fixed or not. Thanks for testing it.

#5

Dret - May 31, 2009 - 17:03

Thanks for the update version...

I tryed the new Dev version with TAC Lite modules and seems to work but a new problem appear...

Admin and users have the right access to Index Page summary page for every content type but when someone click on alphabetical link, user author link or taxonomy link, inside this pages, this error appear:

Fatal error: Cannot access empty property in /var/www/drupal/modules/indexpage/indexpage.module on line 466

I have tested the dev version making an upgrade from stable one (in a mirror test installation of a production website).

Thanks!
Bye

#6

NancyDru - May 31, 2009 - 17:23
Status:fixed» postponed (maintainer needs more info)

I cannot reproduce this. Could you, please, try going to the settings page and re-saving the settings? This is almost like the fields choices are messed up.

#7

Dret - June 1, 2009 - 07:42

UPDATE:

I made new tests... the problem seems not be related to TAC_Lite integration.

I had previously unistalled the old version of Index Page and then i proceeded to install the dev one.

After that I have installed Tac Lite and all works pefectly.

The problem appear when i try to modify the settings in Index Page admin page.

In particular: I used different settings for the displaying of the table result page (adding Name of author, creating date and updating date).

Removing this settings (back to default) all works fine again.

I hope this could be usefull for you!

Thanks a lot!
Bye.

#8

NancyDru - June 1, 2009 - 14:31

My settings are not on the default, but I will try the uninstall/re-install process to see if I can reproduce any errors and try to fix them.

#9

ayla - July 14, 2009 - 07:37

i'm also having this problem.

admin access, no problems, great.
all other users get: 'ERROR: That content type does not exist, there are no entries, or the index page for that type is disabled.'

i don't like to hack, but i'm sitting on a site launch with this problem.
i'm using the latest versions for drupal 6 (6.13) + latest index page.

will try some of the suggestions above and see what works.

#10

ayla - July 14, 2009 - 07:55

Yep, thanks to MarkFischer in post #2 -- that worked a treat.
Hopefully the next update for the module will fix this problem... :)

#11

NancyDru - July 17, 2009 - 16:43

@ayla: if you had to do what was mentioned in #2, then you are not using the -dev version where that is fixed. Please try that and let me know.

#12

NancyDru - July 17, 2009 - 19:05

I found a misplaced parenthesis that would only affect you if you selected "Author."

Fix committed. New releases generated.

#13

NancyDru - July 17, 2009 - 18:47
Status:postponed (maintainer needs more info)» fixed

#14

ayla - July 20, 2009 - 15:17

hi NancyDru,
did as you ask in #11 -- all working well. thanks.

#15

NancyDru - July 20, 2009 - 15:46
Status:fixed» closed

Thanks for the update. This is in the newest release.

#16

purplepaisley68 - October 3, 2009 - 14:57

I've had the same issue in the 5.x/5.x-dev versions for all non-admin users and fixed using the advice in #2. Nice module, thank you. :-)

#17

NancyDru - October 3, 2009 - 16:59

Thanks for the information. We are no longer working on the 5.x version. The 7.x version is pretty far along and just waiting for D7 to actually allow upgrades.

 
 

Drupal is a registered trademark of Dries Buytaert.