I can’t solve this. All I got when I log in is a blank page. The code produces some HTML, though, but it’s not visible, because of (I guess) this “invisible home” class applied to the body tag. I don’t know why this is happening. I updated to the last version (3.4.1) and still no luck.
I do a dump of database and put in another phplist installation (local), The problem was solved, then I put the dump to a new database in phplsit production.
I don’t know why, but I think the problem can back any moment.
This is most likely related to recent jQuery upgrades. The invisible body class should be removed by jQuery when it loads. You can use browser debugging tools to see if jQuery scripts are failing to load with 404.
Thanks, I’ll tinker with that, see what happens. I wonder, why there’s no non-javascript fallback? I think it would be reasonable to avoid things like this…
Hmmm, this is as far as I can go. I deleted both the “invisible body” and “hidden” classes from the body and the div (below the “page title” h4) tags respectively. This should be the campaigns page, but still it’s not loading useful content. I think the problem lays underneath… Any hints?
Same here. Just after upgrading from 3.3.4 to 3.4.1, I can see the login page, then once logging in it gives the blank tag. No errors in the apache error log but access log shows 500 response code. But I do see the same stuff with view source.
and the page doesn’t fully load. via browser or phplist command line, it ends here:
<!-- content starts here -->
<h4 class=“pagetitle”>Dashboard</h4><div class=“hidden”><a href="./?page=home&tk=56ecbc861a5434117444f1e4de848504" title=“Go to the dashboard page”>Dashboard</a></div><noscript><div class=“note d533fc9acf638d1”><a href="./?page=home&action=hidenote&note=d533fc9acf638d1" class=“hide ajaxable” title=“Close this box”>Hide</a><p>phpList will work without Javascript, but it will be easier to use if you switch it on.</p></div></noscript>
When I view the source code I can see that there is mark up. For example:
The body element has class=“invisible home” and a closely following div element has id=“hiddendiv”.
The version of PHP that I am using is 7.4. I have tried using 5.6, 7.0, 7.1, 7.2, and 7.3, so unless it is an extension, I don’t think it is PHP. I run phpList next to a WordPress site, so PHP creeps up along with WordPress requirements.
It says that the minimum php required extensions: (note that you’ll need at least php 5.6, NOT 5.3.3. I personally recommend that you use php 7.x…
phpList system requirements
MySQL or MariaDB
Apache Note: phpList optionally uses Apache environment variables
PHP 5.3.3 or later with the following PHP extensions:
pcre
imap
Core
date
hash
SPL
filter
openssl
mbstring
session
curl
xml
iconv
json
gettext
SimpleXML
mysqli
mysql
GD (required by CKEditor Plugin only)
Note:
phpList 3.4.0 and latter feature the new REST API. PHP 7 is required to use the API. The phpList3 module requirements are the same on those versions too.
Some module dependencies are not obligatory. Some of phpList’s functionality will be hidden if certain functions are not available on your system. For full phpList functionality all the above modules are required.