Installation completes without any PHP notices or warnings or errors.
Installation stops after step 3.
5 identical PHP notices like following one (path shortened for readability):
PHP Notice: Undefined offset: 0 in /libraries/src/Table/Nested.php on line 1430
In browser console JS error (with system debug on in global settings so unminified js file is used):
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
sampledata-process.js:42:29
PHP 7.2
MySQL 5.7
Linux OS for webserver and dbserver
Browser: Firefox Quantum 68.0.2 (64-Bit) on Windows 10
Was working when I've tested 1 or 2 weeks ago, so the error seems to be more or less new.
Labels |
Added:
?
|
Title |
|
Build | staging | ⇒ | 4.0-dev |
Status | New | ⇒ | Discussion |
Labels |
Added:
J4 Issue
|
Installed multilang. Sampledata – works as expected.
Setting | Value |
---|---|
PHP Built On | Linux lamp129.cloudaccess.net 3.10.0-962.3.2.lve1.5.24.5.el6h.x86_64 #1 SMP Thu Nov 22 10:07:47 EST 2018 x86_64 |
Database Type | mysql |
Database Version | 5.7.23-cll-lve |
Database Collation | utf8_general_ci |
Database Connection Collation | utf8mb4_general_ci |
PHP Version | 7.3.7 |
Web Server | Apache |
WebServer to PHP Interface | cgi-fcgi |
Joomla! Version | Joomla! 4.0.0-alpha11-dev Development [ Amani ] 29-June-2019 11:27 GMT |
User Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:68.0) Gecko/20100101 Firefox/68.0 |
Multilanguage | Yes: French, German, Persian |
@franz-wohlkoenig The title of this issue clearly tells that it is about testing sample data, not multi language sample data.
Testing sample data is only available when working on clone of the GitHub repo, not when working with a nightly build.
@ghazal Did you try with testing sample data?
@richard67 Yes, I tried the sampledata plugin, not the module.
On a today's cloned version, with composer and npm installed.
I've just tried it again and still have the error.
I did a clean install into an empty database with current 4.0-dev branch, with error reporting set to "Development" in global config server settings.
Current 4.0-dev means
To make sure I have no remaonders from previous tests and no other unwanted files, I always do:
Then I cleared browser cache in order to be sure not to have any cached old js or css.
Then I make a new installation into empty database, without any modifications, i.e. no sample data, no additional languages.
Then I switch error reporting to "Development".
Then I go to the home dashboard and use the button marked with a red frame in the following screenshot to install testing sample data:
@ghazal @brianteeman Sure you did not have any remainders from previous tests, or any updates external packages from a previous run of "composer update"? Or maybe it is the error reporting set to development which changes something? Btw. any debug I had switched off in global config. Can you check again with these settings?
I can reproduce the issue where Step 3 is stuck with PHP notices and console JS error.
Thanks god someone can reproduce it. I started to believe that I have visions or something wrong is in my tobacco ;-)
i can reproduce too, it seems related to the fact that now the finder plugins are enabled by default
at least this is what i can read in the error log
@richard67 Don't worry about your tobacco.
I was finally able to reproduce the error with Error Reporting set to Development (and Finder plugins enabled).
Today's distrib.
Confirmed. It is still an issue.
Its expected that an Issue isn't resolved if no Pull Request is created ;-)
bit of debug info..
j4test.local.har.zip
After another test, it sticks to step3...
yup disabling the smart search content plugin is good enough to work around for now (obviously not the long term solution). I've done some improved error handling in #26385 on the plane home last night so it now doesn't hang on the spinner but shows an error (doesn't actually solve the issue tho)
Maybe we could disable the plugin in step1 and re-enable it in step9?
My guess is that if you manually create a category. then manually create an article and put it in the new category you're going to get the same error.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-11-06 20:44:27 |
Closed_By | ⇒ | richard67 |
Can't reproduce this issue with the sampledata plugin.
Admin sampledata module OK too.
PHP 7.2.5
MySQL 5.7.22
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26036.