I was setting up a new server and the CentOS repo had php 5.3.3 and a remi repo has php 5.4.24. Now 5.2.24 includes improvements such as APC is now a part of PHP. However, it appears that Dolphin 7.1.x may not be compatible with php 5.4.24. When trying to use it I get a white page with no php errors reported. Now I am running 7.1.0 (soon to upgrade) and php 5.4.0 and have not noticed any issues; I do have one admin module that barks a bit but it functions as it should. Has anyone else set up Dolphin with php 5.4.24? I was going to test the current site with 5.4.0 but can not find a repo that has it and I really don't want to install php 5.4.0 from source. If anyone has a repo with php 5.4.0 I would like to test with it. Geeks, making the world a better place |
OK, maybe it is not php 5.4.24 after all. I still get a white screen with no php errors (yes, it is turned on). I guess I can look in the php error logs and see what is there but I am thinking I screwed up the build of this server and it might be better to just have it set back to the bare images and start over. It is a shame that server companies are not offering a LEMP stack image and I have to build from scratch on everything.
Maybe it is MySQL 5.6. Has anyone installed MySQL 5.6 on a Dolphin server? I put that version on because Oracle is claiming a lot of speed improvements. I was using the MySQL native connector.
Geeks, making the world a better place |
I see no one is coming in on this topic; which is OK of course. I think I did a oops in setting the server up, I am going to start over and will report back. Geeks, making the world a better place |
I had to upgrade my server from php 5.3 to 5.4 and the only problem I had is the two mods by mods4dolphin. It is his twitter and Facebook mod. The twitter mod installed fine but when you goto the users side of the mod. It was a white page. No errors. Then his Facebook mod it will act like it is installing but goes strait to a white page. Then I could not un-install it or do anything at all.. I had to wipe the whole system and start over. But that was the only problems I have had so far with php 5.4.. I had to goto php 5.4 for vBulletins I run on the other site I have.. |
I had to upgrade my server from php 5.3 to 5.4 and the only problem I had is the two mods by mods4dolphin. It is his twitter and Facebook mod. The twitter mod installed fine but when you goto the users side of the mod. It was a white page. No errors. Then his Facebook mod it will act like it is installing but goes strait to a white page. Then I could not un-install it or do anything at all.. I had to wipe the whole system and start over. But that was the only problems I have had so far with php 5.4.. I had to goto php 5.4 for vBulletins I run on the other site I have..
Do you know the full release of 5.4? Was it the 5.4.24 which is the only version I can find in a repo.
Geeks, making the world a better place |
This could be of some concern if one is running a server with more than one type of CMS on it. It does appear that Dolphin will not run on PHP 5.4.24. I rebuilt the server paying careful attention to what I was doing. PHP 5.4.24 installed with php-fpm and Nginx as the webserver. PHP scripts are being passed to php-fpm. I turned off the built-in APC cache. When trying to load Dolphin all I get is a white page with no errors.
I decided to do a simple test in the index.php file using echoes.
echo 'This is a test 1 message.'; require_once( 'inc/header.inc.php' ); echo 'This is a test 2 message.';
The first message is displayed, the second message is not and that is the end of things.
If this means that you can not use 5.4.24 with Dolphin, then that means not running anything else on the server except Dolphin if 5.4.x is required for the others. The repos is either 5.3.3 or 5.4.24 if you decide to go out of the base repos. Or compile php from the binaries.
Geeks, making the world a better place |
I am using PHP 5.4.23 right now.. I might have to upgrade to 5.5 soon with my other website using vBulletins. But the only problem I have faced with 5.4.23 was the twitter and Facebook mods.. I have a lot of mods too and everything that is still under support but those two mods run just fine under my server with Zarconia. |
I am using PHP 5.4.23 right now.. I might have to upgrade to 5.5 soon with my other website using vBulletins. But the only problem I have faced with 5.4.23 was the twitter and Facebook mods.. I have a lot of mods too and everything that is still under support but those two mods run just fine under my server with Zarconia.
I wonder if Zarconia would mind testing this by installing a server with 5.4.24. You just may find your sites not working if there is some change from .23 to .24. I would test with earlier versions of 5.4 if I could find one without building binaries; it is 5.4.24 in the remi repo and any other repo that I have looked at. I can not keep rebuilding the server.
Now this was on an existing Dolphin build, perhaps I will test with installing a new version of Dolphin 7.1.4 and see what happens. I have also not looked at the header.inc to see what may be the problem with it loading.
This is important. PHP is moving ahead, Hosting companies are upgrading. At some point, PHP 5.3.3 is not going to be available without compiling binaries. Is Boonex going to maintain a repo for Dolphin users, or are they going to make sure that Dolphin works with the PHP that gets installed on servers? I have no idea about Dolphin 8 but 8 is out there rather far away.
Perhaps some others can do some testing on existing Dolphin builds, setting up a server and transferring a cloned site to a PHP 5.4.24 build. I will continue to look at the current setup to see if I can find out why the White Page of Death is happening. It is not because of PHP-FPM, php scripts are being passed by Nginx to PHP-FPM; this White Page of Death is related to Dolphin.
Geeks, making the world a better place |
Working through to see where the failure points are, the first was located in security.inc.php with the line:
list ($iImpactLog, $iImpactBlock) = bx_sys_security_get_impact_threshold ();
The function called is:
function bx_sys_security_get_impact_threshold () { global $site; $sCacheFile = BX_DIRECTORY_PATH_CACHE . 'sys_options_' . md5($site['ver'] . $site['build'] . $site['url']) . '.php'; if (!file_exists($sCacheFile)) { require_once( BX_DIRECTORY_PATH_INC . 'db.inc.php' ); return array (getParam('sys_security_impact_threshold_log'), getParam('sys_security_impact_threshold_block')); } else { include $sCacheFile; $iThresholdLog = $mixedData['sys_security_impact_threshold_log']; $iThresholdBlock = $mixedData['sys_security_impact_threshold_block']; $mixedData = null; return array ($iThresholdLog, $iThresholdBlock); } }
manually assigning the threshold level to -1 got me as far as
$init->config['General']['json'] = array_merge($init->config['General']['json'], bx_sys_security_get_fields ('json'));
If it is not the php version, is it possible I have overlooked something in setting up the server?
It is important that Dolphin works with newer versions of PHP because eventually, the newer versions will be all that is available.
Geeks, making the world a better place |
I don't think the compatibility is in question now. I reverted back to php 5.3.3 and the site loaded. What I don't understand is why no one is discussing this? PHP compatibility is VERY IMPORTANT! Now I have a site running PHP 5.4.0 and TruckingSpace is running a site on PHP 5.4.23. However, it appears that you might not be able to run a site on 5.4.24. You can not just sit by and say, "Well, run it on 5.3.3." At some point, 5.3.3 might not be available, then you will be SOL to operate Dolphin.
@TruckingSpace: I would be very careful about updating a production site to PHP 5.4.24. I would test first on another server. I would like to know if anyone else is having problems with Dolphin on PHP 5.4.24.
Geeks, making the world a better place |
Server Requirements
I think PHP 5.4.24 is higher; so Boonex is telling me that Dolphin should work on 5.4.24 since it is higher. Has Boonex tested Dolphin on anything higher than what is listed here?
Geeks, making the world a better place |
I think I may know where the issue occurred. I don't think the php connection to the MySQL 5.6 was occurring. I was using the mySQL native connector php-mysqlnd:
The MySQL native driver for PHP (mysqlnd) is a drop-in replacement for the MySQL Client Library (libmysql) for the PHP script language.
PHP 5.4 has mysqlnd as default
As of PHP 5.4, the mysqlnd library is a php.net compile time default to all PHP MySQL extensions.
https://dev.mysql.com/downloads/connector/php-mysqlnd/
It would be nice if someone else could set up a php 5.4.24 and mySQL server 5.6 and test. Maybe Dolphin will run on php 5.4.24 and MySQL server 5.6 if the php mysql connector is in place; I might not have done something correct concerning the mySQL connector.
Geeks, making the world a better place |
I use CentOS 6.5 x86_64 kvm
2.2.26 Apache and PHP 5.4.24
the site works fine no problem,
for those of php 5.5.8 I have not tried it yet,
TruckingSpace who participated in this? 
|
I use CentOS 6.5 x86_64 kvm
2.2.26 Apache and PHP 5.4.24
the site works fine no problem,
for those of php 5.5.8 I have not tried it yet,
TruckingSpace who participated in this? 
How about the mySQL server? what version? what about php mysql connector?
Geeks, making the world a better place |
I use version 5 mysql,
I have this configuration for over 1 years approximately,
J'utilise CentOS 6.5 x86_64 kvm
2.2.26 d'Apache et PHP 5.4.24
le site fonctionne très bien pas de problème,
pour ceux de php 5.5.8 Je n'ai pas encore essayé,
TruckingSpace qui ont participé à cette entreprise? 
Comment sur le serveur MySQL? quelle version? ce connecteur sur php mysql?
|
Yes, but sql server 5.0 is different than sql server 5.6. I think the error I saw was from the php connector. I don't think php was talking to the sql server. I guess the only way I can get any answers is to set up a server and play with it. I was really hoping that maybe the Dolphin Hosting members here, cough cough, would take one of their empty servers and set up Dolphin on PHP 5.4.24 with PHP-FPM and MySQL 5.6 and see. I guess I need to rent a small server and just test again when I have the extra funds. Geeks, making the world a better place |
Well I have one more mod that has the white page.. Modzzz trips. After I tried to install that one it would not let me un-install it.. I had to just un-install the sql just to get my site back.. But doing it that way it is still install but got the page back online until modzzz has time to take a look..
I also just upgraded my server after the error above to 5.5 now.. Just to see if there are any other problems. No other problems so far just the three mods so far.. will be looking at the site to see if there are any other problems after upgrading the php file..
|
First thing is that you should have a copy of production site to test the mod there first. Second is take a db backup before installing modules. Running the uninstall.sql directly is a bad way.
Well I have one more mod that has the white page.. Modzzz trips. After I tried to install that one it would not let me un-install it.. I had to just un-install the sql just to get my site back.. But doing it that way it is still install but got the page back online until modzzz has time to take a look..
I also just upgraded my server after the error above to 5.5 now.. Just to see if there are any other problems. No other problems so far just the three mods so far.. will be looking at the site to see if there are any other problems after upgrading the php file..
so much to do.... |
Yes. However, the question I have now is not about php but the php mysql connector. I think that was the real issue for me. I was using php-mysqlnd; the MySQL native connector. I was having issues trying to install php-mysql and I was under the impression that php-mysqlnd would handled the same function as php-mysql; that is was a direct drop-in. The server was also using MySQL client/server 5.6. I rebuilt the server and just went ahead with the CentOS repo that contains PHP 5.3.3 and the corresponding php-mysql and the sites are loading.
If some of the php and mysql people would come in and add to the discussion it would be nice. I am trying to learn more about this.
As of PHP 5.4, the mysqlnd library is a php.net compile time default to all PHP MySQL extensions.
https://dev.mysql.com/downloads/connector/php-mysqlnd/
Geeks, making the world a better place |
Yes I know it is bad. There are no members to the site.. I am rebuilding it and playing around. Modzzz might be able to come in and see what it is doing and be able to update his mod for it. I un-installed it that way because that was the only way that I know of to get the site viewable for now..
First thing is that you should have a copy of production site to test the mod there first. Second is take a db backup before installing modules. Running the uninstall.sql directly is a bad way.
Well I have one more mod that has the white page.. Modzzz trips. After I tried to install that one it would not let me un-install it.. I had to just un-install the sql just to get my site back.. But doing it that way it is still install but got the page back online until modzzz has time to take a look..
I also just upgraded my server after the error above to 5.5 now.. Just to see if there are any other problems. No other problems so far just the three mods so far.. will be looking at the site to see if there are any other problems after upgrading the php file..
|
If you need help with white pages or errors let me know... i can jump on there and take a look as well. https://dolphin-techs.com - Skype: Dolphin Techs |
Thanks Jay
If you need help with white pages or errors let me know... i can jump on there and take a look as well.
|
No one is talking about the things I have mentioned. php-mysqlnd, the link to Oracle, etc. Geeks, making the world a better place |
One common cause of blank pages is due to deprecated 'call-time pass-by-reference' i.e.
There is no reference sign on a function call - only on function definitions. Function definitions alone are enough to correctly pass the argument by reference. As of PHP 5.3.0, you will get a warning saying that "call-time pass-by-reference" is deprecated when you use & infoo(&$a); .
You can read the full documentation here -> LINK
An easy way to debug the issue is to add these two lines at top of your php file and that should spit out the error in most cases -
error_reporting(E_ALL | E_PARSE);
ini_set('display_errors', '1');
Regards,
Mods4Dolphin
Facebook, Twitter & Instagram Combo - http://bit.ly/1h5CarP |
If had a delete on this topic I would kill it in a second. Does anyone here know anything about php-mysqlnd? Does anyone here know anything about PHP 5.4.24 and connecting to the MySQL server 5.6 using the native driver?
I gave links to the article over at Oracle but everyone is dancing around this and I am beginning to get a bit irritated.
Geeks, making the world a better place |