This forum is for questions about upgrading an existing Drupal site. Don't forget to read the UPGRADE.txt file that comes with every Drupal download.

Tables and columns missing during D6->D7rc4 upgrade

Attempting upgrade from D6.20 to D7-rc4. My update.php process failed, and for an error I got:

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mydb.d7_block_custom' doesn't exist: SELECT bid, info FROM {block_custom} ORDER BY info; Array ( ) in block_block_info() (line 209 of /modules/block/block.module).

There were a bunch of "Notice: Undefined property: stdClass::$disabled in _node_types_build()" messages in there too, but I assume being notices I can ignore them.

I have a clean (non-upgrade) RC4 installation, so I copied the blocks_custom table from that install into the db I'm trying to upgrade. The table is empty so I hoped that the structure would be correct.

Copying that table seems to have gotten me past that error. The next was the same error but with table 'block'. Comparing a D6 db to a D7 db it looks like those are the same table. So I manually renamed by 'blocks' table to 'block' along with 'blocks_roles' to 'block_role.'

Drupal 6 won't use my mysql.sock setting

Hi,

i am having difficulty solving an error message:
Can't connect to local MySQL server through socket '/tmp/mysql.sock'

I am seeing this error message when i use XDebug and Eclipse for a local Drupal installation on a Ubuntu 10.04 machine. I am trying to complete a migration from Drupal 5 to Drupal 6.

(I can load the index.php of the Drupal installation in Firefox. however, i can't login with the root password. To solve this i'm using Xdebug/Eclipse.)

i have been trying to fix this for a week. frustration is very high. i can't believe the difficulty of this. I posted about it on another forum but so far no one has replied:
http://ubuntuforums.org/showthread.php?p=10302627#post10302627

i can connect to mysql in the terminal by:
mysql -uroot -p

once i have authenticated, the unix sock file is identified as:
/var/run/mysqld/mysqld.sock

i am not however able to connect this way:
mysqladmin --socket=/var/run/mysqld/mysqld.sock --user=root --password=foobar version

i get:
Access denied for user 'root'@'localhost

I have created (i think) a symbolic link:
cd /tmp/
sudo ln -s /var/run/mysqld/

this worked the first time i did it. (subsequent tries: File exists.)

I have noted that Drupal expects a file named:
/tmp/mysql.sock

while I have:
/var/run/mysqld/mysqld.sock

Upgrade from 6.20 to 7 RC4 results in undefined function theme() error in install.core.inc

While following the "Major version upgrade" instructions in UPGRADE.txt at step 13, "Run update.php" I got redirected to install.php (which is not too surprising), then got this error:

Fatal error: Call to undefined function theme() in /includes/install.core.inc on line 702.

Searches for that found lots of "undefined function theme()" hits but none on install.core.inc. I'll tellya, when I run into an error message and I can't find someone else with the same message using Google, I get scared.

Cannot update 6.19 to 6.20. update.php fails on disabled module, site dead

I have four sites running on the same Drupal installation. Three of the updates went without a hitch, but this last site won't let me update.

When I run update.php I get:

An unrecoverable error has occurred. You can find the error message below. It is advised to copy it to the clipboard for reference.
Please continue to the error page
An HTTP error 0 occurred. http://[mydomain].com/update.php?id=60&op=do

Error page says:

The update process was aborted prematurely while running update #6002 in uc_coupon.module. All errors have been logged. You may need to check the watchdog database table manually.

Watchdog shows nothing at all now that I have disabled all my contributed modules (including uc_coupon but the process still gets aborted prematurely while running updates for it). Before I disabled the WSOD module I got a "wsod" entry in watchdog, though with no message.

Nothing in my Apache error.log.

I believe that the fact the other sites on the same codebase means the error has to be in the database or in one of the contributed modules that is in the sites/thissite/modules directory. Possibly I should also look at modules from sites/all/modules that may have been enabled on this site but not other sites.

Module and theme uploads

Hi definite newbiein large pool sinking fast any help appreciated - have searched web and forum for 2 days without clear success.

.trying to download tapestry themes and token and pathauto modules for use on my local server prior to transfer to web

Problems modules and themes are all within the directory

C:wamp~www~sites~all~modules or themes (using an older pc for this and backslash key does not work)

I have tried all the steps shown on various web sites pointing brower at the directory but they will not come up in my lists as additional.

Posting bugs out. 6.19->6.20

First off,
I am a fairly new user to Drupal so I might miss some data. Let me know and I fix it for you.

I've got the following problem :

When you attempt to create content, the page allows to select input format etc.
At 6.19 this still worked, but I updated my core to 6.20 and I am now unable to open menu settings, etc to actually make a post like I was used to.

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal