Hi,
on upgrading to the new version, I got a Fatal error. I assumed that there was no path for the upgrade. So I reinstalled the previous version, uninstalled it and loaded the stable version. Everything looks ok.
Just checking to be shure...
Fatal error: Class 'Botcha' not found in /home/hangar217model/public_html/sites/all/modules/botcha/botcha.module on line 233
By the way: Botcha works like hell! I got one spam and it is because (I guess) some guy somewhere took the time to manually open an account. This one rocks!
Comments
Comment #1
parka commentedI'm having the same error.
After that, I refreshed my page and trying loading the database update script and got this error below:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mywebsite.botcha_form' doesn't exist: SELECT bf.* FROM {botcha_form} bf; Array ( ) in BotchaFormModel::getForms() (line 18 of /home/mywebsite/public_html/sites/all/modules/botcha/model/botcha_form.model.inc).
Comment #2
PatchRanger commentedThank you for reporting, guys.
I am working to fix it.
Comment #3
dddave commentedLet's correct the settings: WSODs are critical. ;)
Comment #4
PatchRanger commentedDone.
Comment #5
PatchRanger commentedWrong branch.
Rerolled against 7.x-1.x.
Comment #6
PatchRanger commentedFixed: http://drupalcode.org/project/botcha.git/commit/94ca829.
New hot-fix release is available: http://drupal.org/node/1829690.
Comment #7
dddave commentedThanks! Just a note: I needed to run the update twice because the first one got aborted due to an AJAX-error.
Ein AJAX-HTTP-Fehler ist aufgetreten HTTP-Rückgabe-Code: 500 Im Folgenden finden Sie Debugging-Informationen. Pfad: http://MYSITE.de/blablablabla475&op=do Statustext: Internal Server Error Antworttext:Guess it was a temporary glitch on my site.
Comment #8
PatchRanger commented@dddave I guess it was. Thanks for reporting anyway.
Comment #9
Québec commentedHi,
I went back to the previous version (dev .12 if I recall) and did an upgrade (so my test site would be like my production site). I got this message:
Une erreur HTTP AJAX s'est produite. Code de statut HTTP : 200 Informations de débogage ci-dessous. Chemin: http://www.hangar217model.com/update.php?op=selection&token=BgC1pUMLgvVR... StatutTexte: OK ReponseTexte: Fatal error: Unsupported operand types in /home/hangar217model/public_html/includes/database/mysql/schema.inc on line 85
Ran php update a second time and seem to work.
But then I thought that since I was using a «old» dev version it was maybe normal to have such behavior (on test site).
On my production site, should I uninstall the «old» dev and install 7.1.1 instead of making an upgrade?
Thanks.
Comment #10
PatchRanger commented@dddave It appears that it was not only an accidentally glitch.
@Québec Making reinstall will guarantee the correct installation, I guess you should reinstall if you don't want to catch this fatal error again. But it is a challenge for me to make update path working.
Thank you both for reports. I will look into it deeply ASAP.
Comment #11
PatchRanger commentedThere is not enough info unfortunately.
@dddave Could you please extend your report with the text that is going after "Antworttext", it is important, thank you. Also (if it is possible) tell from what version you updated? If it was dev-version please give me a date of it (the date that is printed on "Available updates").
@Québec "dev .12" - what does it mean? Could you please tell a timestamp of your dev-version (in human-readable format, like "31st of October" or just "31/10").
I have reinstalled old version and updated it in order to reproduce - but ran into no errors, everything was ok.
I am going to repeat it once more with removing the directory and redownloading since I've just ran
drush dl botcha -y- that left some old files though it seems it could not be the reason. Wait for a moment.
Comment #12
PatchRanger commentedI've reproduced the error - and on the way to fix it.
Comment #13
PatchRanger commentedFixed: http://drupalcode.org/project/botcha.git/commit/3431401.
New hot-fix release: http://drupal.org/node/1830906.
Everyone who has 7.x-1.0 or any earlier dev-version should run update.php.
Everyone who has version after 7.x-1.0 (ie 7.x-1.1, 7.x-1.2 or any dev-version after 7.x-1.0) has to reinstall the module. Sorry for inconvenience.
Comment #14
Québec commentedSorry. I should of thought of that.
At this moment, my production site has this version: 7.x-1.0+13-dev (2012-oct-06)
So the best way is to uninstall 7.x-1.0+13-dev (2012-oct-06) and to install 7.1.3?
Comment #15
PatchRanger commented@Québec Thank you for additional information. Yes, you should uninstall old version and install new one.
Comment #16
Québec commentedThanks for your time. Botcha is great!
R.
Comment #17
PatchRanger commented@Québec You are welcome.