Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Warning: Invalid argument supplied for foreach() i
(1 viewing) (1) Guest
Universal booking and reservations component for Joomla!.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.

TOPIC: Warning: Invalid argument supplied for foreach() i

Re: Warning: Invalid argument supplied for foreach() i 12 years ago #34324

  • maju
  • OFFLINE
  • Posts: 1107
Hello,

you are right with this problem and we prepared new patch what is solving this bug. If you can not set downloadId, you are still able to download new package from our site.
Go to: E-Shop -> Download Area, put your downloadId to that field and get actualised package.

Then go to Upgrade Page in Booking installation. There is box called 'Upload Package File'. Select downloaded package and click on Upload File & Install.

Your new version should be 1.5.2
ARTIO Support Team
The topic has been locked.

Re: Warning: Invalid argument supplied for foreach() i 12 years ago #34325

With configuration save is still many problems.

for example Tab Object:
Show Image, Image Width, Image Height works fine.

Photo gallery position, Photo gallery style, Display Properties, Display back link and more i can't change because changes are not stored.

it is irritating!!
The topic has been locked.

Re: Warning: Invalid argument supplied for foreach() i 12 years ago #34326

Thats it. Saving the DL-ID is working now.


Get this errorMessage after update (seems to take no effect on working, but i haven't tested in detail yet):

500 - Es ist ein Fehler aufgetreten

JDatabaseMySQLi::query: 1060 - Duplicate column name 'book_time' SQL=ALTER TABLE `v1vle_booking_reservation` ADD `book_time` DATETIME DEFAULT NULL

Zurück zum Kontrollzentrum

Call stack
# Function Location
1 JAdministrator->dispatch() /var/www//html/neu/administrator/index.php:46
2 JComponentHelper::renderComponent() /var/www//html/neu/administrator/includes/application.php:153
3 JComponentHelper::executeComponent() /var/www//html/neu/libraries/joomla/application/component/helper.php:351
4 require_once() /var/www//html/neu/libraries/joomla/application/component/helper.php:383
5 AController->execute() /var/www//html/neu/administrator/components/com_booking/booking.php:41
6 JController->execute() /var/www//html/neu/administrator/components/com_booking/helpers/controller.php:45
7 BookingControllerUpgrade->doUpgrade() /var/www//html/neu/libraries/joomla/application/component/controller.php:761
8 BookingModelUpgrade->upgrade() /var/www//html/neu/administrator/components/com_booking/controllers/upgrade.php:45
9 include_once() /var/www//html/neu/administrator/components/com_booking/models/upgrade.php:194
10 JDatabase->query() /var/www//html/neu/tmp/install_50a36cc259910/upgrade/1.5.0.php:24
11 JDatabaseMySQLi->execute() /var/www//html/neu/libraries/joomla/database/database.php:1253
12 JError::raiseError() /var/www//html/neu/libraries/joomla/database/database/mysqli.php:396
13 JError::raise() /var/www//html/neu/libraries/joomla/error/error.php:251
The topic has been locked.

Re: Warning: Invalid argument supplied for foreach() i 12 years ago #34327

  • maju
  • OFFLINE
  • Posts: 1107
Hello,

l.fatyga:
How many rows do you have in database table booking_config? I have after update 1.5.2 and save config 99 rows. In 1.5.1 I had 49 rows, so 50 values could not be saved.

wildwerk:
You get this error during upgrading Booking component? What version of Joomla do you have?
ARTIO Support Team
Last Edit: 12 years ago by maju.
The topic has been locked.

Re: Warning: Invalid argument supplied for foreach() i 12 years ago #34331

Yes. I've tested the upgrade Page and the Joomla Extension Install Page. In both cases this message appears.
I'm using J 2.5.8
The topic has been locked.

Re: Warning: Invalid argument supplied for foreach() i 12 years ago #34333

  • maju
  • OFFLINE
  • Posts: 1107
Did you upgrade from 1.4.5 to 1.5.0? Or you just installed 1.5.0 as new installation? I think, this can be problem of older installation with new upgrades.
Patch from 1.5.0 in {installation package}/upgrade/1.5.0.php

There are database upgrades what was already used in upgrade from 1.4.5 to 1.5.0. If you have already those columns or other database changes implemented, you can comment those lines. For example:
$db->setQuery("ALTER TABLE `#__booking_reservation` ADD `book_time` DATETIME DEFAULT NULL ");
$db->query();

$db->setQuery("ALTER TABLE `#__booking_reservation_items` ADD `cancel_time` INT DEFAULT NULL ");
$db->query();

$db->setQuery("ALTER TABLE `#__booking_price` ADD `cancel_time` INT DEFAULT NULL ");
$db->query();

I am not sure, what everything you have already changed in your database. When I was testing it, I didn't have any error you are posting here.
ARTIO Support Team
The topic has been locked.
Přihlášení uživatele Prázdný