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

parka’s picture

I'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).

PatchRanger’s picture

Assigned: Unassigned » PatchRanger
Priority: Minor » Major

Thank you for reporting, guys.
I am working to fix it.

dddave’s picture

Category: support » bug
Priority: Major » Critical

Let's correct the settings: WSODs are critical. ;)

PatchRanger’s picture

Title: Fatal error » Fatal error during update from 7.x-1.0 to 7.x-1.1
Status: Active » Needs review
StatusFileSize
new16.15 KB

Done.

PatchRanger’s picture

Wrong branch.
Rerolled against 7.x-1.x.

PatchRanger’s picture

Status: Needs review » Fixed
dddave’s picture

Thanks! 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.

PatchRanger’s picture

Component: Miscellaneous » Code

@dddave I guess it was. Thanks for reporting anyway.

Québec’s picture

Hi,

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.

PatchRanger’s picture

Status: Fixed » Active

@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.

PatchRanger’s picture

There 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.

PatchRanger’s picture

I've reproduced the error - and on the way to fix it.

PatchRanger’s picture

Status: Active » Fixed

Fixed: 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.

Québec’s picture

Sorry. 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?

PatchRanger’s picture

@Québec Thank you for additional information. Yes, you should uninstall old version and install new one.

Québec’s picture

Thanks for your time. Botcha is great!

R.

PatchRanger’s picture

@Québec You are welcome.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.