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.

"failed to open stream: Too many open files"

Does anyone have any advice on this error?

"failed to open stream: Too many open files"

I haven't changed anything on the site recently. It just seems to have started about an hour ago.

It seems to trace back to line 1041 of Core/Config.php, but I haven't been able to make any more sense of it.

TIA for any debugging advice.

Main page does not work after moving site

I moved my site to a new host (copied source dir to new site and changed db user/password in sites/default/settings.php, and restored db).

The main page does not show any nodes preview (being annonymous user without logging in). Instead, it shows the default page ("configure your site" and so on). If I try viewing a specific node, I got the "access denied" page.

The weird thing is that after I logon, *everything* works. I try to revoke view and re-enable view permission to anonymous user, but still doesn't work.

Database Restore Problem

Hello,

I'm running Drupal 4.7, and recently corrupted the database through a (failed) upgrade to 5.2. So I've decided to go back to Drupal 4.7 for the moment.

Unfortunately, when I try to restore the backup I took before I tried to upgrade, I get the following error:

ERROR 1064 at line 2: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'aid` int(10) NOT NULL auto_increment,
  `mask` varchar(255) NOT

The start of my SQL dump is as follows:

-- phpMyAdmin SQL Dump
-- version 2.6.0-pl3
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Sep 16, 2007 at 08:31 PM
-- Server version: 4.0.18
-- PHP Version: 4.3.4
--
-- Database: `ganymede`
--

-- --------------------------------------------------------

--
-- Table structure for table `access`
--

CREATE TABLE `access` (
`aid` int(10) NOT NULL auto_increment,
`mask` varchar(255) NOT NULL default '',
`type` varchar(255) NOT NULL default '',
`status` tinyint(2) NOT NULL default '0',
PRIMARY KEY (`aid`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

--
-- Dumping data for table `access`
--

-- --------------------------------------------------------

--
-- Table structure for table `accesslog`
--

CREATE TABLE `accesslog` (

Problem with update.php

Trying to update from 4.7 to 5.2. After moving the files outlined in http://drupal.org/upgrade/, I took update.php and changed $access_check = TRUE; to $access_check = FALSE;. Loading up update.php in my browser, I received the following error message:

Parse error: parse error, unexpected '}' in /home/phdfusio/public_html/drupal-5.2/update.php on line 866

All I did was change TRUE to FALSE. Am I missing something?

Upgrade problem - changed behaviour of l()?

Hi all... I searched the forums to try to find a solution to this but couldn't come up with much. Might be looking in the wrong place but I don't know what else to look for. Here is my problem:

5.1 to 5.2 - page specific visibility settings for blocks missing

A couple of blocks have page specific visibility settings using some custom php-code. However, after the upgrade these settings are not displayed anymore. I've checked the database and they are definitely there, but somehow they don't show up.
Another block, which uses a list of pages, doesn't have problems. I can still see the list of pages.

How can I resolve this problem?

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal