-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
White page with PHP v.7.2 and Joomla 3.8.12 #22046
Comments
is that other site on the same server as the one that is not working? |
Hi! This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22046. |
Hi! This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22046. |
i asked because it sounds like a misconfigured php on the effected server - sppecificaly the session.path |
How to resolve it? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22046. |
As it is not a joomla issue you should speak to your host |
Hi! This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22046. |
If 3.8.12 wouldn't run on 7.2 we would know. It is for sure not a problem with the core joomla, you can ask on the forum. For me it looks as your session path is not writeable or doesn't exists |
Ok, thanks! This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22046. |
You do not mention the session handler that you are using Before you change from PHP 7.0 to PHP 7.2 Please check that the session handler that you have configured in Joomla Global configuration Also you may try using a different one |
Hi, ggppdk! This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22046. |
Ok, Enable mysqli for PHP 7.2 and / or try Mysql (PDO) in global configuration inside System TAB |
And that confirms that your installation of php 7.2 is not correct |
Hi ggppdk!
But I don't find msqli or Mysql (PDO) settings in System TAB of gloabal config. I attached a screeshot of my SyStem Tab. Thanks This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22046. |
can you please discuss on the forums as this repository concerns in first Place Joomla-Core coding. |
Hi franz-wohlkoenig! This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22046. |
My mistake the setting is inside "Server" TAB,
yes, ... |
Hi ggppdk! This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22046. |
@Mkvixj00 glad that this works now and thanks to all commented here. |
I think this could be due to wrong database information. please try to comment the line from 260 to 263 in libraries/joomla/session/handler/native.php and see if there are error for mysql not connected. I have this problem due to that, Hope anyone have same and this solution work for them. |
NEVER change core files!!!! |
No I am not suggesting to make changes in core file. I am just suggesting it to debug the issue. If issue found revert the changes back in core file. |
disculpen tengo este error, pero solo puedo interactuar mediante FTP, que puedo hacer?? |
Steps to reproduce the issue
On a shared hosting, if I change the PHP version from 7.0 to 7.2, I get a blank page both on frontend and backend. If I restore the previous PHP version the site reappears correctly.
By activating "display erros" in php.ini, the following message appears:
Warning: session_start (): Failed to read session data: user (path: / opt / alt / php72 / var / lib / php / session) in / home / myusername / public_html / mysubdirectory / libraries / joomla / session / handler / native .php online 260
Error: Failed to start the session
Expected result
The correct display of site pages
Actual result
A white page, a blank page both on frontend and backend, or this error if I enable "display errors"in php.ini :
Warning: session_start (): Failed to read session data: user (path: / opt / alt / php72 / var / lib / php / session) in / home / myusername / public_html / mysubdirectory / libraries / joomla / session / handler / native .php online 260
Error: Failed to start the session
System information (as much as possible)
Joomla 3.8.12
"Wedding" template, a recent theme produced by Joomlabamboo.com
RSForm! Pro 1.52.14 installed
Akeeba Backup Installed
Gantry template installed, but not used
the websiste is on a shared hosting with cPanel
Joomlart Joomla GDPR Component 1.0.4
nothing else installed
Additional comments
I tried to disable all modules, some third-party extensions (RSForm and the Gantry), but the white page remained.
Later I tried to set Protostar as the default template, in place of what was there before, which was "Weddings" template produced by Joomlabamboo.com.
I have never disabled the extensions related to the Joomlabamboo.com template.
I have another site that uses the same template, with joomla 3.8.12, but it works well with PHP 7.2.9.
The text was updated successfully, but these errors were encountered: