11
Cesagonchu
Re: Module Hotel Beta 1, testing for xoops 2.5.x

With your latest version (r11220) :


1 - modules/xhotel/images/hotel_logo.png is missing, but I saw that there is a Hotel_logo.png on modules/xhotel/images/
-> You must remove the capital letter


2 - When I install the module:

Warningcopy(/modules/TDMCreate/include/index.html) [function.copy]: failed to open streamNo such file or directory in file /modules/xhotel/include/install.php line 31

Warningcopy(/modules/TDMCreate/include/index.html) [function.copy]: failed to open streamNo such file or directory in file /modules/xhotel/include/install.php line 38

Warningcopy(/modules/TDMCreate/include/index.html) [function.copy]: failed to open streamNo such file or directory in file /modules/xhotel/include/install.php line 45

Warningcopy(/modules/TDMCreate/include/index.html) [function.copy]: failed to open streamNo such file or directory in file /modules/xhotel/include/install.php line 52

Warningcopy(/modules/TDMCreate/include/index.html) [function.copy]: failed to open streamNo such file or directory in file /modules/xhotel/include/install.php line 59

Warningcopy(/modules/TDMCreate/include/index.html) [function.copy]: failed to open streamNo such file or directory in file /modules/xhotel/include/install.php line 66

Warningcopy(/modules/TDMCreate/include/index.html) [function.copy]: failed to open streamNo such file or directory in file /modules/xhotel/include/install.php line 73


3 - xhotel\language\english\admin.php
Line 90:
define('_AM_HOTEL_PRICE_MATCH',"How Match");

I think you mean "How much?"


4 - When I go to:
modules/xhotel/admin/supplements.php?op=new

I have this error:
NoticeUndefined variablesupplement_status in file /modules/xhotel/class/hotel_supplements.php line 61



My config:

PHP version : 5.3.10-1ubuntu3.5
MYSQL version : 5.5.29-0ubuntu0.12.04.2
XOOPS : 2.5.5
ModuleAdmin : 1.1

12
timgno
Re: Module Hotel Beta 1, testing for xoops 2.5.x
  • 2013/3/13 22:06

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Thank you for your feedback

Point 2 regards the module TDMCreate, and not this module

The other bugs are solved

Download again from SVN

13
Cesagonchu
Re: Module Hotel Beta 1, testing for xoops 2.5.x

Quote:

timgno wrote:
Point 2 regards the module TDMCreate, and not this module


That is the problem, I don't have TDMCreate installed

14
timgno
Re: Module Hotel Beta 1, testing for xoops 2.5.x
  • 2013/3/14 7:59

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


You're right Cesag!

I did not realize that the file include/install.php contains this line of code, now to change it.

Thank you!

15
Cesagonchu
Re: Module Hotel Beta 1, testing for xoops 2.5.x

No problem, thank you for this new module

16
Cesagonchu
Re: Module Hotel Beta 1, testing for xoops 2.5.x

Quote:

timgno wrote:
The other bugs are solved



With your latest version (r11227) :

Point 1 and 3 listed here are not solved.


I just found another bugs:

5 - When I edit blocks:

"Clients block"

modules/system/admin.php?fct=blocksadmin&op=edit&bid=50

NoticeUndefined variableclients_arr in file /modules/xhotel/blocks/blocks_clients.php line 72

Warningarray_keys() expects parameter 1 to be array, null given in file /modules/xhotel/blocks/blocks_clients.php line 72

WarningInvalid argument supplied for foreach() in file /modules/xhotel/blocks/blocks_clients.php line 72




"Rooms block"

modules/system/admin.php?fct=blocksadmin&op=edit&bid=51

NoticeUndefined variablerooms_arr in file /modules/xhotel/blocks/blocks_rooms.php line 73

Warningarray_keys() expects parameter 1 to be array, null given in file /modules/xhotel/blocks/blocks_rooms.php line 73

WarningInvalid argument supplied for foreach() in file /modules/xhotel/blocks/blocks_rooms.php line 73



"Prices block"

modules/system/admin.php?fct=blocksadmin&op=edit&bid=52

-> blank page without any error



"Supplement block"

modules/system/admin.php?fct=blocksadmin&op=edit&bid=53

-> blank page without any error


"Reservations block"

modules/system/admin.php?fct=blocksadmin&op=edit&bid=54

NoticeUndefined variablereservations_arr in file /modules/xhotel/blocks/blocks_reservations.php line 72

Warningarray_keys() expects parameter 1 to be array, null given in file /modules/xhotel/blocks/blocks_reservations.php line 72

WarningInvalid argument supplied for foreach() in file /modules/xhotel/blocks/blocks_reservations.php line 72



"Supplements reserved block"

modules/system/admin.php?fct=blocksadmin&op=edit&bid=55

NoticeUndefined variablesupplements_reserved_arr in file /modules/xhotel/blocks/blocks_supplements_reserved.php line 72

Warningarray_keys() expects parameter 1 to be array, null given in file /modules/xhotel/blocks/blocks_supplements_reserved.php line 72

WarningInvalid argument supplied for foreach() in file /modules/xhotel/blocks/blocks_supplements_reserved.php line 72

17
timgno
Re: Module Hotel Beta 1, testing for xoops 2.5.x
  • 2013/3/16 18:22

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Thanks Cesag for your review!

Updated to Beta 2

Downloads

Modified fields:
`room_typeenum ('single''double''twin''triple'NOT NULL default 'single',
`
room_added_bedsset ('third''fourth'NOT NULL default 'third',
`
room_optionalsset ('smoking''airconditioning''seaview''tv'NOT NULL default 'smoking',
`
price_room_typeenum ('single''double''twin''triple'NOT NULL default 'single',


-> replaced with varchar type for input from form text

Modified blocks
Structure created on the user side

Pleace... test this new update

18
Cesagonchu
Re: Module Hotel Beta 1, testing for xoops 2.5.x

Your link does not work for me

19
timgno
Re: Module Hotel Beta 1, testing for xoops 2.5.x
  • 2013/3/18 12:37

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


What browser are you using?

I tried it now and it works for me ...

I use Google Chrome

20
Cesagonchu
Re: Module Hotel Beta 1, testing for xoops 2.5.x

I use iron, it is like chrome.

After using CCleaner it works for me now

Login

Who's Online

229 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 229


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits