Hello,
I'm trying to update my drupal site, from 4.6.3 to site test 4.7.2, but i have differents problems:
First my original DB is in latin1_swedish and it seems corrupt (but the website i can see perfect), the charset like ñ in the DB is Á~, for example. From phpmyadmin the backup is in UTF8 and it saved the wrong charset in UTF8 (impossible to fix). If I do the backup with the module Database in drupal 4.6.3 the SQL file is in ANSI and converter to UTF8 with notepad++ and the charset is OK. Then I import to my test database for 4.7.2 update, DB in UTF8 (without the search tables, mysql have a problem some entries, well i put empty tables and later it'll reindex, ok?).
I upload 4.7.2 in the test site and I go to update. Update selects system module #129, then Iclick in update and I get this failed:
* user warning: Incorrect table definition; there can be only one auto column and it must be defined as a key query: ALTER TABLE node DROP PRIMARY KEY in /home2/squealer/public_html/dietascd-com-es/test/includes/database.mysql.inc on line 120.
* user warning: Multiple primary key defined query: ALTER TABLE node ADD PRIMARY KEY (nid, vid) in /home2/squealer/public_html/dietascd-com-es/test/includes/database.mysql.inc on line 120.
And: Update #180
* Failed: ALTER TABLE {node} DROP PRIMARY KEY
* Failed: ALTER TABLE {node} ADD PRIMARY KEY (nid, vid)
I couldn't find an appropriate forum where I could ask this, hopefully it makes sense to post the question here:
I'm planning on upgrading from 4.7.0 to 4.7.2. Apparently there was a DB modification between 4.7.0 and 4.7.1. Were there any changes that could (theoretically) compromise the operation of any of the 4.7.0 modules?
Quick (and probably stupid) question. I'm upgrading from 4.7.1 to 4.7.2. When I run update.php, under "select versions" all of my modules (including system) say "no updates available".
Do I still need to actually run the upgrade script, then? I know that running it unnecessarily can do bad things. I actually already upgraded my files and have been using the site without any problems. Anyone know? Thanks.
After upgrading to drupal 4.6.7 from drupal 4.6.5 by applying patches and adding the .htaccess file in the files directory containing:
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
Options None
<IfModule mod_rewrite.c>
RewriteEngine off
</IfModule>
The images on the website doesn't show anymore.
I had to remove the .htaccess to have things work again.
Anyone has a solution?
Maybe there's something wrong with the .htaccess file I have in the root directory. it is:
#
# Apache/PHP/Drupal settings:
#
# Protect files and directories from prying eyes.
Order deny,allow
Deny from all
# Set some options.
Options -Indexes
Options +FollowSymLinks
# Customized error messages.
ErrorDocument 404 /index.php
# Set the default handler.
DirectoryIndex index.php
# Override PHP settings. More exist in sites/default/settings.php, but
# the following cannot be changed at runtime. The first IfModule is
# for Apache 1.3, the second for Apache 2.
# Reduce the time dynamically generated pages are cache-able.
ExpiresByType text/html A1
# Various rewrite rules.
RewriteEngine on
# Modify the RewriteBase if you are using Drupal in a subdirectory and
I've upgraded to 4.7.2 from 4.7.0 (patched to fix DRUPAL-SA-2006-005 and DRUPAL-SA-2006-006), according to instructions in UPGRADE.txt. Now all users but user/1 (inc. anonymous) get the default "Welcome to your new Drupal website!" front page and "access denied" to all other nodes.