Comments (22)
It has been sometime since I last used xampp, these day's I mostly use a turnkey vm (https://www.turnkeylinux.org/) to test and play with php apps, but I've grabbed the latest xampp (with php 7.4) and installed booked and it seemed to work fine, no error like those. What version of xampp are you running?
from app.
I can give you more precice information later, but it was the latest XAMPP version, so it either contained PHP 8.0.2 or 7.4.15.
Can you give me a quick summary of the steps you performed to install the scheduler, so I can attempt to reproduce it tonight?
from app.
I've installed it using two methods, just to check. For both I created a new database called booked
-
Using the web installer
Created a booked folder on htdocs and extracted the latest maintenance release there
Duplicated the config-dist.php file and renamed it to config.php
Edited config.php with the correct url (http://localhost/booked/Web)
Went to http://localhost/booked/Web/install and followed the steps
There were some sql errors, that seem to be related to upgrading from previous versions, but at the end the installation was working fine -
Importing the full-install.sql and the sample data sql
Created a booked folder on htdocs and extracted the latest maintenance release there
Duplicated the config-dist.php file and renamed it to config.php
Edited config.php with the correct url (http://localhost/booked/Web) and the correct database (name: booked, user: root, no password)
Using phpmyadmin I imported the full-install.sql onto the "booked" database, I also imported the sample data
Afterwards accessed http://localhost/booked/Web and all seemed well
I did not encountered any errors using this method.
from app.
Okay, I'm quite sure, I attempted both methods you described above at some point in time. Following your first instructions using XAMPP 7.4 is now working though, so thanks a bunch.
If you want I can extend the readme soon including some basic instructions like you described above? I'll troubleshoot some more over the weekend, but I believe XAMPP 8.x must be causing some problems with the installation.
from app.
I've tried to setup booked using XAMPP 7.4 (https://www.apachefriends.org/xampp-files/7.4.16/xampp-windows-x64-7.4.16-0-VC15-installer.exe) multiple times using both methods shared by effgarces. However I can't get it get it working at all, it always shows Unknow Error. I've no clue what am I doing differenet or wrong, any help is appriciated.
from app.
Do you have any logs that might help pinpoint what is causing this issue? Namely the error.log should be usefull.
from app.
This is what I see in the log, when accessing, http://localhost/booked/web/
2021-04-23T05:23:59+02:00 [16452] ERROR default - [User= ()] Error connecting to database
Check your database settings in the config file
[File=C:\xampp\htdocs\booked\lib\Database\MySQL\MySqlConnection.php,Line=67]
2021-04-23T05:23:59+02:00 [16452] ERROR default - [User= ()] Uncaught exception: Exception: Error connecting to database
Error: in C:\xampp\htdocs\booked\lib\Database\MySQL\MySqlConnection.php:68
Stack trace:
#0 C:\xampp\htdocs\booked\lib\Database\Database.php(41): MySqlConnection->Connect()
#1 C:\xampp\htdocs\booked\Domain\Access\AnnouncementRepository.php(29): Database->Query(Object(GetDashboardAnnouncementsCommand))
#2 C:\xampp\htdocs\booked\Presenters\LoginPresenter.php(154): AnnouncementRepository->GetFuture(5)
#3 C:\xampp\htdocs\booked\Pages\LoginPage.php(138): LoginPresenter->PageLoad()
#4 C:\xampp\htdocs\booked\Web\index.php(43): LoginPage->PageLoad()
#5 {main} [File=C:\xampp\htdocs\booked\lib\Common\Logging\ExceptionHandler.php,Line=33]
from app.
Those errors indicate a problem connecting to the MySQL server, can you confirm that the config.php is correctly setup?
from app.
Yeah, I modified the config.php file as per instructions.
from app.
Have you tried to do a manual install? Using phpmyadmin create a new DB booked
, import full-install.sql
onto to it, afterwards import sample-data-utf8.sql
for the sample data (default password for admin
and user
is password
).
Next you just need to edit config.php to suit your environment, (I've attached my config.php so that you can see if there is any difference config.zip )
from app.
There was not any difference in config file.
from app.
Hey guys. I'm having the same problem. I need to configure the booked scheduler in local environment, using XAMPP + Windows 10, but I can never get to the installation screen. The steps I'm doing are the following:
- Install XAMPP (latest version)
- Download the booked scheduler ( version ( 2.8.5)
- Extract the compressed contents of the booked scheduler in the XAMPP htdocs folder
- Look for the config-dist.php file in the config folder and rename it to config.php
- Open config.php and change the parameter ['script.url'] to = 'http://localhost/booked/Web';
- Type in the browser http://localhost/booked/Web/install to start the automatic configuration screen.
But after following all these steps comes the following problem:
"Warning: Undefined array key "Validator" in C:\xampp\htdocs\booked\tpl_c\765c71a6c4d9e3fb9a18656cd344c3dfc6830da9_0.file.globalheader.tpl.php on line 119
Warning: Attempt to read property "value" on null in C:\xampp\htdocs\booked\tpl_c\765c71a6c4d9e3fb9a18656cd344c3dfc6830da9_0.file.globalheader.tpl.php on line 119
Warning: Undefined array key "InlineEdit" in C:\xampp\htdocs\booked\tpl_c\765c71a6c4d9e3fb9a18656cd344c3dfc6830da9_0.file.globalheader.tpl.php on line 124
Warning: Attempt to read property "value" on null in C:\xampp\htdocs\booked\tpl_c\765c71a6c4d9e3fb9a18656cd344c3dfc6830da9_0.file.globalheader.tpl.php on line 124
Warning: Undefined array key "Select2" in C:\xampp\htdocs\booked\tpl_c\765c71a6c4d9e3fb9a18656cd344c3dfc6830da9_0.file.globalheader.tpl.php on line 132
Warning: Attempt to read property "value" on null in C:\xampp\htdocs\booked\tpl_c\765c71a6c4d9e3fb9a18656cd344c3dfc6830da9_0.file.globalheader.tpl.php on line 132
Warning: Undefined array key "Timepicker" in C:\xampp\htdocs\booked\tpl_c\765c71a6c4d9e3fb9a18656cd344c3dfc6830da9_0.file.globalheader.tpl.php on line 136
Warning: Attempt to read property "value" on null in C:\xampp\htdocs\booked\tpl_c\765c71a6c4d9e3fb9a18656cd344c3dfc6830da9_0.file.globalheader.tpl.php on line 136
Warning: Undefined array key "Fullcalendar" in C:\xampp\htdocs\booked\tpl_c\765c71a6c4d9e3fb9a18656cd344c3dfc6830da9_0.file.globalheader.tpl.php on line 140
Warning: Attempt to read property "value" on null in C:\xampp\htdocs\booked\tpl_c\765c71a6c4d9e3fb9a18656cd344c3dfc6830da9_0.file.globalheader.tpl.php on line 140
Warning: Undefined array key "Owl" in C:\xampp\htdocs\booked\tpl_c\765c71a6c4d9e3fb9a18656cd344c3dfc6830da9_0.file.globalheader.tpl.php on line 146
Warning: Attempt to read property "value" on null in C:\xampp\htdocs\booked\tpl_c\765c71a6c4d9e3fb9a18656cd344c3dfc6830da9_0.file.globalheader.tpl.php on line 146
Warning: Undefined array key "cssFiles" in C:\xampp\htdocs\booked\tpl_c\765c71a6c4d9e3fb9a18656cd344c3dfc6830da9_0.file.globalheader.tpl.php on line 159
"
I no longer know how to proceed, it seems that I am doing it right, but the problem always occurs. Thank you guys for the help.
from app.
PHP version? , @Aender1
from app.
PHP version? , @Aender1
Thanks.
PHP versions 8.2.4 . XAMPP (latest version).
from app.
PHP version? , @Aender1
Thanks.
PHP versions 8.2.4 . XAMPP (latest version).
That's the issue, @Aender1 . Master branch is ready for PHP7.4.
There is a develop branch that should work with PHP8.1, but not sure for 8.2
from app.
PHP version? , @Aender1
Thanks.
PHP versions 8.2.4 . XAMPP (latest version).That's the issue, @Aender1 . Master branch is ready for PHP7.4. There is a develop branch that should work with PHP8.1, but not sure for 8.2
That might be the problem. In the installation requirements is PHP 8.0, 8.1
with PHP 8.1 recommended. I'm going to install a previous version of XAMPP to test. Thank you for the tip. Hugs
from app.
Same problem unfortunately. I've tried with PHP 8.0 and 8.1.
I rename config-dist.php to config.php, add the parameter ['script.url'] = 'http://localhost/booked/Web/install'; but when I type in the browser to start the automatic installation, I always get the message:
"Warning: Undefined array key "Validator" in C:\xampp\htdocs\booked\tpl_c\d852d65d0a767877ba646c8e5497346323c69025_0.file.globalheader.tpl.php on line 119
Warning: Attempt to read property "value" on null in C:\xampp\htdocs\booked\tpl_c\d852d65d0a767877ba646c8e5497346323c69025_0.file.globalheader.tpl.php on line 119
Warning: Undefined array key "InlineEdit" in C:\xampp\htdocs\booked\tpl_c\d852d65d0a767877ba646c8e5497346323c69025_0.file.globalheader.tpl.php on line 124
Warning: Attempt to read property "value" on null in C:\xampp\htdocs\booked\tpl_c\d852d65d0a767877ba646c8e5497346323c69025_0.file.globalheader.tpl.php on line 124
Warning: Undefined array key "Select2" in C:\xampp\htdocs\booked\tpl_c\d852d65d0a767877ba646c8e5497346323c69025_0.file.globalheader.tpl.php on line 132
Warning: Attempt to read property "value" on null in C:\xampp\htdocs\booked\tpl_c\d852d65d0a767877ba646c8e5497346323c69025_0.file.globalheader.tpl.php on line 132
Warning: Undefined array key "Timepicker" in C:\xampp\htdocs\booked\tpl_c\d852d65d0a767877ba646c8e5497346323c69025_0.file.globalheader.tpl.php on line 136
Warning: Attempt to read property "value" on null in C:\xampp\htdocs\booked\tpl_c\d852d65d0a767877ba646c8e5497346323c69025_0.file.globalheader.tpl.php on line 136
Warning: Undefined array key "Fullcalendar" in C:\xampp\htdocs\booked\tpl_c\d852d65d0a767877ba646c8e5497346323c69025_0.file.globalheader.tpl.php on line 140
Warning: Attempt to read property "value" on null in C:\xampp\htdocs\booked\tpl_c\d852d65d0a767877ba646c8e5497346323c69025_0.file.globalheader.tpl.php on line 140
Warning: Undefined array key "Owl" in C:\xampp\htdocs\booked\tpl_c\d852d65d0a767877ba646c8e5497346323c69025_0.file.globalheader.tpl.php on line 146
Warning: Attempt to read property "value" on null in C:\xampp\htdocs\booked\tpl_c\d852d65d0a767877ba646c8e5497346323c69025_0.file.globalheader.tpl.php on line 146
Warning: Undefined array key "cssFiles" in C:\xampp\htdocs\booked\tpl_c\d852d65d0a767877ba646c8e5497346323c69025_0.file.globalheader.tpl.php on line 159
Warning: Attempt to read property "value" on null in C:\xampp\htdocs\booked\tpl_c\d852d65d0a767877ba646c8e5497346323c69025_0.file.globalheader.tpl.php on line 159
Warning: Undefined array key "printCssFiles" in C:\xampp\htdocs\booked\tpl_c\d852d65d0a767877ba646c8e5497346323c69025_0.file.globalheader.tpl.php on line 182
"
I don't know what to do anymore
from app.
treborin
Would you describe the steps you are using to install? Thanks.
from app.
PHP version? , @Aender1
Thanks.
PHP versions 8.2.4 . XAMPP (latest version).That's the issue, @Aender1 . Master branch is ready for PHP7.4. There is a develop branch that should work with PHP8.1, but not sure for 8.2
As i told you, you need to use PHP 7.4 for the master stable branch. For PHP 8.1, use develop branch
And i see that all these warnings comes from tpl_c cache folder. You should empty that folder
from app.
OK , I'll try with PHP 7.4. Thank you very much.
from app.
PHP version? , @Aender1
Thanks.
PHP versions 8.2.4 . XAMPP (latest version).That's the issue, @Aender1 . Master branch is ready for PHP7.4. There is a develop branch that should work with PHP8.1, but not sure for 8.2
As i told you, you need to use PHP 7.4 for the master stable branch. For PHP 8.1, use develop branch And i see that all these warnings comes from tpl_c cache folder. You should empty that folder
Thank you so much for your help, I was finally able to move forward with the installation using PHP 7.4 as you suggested, but I still can't finish the setup. When accessing the localhost/booked/Web/install address, I am directed to the initial configuration screen, but a Warning error appears.
Even so, I proceed with the installation and other errors are returned, which are described in the attached PDF file.
bookedpdf.pdf
I'm still at the beginning with SQL and I really don't know how to solve this. If you can still help me I will be very grateful.
from app.
Finally I managed to solve the Warning problem leaving the following configuration for the database in config.php;
database configuration
*/
$conf['settings']['database']['type'] = 'mysql';
$conf['settings']['database']['user'] = 'root'; // database user with permission to the booked database
$conf['settings']['database']['password'] = '';
$conf['settings']['database']['hostspec'] = '127.0.0.1'; // ip, dns or named pipe
$conf['settings']['database']['name'] = 'booked';
Now everything is up and running : Booked Booked Scheduler v2.8.5 + PHP 7.4 .
Thank you all for your help.
from app.
Related Issues (20)
- That email address is not from an allowed domain HOT 1
- Docker compose not working HOT 1
- Slow creating and updating bookings HOT 1
- No reservation work / "Trying to access array offset on null" HOT 1
- API authentication issue when enable Active Directory authentication plugin
- Try ldap configuration HOT 3
- accessories administration
- Make "View availability" show up the next 7 days HOT 4
- Error after update latest Libre HOT 5
- Stripe Sources API deprecated - migrate to Payment Intents
- Member with status "inactiv"
- remove legend bar from schedule HOT 2
- PHP Warnings in Logs
- ini_set() warnings in cron logs
- Upgrade 2.8.5.5 -> 2.8.6.1 - SQL ERROR HOT 7
- Problems with character encoding v2.8.6.1 HOT 1
- Error: No reCAPTCHA clients exist.
- Smarty template implementation flaws
- No navigation to resource group/type/status management?
- Loading reservations ...., no calendar entries HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from app.