alextselegidis / easyappointments

:date: Easy!Appointments - Self Hosted Appointment Scheduler
https://easyappointments.org
GNU General Public License v3.0
3.34k stars 1.28k forks source link

Error on installation #1099

Closed rastilscir closed 3 years ago

rastilscir commented 3 years ago

Good day sir,

Upon installation of Easyappointments i have encountered "The operation could not complete due to unexpected issues."

this is from the console


Unexpected HTTP Error:
Object { readyState: 4, getResponseHeader: getResponseHeader(e), getAllResponseHeaders: getAllResponseHeaders(), setRequestHeader: setRequestHeader(e, t), overrideMimeType: overrideMimeType(e), statusCode: statusCode(e), abort: abort(e), state: state(), always: always(), catch: catch(e) , … }

Object { url: "http://127.0.0.1/ee/easyappointments/index.php/installation/ajax_install", type: "POST", isLocal: false, global: true, processData: true, async: true, contentType: "application/x-www-form-urlencoded; charset=UTF-8", accepts: {…}, contents: {…}, responseFields: {…}, … } SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data jQuery 5

http://127.0.0.1/ee/easyappointments/assets/js/installation.min.js?924WX:1 jQuery 8 http://127.0.0.1/ee/easyappointments/assets/js/installation.min.js?924WX:1 jQuery 13 e t setTimeout handler*l/< c fireWith fire c fireWith ready B EventListener.handleEvent* *** Thank you very much!
alextselegidis commented 3 years ago

Hello!

Please check your /storage/logs/* directory for debug log files and post their content here.

It looks like a server-side error that is happening when you trigger this request.

  Alex Tselegidis, Easy!Appointments Creator
  Need a customization? Get a free quote!

rastilscir commented 3 years ago

hi sir,

these are the contents


<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

ERROR - 2021-07-13 07:01:55 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\ee\easyappointments\application\views\appointments\book.php 113 ERROR - 2021-07-13 07:01:55 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\ee\easyappointments\application\views\appointments\book.php 169 ERROR - 2021-07-13 07:45:30 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\ee\easyappointments\application\views\appointments\book.php 113 ERROR - 2021-07-13 07:45:30 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\ee\easyappointments\application\views\appointments\book.php 169 ERROR - 2021-07-13 07:49:42 --> Severity: Error --> Maximum execution time of 30 seconds exceeded C:\xampp\htdocs\ee\easyappointments\vendor\codeigniter\framework\system\database\drivers\mysqli\mysqli_driver.php 307 ERROR - 2021-07-13 07:56:57 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\ee\easyappointments\application\views\appointments\book.php 113 ERROR - 2021-07-13 07:56:57 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\ee\easyappointments\application\views\appointments\book.php 169 ERROR - 2021-07-13 08:02:24 --> Severity: Error --> Maximum execution time of 30 seconds exceeded C:\xampp\htdocs\ee\easyappointments\vendor\codeigniter\framework\system\database\drivers\mysqli\mysqli_driver.php 307 ERROR - 2021-07-13 08:04:48 --> Severity: error --> Exception: $name setting does not exist in database: company_name C:\xampp\htdocs\ee\easyappointments\application\models\Settings_model.php 43 ERROR - 2021-07-13 08:05:34 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\ee\easyappointments\application\views\appointments\book.php 113 ERROR - 2021-07-13 08:05:34 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\ee\easyappointments\application\views\appointments\book.php 169 ERROR - 2021-07-13 08:19:53 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\ee\easyappointments\application\views\appointments\book.php 113 ERROR - 2021-07-13 08:19:53 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\ee\easyappointments\application\views\appointments\book.php 169 ERROR - 2021-07-13 08:19:53 --> Severity: error --> Exception: $name setting does not exist in database: require_captcha C:\xampp\htdocs\ee\easyappointments\application\models\Settings_model.php 43 ERROR - 2021-07-13 08:21:54 --> Severity: Error --> Maximum execution time of 30 seconds exceeded C:\xampp\htdocs\ee\easyappointments\vendor\codeigniter\framework\system\database\drivers\mysqli\mysqli_driver.php 307


alextselegidis commented 3 years ago

Hello!

Please reset your database (remove all the tables) and try again from scratch.

The errors you are getting are because you do not have the required records in your database, so basically a side effect.

Post back here if you find installation related error mesages.

  Alex Tselegidis, Easy!Appointments Creator
  Need a customization? Get a free quote!

rastilscir commented 3 years ago

Thank you very much!

On Mon, Jul 19, 2021 at 6:25 PM Alex Tselegidis @.***> wrote:

Hello!

Please reset your database (remove all the tables) and try again from scratch.

The errors you are getting are because you do not have the required records in your database, so basically a side effect.

Post back here if you find installation related error mesages.

https://camo.githubusercontent.com/30676c4987784d10e020c434b4519580e70da2388d2b1032698121af407caeff/68747470733a2f2f656173796170706f696e746d656e74732e6f72672f696d672f656173796170706f696e746d656e74732d7369676e61747572652e706e67 Alex Tselegidis, Easy!Appointments Creator Need a customization? Get a free quote! https://easyappointments.org/get-a-free-quote

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alextselegidis/easyappointments/issues/1099#issuecomment-882434223, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4R45S4EA5FGQWRYFQLEQLTYP4SPANCNFSM5AIKLMAA .