Fatal error: Call to undefined function: drupal_set_title() in /home/watbfb/domains/watbfb.com/public_html/includes/database.mysqli.inc on line 27

I use drupal from CVS

CommentFileSizeAuthor
#1 path_1.patch380 byteschx
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chx’s picture

Assigned: Unassigned » chx
Status: Active » Reviewed & tested by the community
FileSize
380 bytes

Good catch.

chx’s picture

To explain: drupal_set_title was moved out from bootstrap because it's not needed for a cached page. Running a grep -B1 drupal_set_title *inc in includes showed me that every such call is preceded by a drupal_maintance_theme call. So I added path.inc to that and that's it.

drakemazzy’s picture

Thanks for patch! :)
Now I see only the maintenance, and blocks, that and all rest - I do not see: (

chx’s picture

if you see the maintance then you have a broken setup.

drakemazzy’s picture

Broken setup? hmmm...

Yesterday's CVS worked perfectly. After I have established today's CVS there was this problem. Here a log updated files.

cvs checkout: Updating drupal/includes
U drupal/includes/database.mysql.inc
U drupal/includes/database.mysqli.inc
U drupal/includes/database.pgsql.inc
U drupal/includes/form.inc
U drupal/includes/path.inc
cvs checkout: Updating drupal/misc
U drupal/misc/drupal.css
cvs checkout: Updating drupal/modules
U drupal/modules/block.module
U drupal/modules/book.module
U drupal/modules/node.module
U drupal/modules/system.module
U drupal/modules/watchdog.module

What to me to return back?

chx’s picture

Do me a favor.

$db_password = '....'; // put your db password here
print intval($db_password == urldecode($db_password));

run this two liner for me and report back whether you get a 0 or a 1. We will proceed from there. I suspect what's broken.

drakemazzy’s picture

To help you, i made these scripts
1. :) your's 2 lines - http://watbfb.com/chx1.php
2. phpinfo - http://watbfb.com/chx2.php

:)

chx’s picture

Doh! I should have checked that line 27 -- and phpinfo also tells that you do not have mysqli.

Nevertheless, http://drupal.org/node/46183#comment-68126 needs a commit.

drakemazzy’s picture

:) I know, that my hosting does not support mysqli. Now in a file/sites/default/settings.php it is established simply mysql. But I see only the maintenance! And all rest I do not see blocks! :(
please, see my site http://watbfb.com. how i fix this problrm? :'(

Stefan Nagtegaal’s picture

Ehmmm.... Maybe login to your site and setup a 4.7 theme?

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

drakemazzy’s picture

YES!
I do not know why, but after installation today's CVS in adjustments installation of my theme has flied!
Well and a error in line 27 :)
Many thanks to all!

Anonymous’s picture

Status: Fixed » Closed (fixed)