Newb question: what steps would I use to upgrade Webform on my site from 7.x-3.18 to 7.x-4.0-alpha6? It doesn't get offered as an automatic update. Should I uninstall 3.18 and then install 4.0? Or do I need to expand the archive file and manually copy the files into my site using ftp?

Thanks,
SG

Comments

alexander.sibert’s picture

That is a Alpha Release. I don't know if it is stable to use it on a live site? It would be nice to hear if it is ready to use on live sites.

quicksketch’s picture

Should I uninstall 3.18 and then install 4.0?

No, definitely not. If you uninstall 3.18 (or any version) it will delete ALL your forms and submissions! Bad news.

To upgrade to 4.x, just download the archive and replace the existing copy of the webform module. Run update.php afterwards to upgrade your data. Note that you CANNOT downgrade to 3.x again after upgrading, so it's recommended you back up your database before doing the upgrade, and check compatibility with any modules you use that integrate with Webform. Not all of them have updated support for 4.x yet.

4.x by itself is quite stable. It's being used by several thousand users to make forms on http://webform.com. I'd recommend using it if you would like better conditional support.

alexander.sibert’s picture

Thank you. I upgraded and it works fine.

stevengraff’s picture

Unfortunately, I upgraded and got an error message:

Warning: require_once(/home/plainen2/public_html/sites/all/modules/webform/includes/webform.admin.inc) [function.require-once]: failed to open stream: No such file or directory in menu_execute_active_handler() (line 514 of /home/plainen2/public_html/includes/menu.inc).

And now my Status Report complains about schema issues:

Database schema	Inconsistent
The Schema comparison report shows:

    89 modules with matching tables
    27 extra tables
    3 warnings
    2 modules with mis-matching tables

The database schema comparison report provides more details.

Interestingly, everything related to my old Webform still seems to work OK.

I have the following modules installed; might one of them be interfering with the upgrade process?

Webform Conditional (webform_conditional)
Webform Layout (webform_layout)
Webform MySQL Views (webform_mysql_views)
Webform Phone Number (webform_phone)
Webform Report (webform_report)
webform reports (webform_reports)
Webform Table Element (webform_table_element)
Webform table element Form Builder support (webform_table_element_formbuilder)
Webform Template (webform_template)
Webform Tokens (webform_tokens)
Webform Validation (webform_validation) 
quicksketch’s picture

Status: Active » Closed (fixed)

Warning: require_once(/home/plainen2/public_html/sites/all/modules/webform/includes/webform.admin.inc) [function.require-once]: failed to open stream: No such file or directory in menu_execute_active_handler() (line 514 of /home/plainen2/public_html/includes/menu.inc).

Then you're missing files in your installation. Download a fresh copy and make sure all files get uploaded to your server.

In general we have an upgrading page at https://drupal.org/node/1609324, but it's mostly about API changes.

Closing this issue as we have solved the original poster's issue.

alexander.sibert’s picture

One question: Comes for 4.x webform soon new releases? The last version is from year 2012.

Joel MMCC’s picture

Given what quicksketch said in #2 about Webform-integrating modules not yet supporting 7.x-4.x, I strongly suggest that the Project page text under “Obligatory "Which version should I choose" Notice” be amended to mention this little fact, rather than simply saying that frequent updates would be the main (and implied: only) downside to upgrading, which turned out to not even be true: the most recent recommended non-dev release of 7.x-3.x (7.x-3.19) is over ½ a year newer (2013-May-29) than the most recent non-dev release of 7.x-4.x (-alpha6 on 3012-Sep-15)!

Even the more detailed page “Upgrading from Webform 3.x to 4.x” makes no mention of incompatibilities with other Webform-integrating modules! it, too, needs to be updated.

Certainly, had I known that myself, I would not have chosen to upgrade to 7.x-4.x just yet, as I’d really like to use, oh, say, Webform Validation, but I can’t because it says that it only supports 7.x-3.x (and/or 6.x-2.x or 6.x-3.x). Now, of course, it’s too late, since there is no downgrade path. (Fortunately, in this particular case, it appears that Client-Side Validation and its Clientside Validation for Webforms sub-module will do the job and seems to work fine so far.)

I’ll write up a more detailed Documentation Support Request Issue on this.

quicksketch’s picture

One question: Comes for 4.x webform soon new releases? The last version is from year 2012.

I'm planning on making a new alpha release in the next couple of days.

I’d really like to use, oh, say, Webform Validation, but I can’t because it says that it only supports 7.x-3.x (and/or 6.x-2.x or 6.x-3.x).

Have you actually tried this? I've used Webform Validation with 4.x with no problems. I think their project page just hasn't been updated.

alexander.sibert’s picture

I updated now webform 4 alpha Release and it works fine. Thanks. Another short question: If i want not to save input data of users in the database because i want only receive mail messages with webform, can i disable the saving of data in the Drupal database?