Hi,
I’ve encountered a problem with your plugin, and I’m wondering if it’s somehow related to running HHVM on my server. I’ve got a number of sites on a number of VPSs. On my servers running CentOS 6.5, Nginx, MariaDB, and PHP-FPM I’m able to run your plugin without issue.
On my servers running Ubuntu 14.04, Nginx, MariaDB, and HHVM I’m unable to use your plugin. The plugin itself installs fine, but when I go into the page builder to create something, when I try to preview or publish the content it gets erased and shows a blank page.
The problem reproduces across all of my servers with the HHVM configuration, which is why I was curious if that could be the cause. Any insight into what could be causing the problem is much appreciated.
Hi Peter
Would you be able to tell us what the PHP memory limit, max input vars and the max execution time are set to?
Thanks
Magus
Hi Magus,
Sorry for the delay in reply. My settings in hhvm are as follows.
memory_limit = 150
max_input_vars = 1000
max_execution_time = 30
I’ve tried disabling all other plugins. The plugin just seems to not work correctly at all. Sometimes the pagebuilder tab disappears entirely, other times it will allow me to click it, but refuses to save any content. Saving as a draft or publishing results in a totally blank page.
Hi Peter
Sorry for the delay, have had to look into this a bit. Could you please tell me how much memory you have assigned to your HVVM instances.
Thanks
Magus
Having the same issues with page builder.
Running Nginx – HHVM 3.8,
If i switch back to php-fpm then it works.
So i am guessing it’s not compatible yet?
Hi Senad Pašalić
We have not tested this ourselves yet. Could you possibly tell us how much memory you have assigned to each HVVM instance and what your php variables are set to, as peter posted above.
thanks
Magus
I’m pretty sure it’s not a memory issue, as there’s plenty of ram on the servers I’m using. Maybe we’re both missing something though.
Below is the full contents of my php.ini file for HHVM.
; php options
session.save_handler = files
session.save_path = /var/lib/hhvm/sessions
session.gc_maxlifetime = 1440
memory_limit = 128M
max_input_vars = 1000
max_input_time = 60
max_execution_time = 30
post_max_size = 12M
upload_max_filesize = 12M
; hhvm specific
hhvm.log.level = Warning
hhvm.log.always_log_unhandled_exceptions = true
hhvm.log.runtime_error_reporting_level = 8191
hhvm.mysql.typed_results = false
Hi Peter
We would like to get this resolved and make the plugin compatible but without a test environment it is a bit difficult.
If you are willing to help us to troubleshoot the problem I am sure we can track the issue down.
It seems that there have been issues previously with wordpress database return values in HHVM.
If you do not already have them could you possibly add the following lines to your /etc/hhvm/server.ini.
hhvm.log.use_log_file = true
hhvm.log.file = /var/log/hhvm/error.log
hhvm.log.header = true
This should output any errors which you can post here.
thanks
Magus
I could give you a link to phpinfo if you want? Tried to copy paste it but it was too big for comment. Just send me an adress where i can send the link. If you want you can get access to server so you can see it yourself.Also i did check the logs. I didn’t see anything specific for page builder.
I made a screen recording of how to reproduce the error. It is a zip file so if you want i can send it to you.
Hi Senad
Would it be possible to upload to dropbox or a similar cloud service and link from there in a private reply.
Thanks
Magus
This is a private message.
Hi Senad
I am only seeing warning notices in the hhvm error log, could you please alter the logging level to include errors.
I looked at the site backend and although pagebuilder is running, I could not see it in the list of installed plugins. Could you please tell me what version of WordPress and PageBuilder you are running?
thanks
Magus
Isn’t warning level higher than error? I have put it to “error” now. If you want you can change the level in my “/etc/hhvm/server.ini file to set it to the value you want and then restart hhvm if it fits you. so go crazy :)
Version 2.1.2
latest wordpress version 4.2.2
You can check in the “phpinfo ” that the error log is set to
hhvm.log.level Error
Best Regards,
Senad
Hello Magus, Did you have did you have opportunity to check the server?
/Senad
This is a private message.
Good day! I’d just like to say that I too, am having issues with HHVM. And it is, 100% without a doubt, HHVM, no questions asked.
I can’t give you any of the above info, but I’m here for a fix, if ever there is one. I will never disable HHVM, as it is making an absolutely incredible speed-difference for my website. https://www.soyeg.club.
I hope to hear back soon, as I currently do not have a front page due to Page Builder not working, and “Static Front Page” just showing me a blank white page. :( So I am temporarily redirecting my front page to this month’s archives page…
I have exactly the same problem but found out more. Nginx server running with the following config:
–with-file-aio –with-ipv6 –with-http_ssl_module –with-http_spdy_module –with-http_realip_module –with-http_addition_module –with-http_xslt_module –with-http_image_filter_module –with-http_geoip_module –with-http_sub_module –with-http_dav_module –with-http_flv_module –with-http_mp4_module –with-http_gunzip_module –with-http_gzip_static_module –with-http_random_index_module –with-http_secure_link_module –with-http_degradation_module –with-http_stub_status_module –with-http_perl_module –with-mail –with-mail_ssl_module –with-pcre –with-google_perftools_module
and with nginx cache module and page speed as well breaks page builder either with PHP-FPM or HHVM (I have the first as a fallback for the second).
I need a solution :(
Looks to me like SiteOrigin needs to build some nginx test servers and get this stuff figured out. I haven’t tested nginx fastcgi caching like Daniel Diaz-Sanchez, but if that’s also broken that’s also a big problem.
More and more people are waking up and dropping Apache and PHP in favor of nginx and HHVM, including popular WordPress-specific hosting platforms like WPEngine.
I agree. For clarity, this is what I did:
-Original instance (OI) with NGINX and HHVM all plugins activated: fail
-OI with NGINX and HHVM all plugins disabled except Page Builder and Black Studio MCE: fail
-OI with NGINX and HHVM all plugins disable except Page Builder: fail
-Copied instance(CP) in VirtualBox (VB) with NGINX and HHVM all plugins activated: fail
-CP in VB with NGINX and HHVM all plugins disabled except Page Builder and Black Studio MCE: fail
-CP in VB with NGINX and HHVM all plugins disable except Page Builder: fail
-CP in VB with NGINX and HHVM all plugins DELETED except Page Builder: fail
-CP in VB with NGINX and HHVM wordpress reinstalled with Page Builder: fail
-Fresh Instance in VB with NGINX and HHVM wordpress installed from scratch with Page Builder: fail
-Fresh Instance in VB with NGINX and PHP-FHM wordpress installed from scratch with Page Builder: fail
No logs in either HHVM, PHP-FPM, NGINX or WORDPRESS (debug log). The error is: when pressing update it changes the view to the visual editor and removes the content that was edited with Page Builder.
Thanks
I have the same problem. I’m using EasyEngine: https://rtcamp.com/easyengine/
What is your easy engine configuration? It’s built on Ubuntu and nginx, but it can be setup to use different caching methods and php. I think they added hhvm support too?
The more specifics we have the been I think.
I’ll be setting up a HHVM environment over the weekend to check this out. Can’t guarantee I’ll be able to fix it, but I’ll definitely try :)
Greg, that are good news. Just giving a try is enough for me at the moment. I’m investigating the issue, but still no clue (no significant log entry).
It worked fine when I disable the HHVM
Hi Guys
Just some information for you. We have found that the issue was not apparent in version 2.0.7 which you can download and use from here
https://downloads.wordpress.org/plugin/siteorigin-panels.2.0.7.zip
We are nearly done narrowing down the cause and should hopefully have a working update soon.
Magus
Hi guys
We’ve found the issue and implemented a fix. We’re aiming to have a release out next week. If you’d like to try it out sooner you can check out the develop branch on github and see if that works for you. https://github.com/siteorigin/siteorigin-panels
Cheers
Braam
Braam, must I download the file above, or has this been implemented already? (Seeing as this is nearly 2 months old now, and I’d really like to turn on HHVM). Thanks.
Hey Jody
The fix was implemented in release 2.1.3, so you should just be able to update Page Builder to get it.