• Compra una licencia de Windows 10/11 (10€) u Office (18€) al mejor precio u Office al mejor precio. Entra en este post con las ofertas
  • ¡Bienvenid@! Recuerda que para comentar en el foro de El Chapuzas Informático necesitas registrar tu cuenta, tardarás menos de 2 minutos y te dará valiosa información además de ayudarte en lo que necesites o pasar un rato agradable con nosotros.

Alguien me ayuda a poner en marcha esta app de GitHub

Javs2

Nuevo
Registrado
17 May 2021
Mensajes
3
Puntos
1
Edad
33
Buenas, me gustaría poner en marcha esta aplicación, creo que está completa, he creado la base de datos a mano y luego he importado los sql que he visto dentro (No sé si hice bien)

me da varios fallos del tipo:

Warning: mysqli_free_result() expects parameter 1 to be mysqli_result, bool given in C:\xampp\htdocs\ESworkday-Register\workday_register.php on line 295

Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, bool given in C:\xampp\htdocs\ESworkday-Register\admin\officecreate.php on line 152


Estoy utilizando Xampp

GitHub - DVdiego/ESworkday-Register: Control Horario

Gracias de antemano


He seguido estos pasos:
ew Install
-----------
--- Unpack the distribution into your webserver's document root directory.
--- Create a database named "WorkTime Control" or whatever you wish to name it.
--- Create a mysql user named "timeclock" (or whatever you wish to name it) with a password.
Give this user at least SELECT, UPDATE, INSERT, DELETE, ALTER, and CREATE privileges to ONLY
this database.
--- Import the tables using the create_tables.sql script included in this distribution.
--- Edit config.inc.php using any changes you wish.
--- Open the index page with your web browser.
--- Click on the Administration link on the right side of the page. Input "admin" (without the quotes)
for the username and "admin" (without the quotes) for the password. Please change the password
for this admin user after the initial setup of WorkTime Control is complete.
--- Create at least one office by clicking on the Create Office link on the left side of the page.
You MUST create an office to achieve the desired results. Create more offices if needed. (Aquí ya me da el primer fallo y no puedo continuar)

--- Create at least one group by clicking on the Create Group link on the left side of the page.
You MUST create a group to achieve the desired results. Create more groups if needed.
--- Add your users by clicking on the Create New Users link, and assign them to the office(s) and
group(s) you created above. Give Sys Admin level access for users who will administrate
WorkTime Control. Give Time Admin level access for users who will need to edit users' time, but
who will not need Sys Admin level access. If you require the reports to be secured so only
certain users can run them, then give these users reports level access.

*** Admin level access and reports level access are completely separate from each other. Just
*** because a user has admin level access does not give that user reports level access. You must
*** specifically give them reports level access when you are creating or editing the users,
*** if you choose to secure these reports for these users. To make WorkTime Control lock down the
*** reports to only these users, set the use_reports_password setting in config.inc.php to "yes".
 
Pues los warning tienen pinta de que utilizas el driver de mysql en vez de mysqli o al reves, el de mysqli en vez de mysql.

Por otro lado, si conoces la app que sabes que funciona bien adelante, pero si no conoces la aplicación y no tiene estrellas ni forks, ni muchos commits es posible que la app esté desatendida.

Saludos.
 
Arriba