-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Report - problem with installation #3800
Comments
@Jimmi08 Server related maybe? e107 will support hyphens, but I believe some servers don't like it. |
@CaMer0n It was xampp installed on localhost. And it happened only update from 2.1.9 to 2.2.0 |
Hi, found a remarkable issue in regards to this when answering and testing an issue from Veskoto.( in working with language packs). NO upgrading : fresh installs.. I used for different installs (and tests) the newest xamp php 7.3.5 10.1.40-MariaDB (PDO). and Git version about 1/2 hour old 2 things (after a lot of installs....pfff) case2 : Now i install with dbasesql name starting with letter; agin on BS3 and Voux. In case 2 there are no issues to be seen... Case 1 throws those errors... (mind: numbers are by mention NOT correct as it should start with letter) |
Thank you @tgtje . This is helpful. Are you referring to the prefix, the database name or both? (re : numbers) |
When installing the name for the database (sql) when (by accident... if not read the tooltip) only numbers are put in. Strange that sql (or install) is accepting the 'wrong' primary input (identifiers...guess that the name for it?...unknown area for me) in a later stage (after install) it messes up things. |
@CaMer0n In addition; took the time to do some more installs (not upgrading) but now used a 2.2.0 Git version (dd 03-30-19) and run some. I may conclude that when using ONLY numbers the auto update check (install works) triggers to update. repeating with starting letter : ok (On using Voux > dbase update appears, but hitting core update = fine) Now the outcome presented is.. does the position of the letter have influence ?... Now did also some extra php version (5.6.3 and 7.2.2) same. PHP 7.2.2 (existing 2.2.0 full site synced with Git > no issues (ignored 1 item : /e107_themes/_blank/templates/download/download_template.php) |
Thank you @tgtje I have a made a minor change to install.php |
@Jimmi08 What is your database name? |
@CaMer0n e107-gaia |
@Jimmi08 Okay Thanks. So just the hyphen is causing the issue. |
The reason is at the end, this is report.
Without debug mode:
Just to show how long is this:
It starts:
With debug mode:
Check database validity:
after attempt to fix:
Update Unsuccessful [CREATE TABLE
e107_admin_log(dblog_id int(10) unsigned NOT NULL auto_increment, dblog_datestamp int(10) unsigned NOT NULL default '0', dblog_microtime int(10) unsigned NOT NULL default '0', dblog_type tinyint(3) NOT NULL default '0', dblog_eventcode varchar(10) NOT NULL default '', dblog_user_id int(10) unsigned NOT NULL default '0', dblog_ip varchar(45) NOT NULL default '', dblog_title varchar(255) NOT NULL default '', dblog_remarks text NOT NULL, PRIMARY KEY (dblog_id), KEY dblog_datestamp (dblog_datestamp)) ENGINE=MyISAM;]
SQL debug:
After using query directly in phpmyadmin:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-gaia LIKE 'e107_%'' at line 1
After changing the database to e107gaia - without dash, it works. No idea why this is a problem now, I used a database with dash on localhost very often.
The text was updated successfully, but these errors were encountered: