Download & Extend

Solution if it happens at install time

Project:Drupal core
Version:5.x-dev
Component:base system
Category:support request
Priority:critical
Assigned:Rolph5
Status:closed (fixed)

Issue Summary

When installation beginning - i see :

Fatal error: Call to undefined function: user_access() in /home/rolphru/public_html/modules/block/block.module on line 77

Comments

#1

Please provide more details about this issue.
What kind of system do you have?
Which page did you access when this error appeared?
How did you obtain your Drupal Beta1 files?
Did you do a clean install of Beta1?

#2

Category:bug report» support request

Moving this to a support request. If author writes back with reproducable steps, we can make it a bug again.

#3

Title:Install Error» Call to undefined function: user_access
Component:block.module» base system

Adding to this issue, seems related.

Drupal 5 beta 1.

My user.module contains user_access() function, no typos or anything of that nature.

It seems I had forgotten to run my update.php. The error seems to have disappeared after doing so.

HTH.

#4

FWIW... We found that this was happening when the system table in the drupal database had a bad path for some of the modules. The modules existed in the correct spot, but the table referred to an incorrect path. Once we manually edited the table, everything returned to normal. YMMV.

#5

Title:Call to undefined function: user_access » Call to undefined function: user_access
Version:5.0-beta1» 5.x-dev

Hello,
I'm giving a try at drupal (thanks, so far).
I'm running over debian etch, php 4.4xx and postgresql 8.1. Also came across that error when installing, after getting a memory burst and raising my memory_limit to 32M.
Also had to drop .htaccess - keeps on keeping me away from accessing the website: logs say some Followlinks and Indexes no can do.

Anyway, I solved it by accessing the System table on the database, as sugested, and set the name:'user' register to state:1
looking good

#6

Status:active» closed (fixed)

Looks like this may be a symptom of the memory -limit problem. Since there is no feedback from the user I'm setting this to closed.

- Arie

#7

Title:Call to undefined function: user_access» Solution if it happens at install time

In this case, I have check out it is a problem of database inconsistency. Quickest solution if just installing is to drop all tables (tough but painless if right installing). Then it all goes fine.

#8

I Have Successfully done all three steps while installing my testing site. (Please check the attached image)
Choose language
Verify requirements
Set up database

But again I stuck at this condition.

Are not clickable.
Install site
Configure site
Finished

By clicking on drupal logo at my testing site i am getting this problem

Fatal error: Call to undefined function user_access() in C:\xampp\htdocs\sitename\includes\theme.inc on line 1791

Please help how to solve this

AttachmentSizeStatusTest resultOperations
drupal.jpg35.9 KBIgnored: Check issue status.NoneNone
nobody click here