hello, tonight my drupal site has benn hacked. i had 4.6.4 version and all addresses gave back blank pages.
i looked at the database and it seemed all right so i tried solving the problem upgrading to the 4.7.0 beta 5.
when i ran the /update.php i received lots of errors:
* user warning: Unknown table 'page' query: DROP TABLE page in /web/htdocs/www.botulinux.net/home/includes/database.mysql.inc on line 120.
* user warning: Duplicate column name 'module' query: ALTER TABLE vocabulary ADD module varchar(255) NOT NULL default '' in /web/htdocs/www.botulinux.net/home/includes/database.mysql.inc on line 120.
* user warning: Unknown column 'voters' in 'poll' query: ALTER TABLE poll CHANGE voters polled longtext in /web/htdocs/www.botulinux.net/home/includes/database.mysql.inc on line 120.
* user warning: Multiple primary key defined query: ALTER TABLE term_node ADD PRIMARY KEY (tid,nid) in /web/htdocs/www.botulinux.net/home/includes/database.mysql.inc on line 120.
* user warning: Duplicate column name 'tags' query: ALTER TABLE vocabulary ADD tags tinyint(3) unsigned default '0' NOT NULL in /web/htdocs/www.botulinux.net/home/includes/database.mysql.inc on line 120.
* user warning: Can't DROP 'title'. Check that column/key exists query: ALTER TABLE boxes DROP INDEX title in /web/htdocs/www.botulinux.net/home/includes/database.mysql.inc on line 120.
So, I copied my db over to a test db, and made sure to uncheck all non-core modules as well as change the theme to bluemarine. Then i untarred the drupal 4.7 files into a clean directory and changed settings.php.
When i ran update.php it autoselected version 133 (i'm not sure if this is correct, though) and ran with no problems. No errors were displayed on the screen.
When i try to go to my site, though, i get the following message:
------------------ message starts here ------------------
Hi Everyone..
I've been doing a upgrade from 4.6.5 to 4.7 beta 5 today and I've ran into some problems..
These are the steps I've gone trough..
Background: The site earlier ran on Xtemplate theme and had some 4.6 module inside the modules directory..
1. I'm importing the MySQL dump into MySQL and everything seems to be running smooth
2. Downloading Drupal 4.7 Beta 5 and extracts it and starts uploading it to the directory where the site is located..
3. After that I'm checking in the settings.php and everything looks OK..
4. I'm running the update.php script and everythings looks perfectly and everything is nice, no problems so far and no problems immediatly after the upgrade, no problems reported.. As I didn't had an account to login when I started the upgrade I changed to $access_check = FALSE; and no complaints about this..5
5. When the upgrade was ready I restored the line to $access_check = TRUE; And then hit the link to Administer settings..
6. I got up Access denied and when I went to the main page it was just showing content, no sign of drupal whatsoever, no CSS..
7. I tried to change the 4.7 beta 5 default theme called Bluemarine to the name of Tarmac which was the name of the old Xtemplate theme.. No effect..
8. I tried to delete all the 4.6 modules and just upload 4.7 beta 5 modules.. No effect
So now I'm wondering what to do.. What's the problem?
I just upgraded to 4.7 B5 from B4 and a very odd problem popped up.
At first I thought some of my menu callbacks were faulty, but no. It was actually the way I was doing links. Something happened with a trailing slash somewhere and caused my links to stack up relative to the path.
I have just tried to perform an 4.6.5->4.7.0beta4 upgrade but have failed miserably :-(
Here are some of the things I encountered:
1. The initial update.php produced the "Illegal mix of collations" errors as I can see a lot of people have gotten. Running the update again wnet smooth.
2. First thing I noticed was that the Search button in the Search module didn't have any label (value="" in the html)
3. The I found out that the Goofy theme will not run on 4.7 - no big deal.
4. A couple of modules didn't work: feedback and event. Upgrading them to their 4.7.0 version fixed that.
5. Then I tried writing a new post (I have the TinyMCE module installed) and noticed that the TinyMCE didn't kick in. I just got a plain editor.
6. So I tried upgrading the TinyMCE module from the cvs and then got a new error: "Call to undefined function: base_path()". Searching here led me to a post saying that the base_path() funtion should be in the common.inc. Only it wasn't... at least not in the drupal-4.7.0-beta4.tar.gz that I hat just downloaded.
6. Then I went back to the cvs to find out that the base_path() was introduced in version 1.513 of common.inc and the version supplied with drupal-4.7.0-beta4.tar.gz was version 1.511.
7. Downloaded the latest common.inc only to find that my Apache was being stressed - loading the /admin/modules page took more than 30 seconds (indicated by the Fasterfox Page Load Timer in my Firefox) and when it loaded it was not using the sites theme.