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.

CCK and Imagefield Update. Invalid argument supplied for foreach() in ...../modules/node.module on line 359

I just updated to the latest versions of CCK (4.7.x-1.x) and Imagefield (4.7.x-1.x) (13/11/2006) now whenever I try to update a CCK node, I get this error.

The two lines below are repeated for about 10 times.

# warning: Invalid argument supplied for foreach() in /home/planetur/public_html/modules/node.module on line 359.
# warning: implode() [function.implode]: Bad arguments. in /home/planetur/public_html/modules/node.module on line 363.

How to add php script when create page or story?

Hi All
I am new baby in drupal community. Please help me "How to add php script when create page or story"?

Numerous Upgrade problems Drupal 4.6.5 to 4.7.4

When I upgraded my drupal installation from 4.6.5 to 4.7.4, The upgrade script seemed to run just fine. (There were no errors on the upgrade page, and it said all was well.) However, when I clicked on the links that point to my home page, to my administration page, and to the log, all pages showed errors. By the way, before I ran the update script, when it showed me a system module version to select, it had preselected number 129, so I just left it at that when I ran the update script.

Besides not seeing any of my regular home page content, this error appeared multiple times on the home page:

user warning: Table 'drupal.node_revisions' doesn't exist query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.moderate, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE n.nid = 1102 in C:\apache\htdocs\drupal\includes\database.mysqli.inc on line 122.

After the multiple instances of this error, there are a bunch of lines that say "by Anonymousn/a".

In the log are a ton of messages that look like these:

user warning: Unknown column 'theme' in 'where clause' query: SELECT * FROM blocks WHERE theme = 'bluemarine' AND status = 1 ORDER BY region, weight, module in C:\apache\htdocs\drupal\includes\database.mysqli.inc on line 122.

Missing nodes after upgrading from 4.6.10 to 4.7.4

Hi to all,
I have a problem after upgrading from my actual 4.6.10 drupal site to 4.7.4... everything seem to go ok but all the nodes (forum posts, stories etc.) have a missing part. Only the first line or two of the text is visible, the rest is cut off...
Did anybody have a similar problem? Can somebody help my on how to fix it?
Thanks in advance

p.s. the 4.6.10 nodes come from a migration from Postnuke... if this is useful for something...

upgrade from 4.6.4 to 4.7.4 causes all menus to dissapear?

I attempted to upgrade my 4.6.4 installation to 4.7.4 and I have some issues.

Upon following the upgrade process, I found that my menus were missing on the base page (no login, etc.). The only things listed were main page stories.

I assumed this was a database issue so I editied the update.php to allow running without authentication and executed the script. All went well (e.g. it didn't report any errors).

After that, it was the same result -- no menus.

So, I can't login, can't administer, can't add stories.

I'm getting the following in the error log for each request:

[Mon Nov 13 10:02:28 2006] [error] [client 192.168.1.1] PHP Notice:  unserialize() [function.unserialize]:
Error at offset 2 of 211 bytes in /var/www/html/news/includes/bootstrap.inc on line 244, referer: http://test/pmwiki/
[Mon Nov 13 10:02:29 2006] [error] [client 192.168.1.1] PHP Notice:  unserialize() [function.unserialize]:
Error at offset 2 of 211 bytes in /var/www/html/news/includes/bootstrap.inc on line 244

Any help appreciated.

- CrashNBurns

Running on a Fedora Core 5 distro, running MySQL 5.0.22, Apache 2.2.2, PHP 5.1.6

users as nodes, node profile, node family

I unzipped and uploaded the folders like I did with all the other modules I have added, but these three don't show up in my modules menu so i can turn them on. Am I missing a step? Is there a version I should be installing for 5.x or will the 4.7x versions work? If I there is a 5.x where do I find it? or at least the status of the port of these three to 5.x so I can monitor it and grab the 5.x versions when they come out.

Thanks.

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal