- Posts: 1
- Thank you received: 0
- Community Forum
- Appointment Booking Pro - Retired, no longer for sale or supported.
- ABPro 4.0.x
- J4 / PHP 8
J4 / PHP 8
- Sebastian Richter
- Topic Author
- Offline
- Fresh Boarder
-
Less
More
4 months 5 days ago - 4 months 5 days ago #26890
by Sebastian Richter
J4 / PHP 8 was created by Sebastian Richter
Hi all together,
i installed ABP 405B10 on a clean J4 installation with php8 and had several issues that I ran into but which I also could get resolved. I would like to share them, so that it helps other people and maybe some issues could be updated in the next beta
This is my config:
Joomla! Version 4.1.0
PHP Version 8.0.17
Template cassiopeia
Database
Server mysql
Version5.7.36-log
Collation utf8_general_ci
Conn Collation utf8mb4_general_ci
Here they come:
Invalid SQL Query is constructed when category is selected -> DB Error
I don't what exactly happens there, but if nothing is passed in, the value of service_selector now seems to be 0 rather than ""
components/com_rsappt_pro3/getSlots.php
Line 253
Book offs - detailed view didnt load
components/com_rsappt_pro3/views/bookoffs_detail/tmpl/form.php
Line 25
Error while loading bookoff-details (admin)
components/com_rsappt_pro3/controllers/admin_detail.php
Line 525
Error while loading bookoff-details (frontEnd)
components/com_rsappt_pro3/controllers/bookoffs_detail.php
Line 307
Admin Menu (the joomla admin menu fully expanded): "categories" not working
-> change in database table #__menu -> add "_abp" to the category entry
should probably be fixed in the install or update .sql files
i changed it manually in the DB
Frontdesk - Ajax Request to get userdata of selected User returns invalid url for ajax_fetch
components/com_rsappt_pro3/script.js
Line 3318
Front desk - does not load on mobile device
components/com_rsappt_pro3/views/front_desk/tmpl/default_mobile.php
Line 448
same as above / probalby doesnt print - didnt test this one
components/com_rsappt_pro3/views/front_desk/tmpl/default_prt.php
Line 398
Front desk / add booking does not load on mobile (hyperlink from front desk broken)
The $link in the following else statement below the line I changed, probably should be commented out? At least in the non-mobile version it is... don't know - didn't test
components/com_rsappt_pro3/views/front_desk/tmpl/default_mobile.php
Line 250
Have a great sunday everybody and thanks for all your work, Rob!!
i installed ABP 405B10 on a clean J4 installation with php8 and had several issues that I ran into but which I also could get resolved. I would like to share them, so that it helps other people and maybe some issues could be updated in the next beta

This is my config:
Joomla! Version 4.1.0
PHP Version 8.0.17
Template cassiopeia
Database
Server mysql
Version5.7.36-log
Collation utf8_general_ci
Conn Collation utf8mb4_general_ci
Here they come:
Invalid SQL Query is constructed when category is selected -> DB Error
I don't what exactly happens there, but if nothing is passed in, the value of service_selector now seems to be 0 rather than ""
components/com_rsappt_pro3/getSlots.php
Line 253
## Change
if($service_selector !="" and $service_selector != 0){
#if($service_selector != ""){
Book offs - detailed view didnt load
components/com_rsappt_pro3/views/bookoffs_detail/tmpl/form.php
Line 25
## Change (added)
JHtml::_('jquery.framework');
Error while loading bookoff-details (admin)
components/com_rsappt_pro3/controllers/admin_detail.php
Line 525
## Change
#$process_wday = "|".$process_date[wday]."|";
$process_wday = "|".$process_date['wday']."|";
Error while loading bookoff-details (frontEnd)
components/com_rsappt_pro3/controllers/bookoffs_detail.php
Line 307
## Change
#$process_wday = "|".$process_date[wday]."|";
$process_wday = "|".$process_date['wday']."|";
Admin Menu (the joomla admin menu fully expanded): "categories" not working
-> change in database table #__menu -> add "_abp" to the category entry
should probably be fixed in the install or update .sql files
i changed it manually in the DB
Frontdesk - Ajax Request to get userdata of selected User returns invalid url for ajax_fetch
components/com_rsappt_pro3/script.js
Line 3318
// Change
//return("~/index.php");
return("");
Front desk - does not load on mobile device
components/com_rsappt_pro3/views/front_desk/tmpl/default_mobile.php
Line 448
<!-- ## Change -->
<input type="hidden" id="script_path" name="script_path" value="<?php echo $SCRIPTPATH?>" />
<!-- <input type="hidden" id="script_path" name="script_path" value="<?php echo SCRIPTPATH?>" /> -->
same as above / probalby doesnt print - didnt test this one
components/com_rsappt_pro3/views/front_desk/tmpl/default_prt.php
Line 398
<!-- ## Change -->
<!-- <input type="hidden" id="script_path" name="script_path" value="<?php echo SCRIPTPATH?>" /> -->
<input type="hidden" id="script_path" name="script_path" value="<?php echo $SCRIPTPATH?>" />
Front desk / add booking does not load on mobile (hyperlink from front desk broken)
The $link in the following else statement below the line I changed, probably should be commented out? At least in the non-mobile version it is... don't know - didn't test
components/com_rsappt_pro3/views/front_desk/tmpl/default_mobile.php
Line 250
## Change
$link = JRoute::_( 'index.php?option=com_rsappt_pro3&view=front_desk').'&task=add_booking&frompage=front_desk&Itemid='.$itemid;
#$link = JRoute::_( 'index.php?option=com_rsappt_pro3&controller=front_desk&task=add_booking&frompage=front_desk&Itemid='.$itemid);
Have a great sunday everybody and thanks for all your work, Rob!!
Last edit: 4 months 5 days ago by Sebastian Richter. Reason: better readabilty
Please Log in to join the conversation.
- Rob
-
- Offline
- Administrator
-
Less
More
- Posts: 4775
- Karma: 103
- Thank you received: 672
4 months 2 days ago #26892
by Rob
Replied by Rob on topic J4 / PHP 8
Thanks, put them in but did not test as I am still running php7
Please Log in to join the conversation.
- Community Forum
- Appointment Booking Pro - Retired, no longer for sale or supported.
- ABPro 4.0.x
- J4 / PHP 8
Time to create page: 0.187 seconds