×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Updating to 2.2

Updating to 2.2 11 years 5 months ago #21133

  • Miika Toivonen
  • Miika Toivonen's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
Hello,

Please advise, just tried to install 2.2 on 2.1.1 and got this:


Attachments:

Updating to 2.2 11 years 5 months ago #21134

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Mika,

which PHP, Database and Joomla Version are you using? The table name (#__matukio_settings) seems to be missing.

Yves

Updating to 2.2 11 years 5 months ago #21135

  • Miika Toivonen
  • Miika Toivonen's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
Hello Yves,

PHP 5.3.24
MySQL 5.1.68-cll
Joomla 3.1.1

How to proceed?

Thanks,
Miika

Updating to 2.2 11 years 5 months ago #21136

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hmm testing on a similar system, no idea why this is failing. I only have one idea:

script.php (in the zip file)

Change line 121:

$query = 'SELECT * FROM ' . $db->nameQuote('#__matukio_settings') . ' WHERE title = ' . $db->Quote('db_version');

to

$query = 'SELECT * FROM ' . $db->quoteName('#__matukio_settings') . ' WHERE title = ' . $db->Quote('db_version');


Yves

Updating to 2.2 11 years 5 months ago #21137

  • Miika Toivonen
  • Miika Toivonen's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
Ok, helped for that but another issue came up:


Attachments:

Updating to 2.2 11 years 5 months ago #21138

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hmm the SQL seems valid, could you perhaps take a look at the #__matukio_settings table and look for the event_stopshowing row? Is it missing?

Yves

Updating to 2.2 11 years 5 months ago #21139

  • Miika Toivonen
  • Miika Toivonen's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
Looks like it is there but missing the last part 3=NEVER



Then I added that and now it works. Thanks for the tips.

Btw, have you noticed that Display Login-form is twice in the settings..?



Edit: Will the language files be in Transifex soon?
Attachments:

Updating to 2.2 11 years 5 months ago #21140

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hmm funny no i haven't funny, will be fixed in the next version.

Yves

Updating to 2.2 11 years 5 months ago #21147

  • Miika Toivonen
  • Miika Toivonen's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
Hi again.. Test booking resulted an error:

SQL=SELECT * FROM wtvlz_matukio_templates WHERE tmpl_name = 'mail_booking'

However the booking was registered, but no email was sent. When trying to cancel the booking (by user), this came up:

SQL=SELECT * FROM wtvlz_matukio_templates WHERE tmpl_name = 'mail_booking_canceled'

Then, tried to cancel the booking from participiant list (from My Offers). That made this:

SQL=SELECT * FROM wtvlz_matukio_templates WHERE tmpl_name = 'mail_booking_canceled_admin'

Did not get emails in any stage from the system.

Updating to 2.2 11 years 5 months ago #21149

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Miika,

hmm strange, going to recheck seems to be a problem with the SQL Queries, but for me this is working without problems in Joomla 3.1 :/

Yves

Updating to 2.2 11 years 5 months ago #21150

  • Miika Toivonen
  • Miika Toivonen's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
Hi,

In addition to the perivous, editing an old event (one that was made before the update) results SQL errors too.

Does this mean that updating on old installation don't work?

Updating to 2.2 11 years 5 months ago #21153

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Sounds like the database has not been updated correctly. Do the tables #__matukio_organizers and #__matukio_templates exist?

Yves

Updating to 2.2 11 years 5 months ago #21189

  • Miika Toivonen
  • Miika Toivonen's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
Nope. Those are missing.

Cheers,
Miika

Updating to 2.2 11 years 5 months ago #21190

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Then the database has failed - try the following:

- Change db_version from 2.2 to 2.1.10 in #__matukio_settings
- Redownload the Matukio 2.2 archive (it has changed slightly)
- Install it again

Yves

Updating to 2.2 11 years 5 months ago #21199

  • Miika Toivonen
  • Miika Toivonen's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
Hi,

Now it seems to be working so far. Had to remove the previously added {3=NEVER} in order to get the installation end successfully.

Thanks for the help & quick fixes!

Cheers,
Miika
  • Page:
  • 1
Time to create page: 0.211 seconds