Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean install of 1.9.10 hangs on the update database page of the install script. #500

Open
JimMlWilson opened this issue Jul 12, 2024 · 3 comments

Comments

@JimMlWilson
Copy link

JimMlWilson commented Jul 12, 2024

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.

@JimMlWilson JimMlWilson changed the title 1.9.10 Clean install of 1.9.10 hangs on the update database page of the install script. Jul 13, 2024
@pflumm
Copy link

pflumm commented Jul 24, 2024

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
#1064 - Fehler in der SQL-Syntax. Bitte die korrekte Syntax im Handbuch nachschlagen bei '/
* * * Description: * This FILE IS used TO
CREATE ALL TABLES used BY WebC' in Zeile 1

@MpmSys
Copy link

MpmSys commented Jul 26, 2024

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.

@MpmSys
Copy link

MpmSys commented Jul 26, 2024

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants