Open JimMlWilson opened 2 months ago
It's the same on my Installation !
Perhaps this SQL-Statement (after installing " Displayed Required SQL" into the webcalendar-SQL-DB) helps to solve this issue: (Unfortunately in Germany!)
Fehler Statische Analyse: 3 Fehler wurden während der Analyse gefunden. Unerwarteter Statement-Anfang. (near "Description:" at position 13) Unerwarteter Statement-Anfang. (near "This" at position 28) Unerkannte Statement-Typ. (near "FILE" at position 33) SQL-Befehl: Kopieren / Description: This FILE IS used TO CREATE ALL TABLES used BY WebCalendar AND initialize SOME of those TABLES WITH the required DATA. The comments IN the TABLE definitions will be parsed TO generate a document(IN HTML) that describes these TABLES./ / Defines a WebCalendar user./ CREATE TABLE webcal_user( / the unique user login / cal_login VARCHAR(25) NOT NULL, / the user's password. (not used for http) / cal_passwd VARCHAR(255), / user's last name / cal_lastname VARCHAR(25), / user's first name / cal_firstname VARCHAR(25), / is the user a WebCalendar administrator ('Y' = yes, 'N' = no) / cal_is_admin CHAR(1) DEFAULT 'N', / user's email address / cal_email VARCHAR(75) NULL, / allow admin to disable account ('Y' = yes, 'N' = no) / cal_enabled CHAR(1) DEFAULT 'Y', / user's telephone / cal_telephone VARCHAR(50) NULL, / user's address / cal_address VARCHAR(75) NULL, / user's title / cal_title VARCHAR(75) NULL, / user's birthday / cal_birthday INT NULL, / user's last log in date */ cal_last_login INT NULL, PRIMARY KEY(cal_login) ); MySQL meldet: Dokumentation
* * * Description: * This FILE IS used TO
CREATE ALL TABLES used BY WebC' in Zeile 1
I have tried with 1.9.10 and 1.9.8 and in both it creates the database, and fills the config table with 157 lines, but it does not activate the button to go to point 4.
Log Errors
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught ValueError: mb_language(): Argument #1 ($language) must be a valid language, "Spanish" given in /var/www/vhosts/mpmcalendar.online/httpdocs/includes/classes/WebCalendar.php:923\nStack trace:\n#0 /var/www/vhosts/mpmcalendar.online/httpdocs/includes/classes/WebCalendar.php(923): mb_language()\n#1 /var/www/vhosts/mpmcalendar.online/httpdocs/includes/classes/WebCalendar.php(1011): WebCalendar->_initTranslate()\n#2 /var/www/vhosts/mpmcalendar.online/httpdocs/login.php(51): WebCalendar->setLanguage()\n#3 {main}\n thrown in /var/www/vhosts/mpmcalendar.online/httpdocs/includes/classes/WebCalendar.php on line 923'
When running the script to create the database for version 1.9.10 the first part of step 3 to create the database works. I am then presented with an update database button. That step just hangs.