Home>Support>Plugin fails to save any content when publishing

Plugin fails to save any content when publishing

By Peter Downey, 9 years ago. Last reply by Braam Genis, 9 years ago.

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.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 4 months ago Magus
    Hi, I Work Here

    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

  2. 9 years, 3 months ago Peter Downey

    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.

  3. 9 years, 3 months ago Magus
    Hi, I Work Here

    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

  4. 9 years, 3 months ago Senad Pašalić

    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?

    • 9 years, 3 months ago Magus
      Hi, I Work Here

      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

  5. 9 years, 3 months ago Peter Downey

    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

  6. 9 years, 3 months ago Magus
    Hi, I Work Here

    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

  7. 9 years, 3 months ago Senad Pašalić
    max_execution_time = 30
    max_input_time = 60
    memory_limit = 256M
    post_max_size = 12M
    upload_max_filesize = 12M
    
    hhvm.jit = true
    hhvm.jit_a_size = 201326592
    hhvm.jit_global_data_size = 201326592
    hhvm.jit_acold_size = 201326592
    hhvm.jit_afrozen_size = 201326592
    hhvm.jit_a_stubs_size = 201326592
    

    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.

  8. 9 years, 3 months ago Senad Pašalić

    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.

    • 9 years, 3 months ago Magus
      Hi, I Work Here

      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

  9. 9 years, 3 months ago Private Message - Senad Pašalić

    This is a private message.

    • 9 years, 3 months ago Magus
      Hi, I Work Here

      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

  10. 9 years, 3 months ago Senad Pašalić

    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

  11. 9 years, 3 months ago Senad Pašalić

    Hello Magus, Did you have did you have opportunity to check the server?
    /Senad

  12. 9 years, 3 months ago Private Message - Senad Pašalić

    This is a private message.

  13. 9 years, 3 months ago Jody Mitoma

    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…

  14. 9 years, 3 months ago Daniel Díaz-Sanchez

    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 :(

  15. 9 years, 3 months ago Peter Downey

    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.

  16. 9 years, 3 months ago Daniel Díaz-Sanchez

    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

  17. 9 years, 3 months ago Jefferson Matos

    I have the same problem. I’m using EasyEngine: https://rtcamp.com/easyengine/

  18. 9 years, 3 months ago Peter Downey

    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.

  19. 9 years, 3 months ago Greg Priday
    Hi, I Work Here

    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 :)

  20. 9 years, 3 months ago Daniel Díaz-Sanchez

    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).

  21. 9 years, 2 months ago Jefferson Matos

    It worked fine when I disable the HHVM

  22. 9 years, 2 months ago Magus
    Hi, I Work Here

    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

  23. 9 years, 2 months ago Braam Genis
    Hi, I Work Here

    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

  24. 9 years, 27 days ago Jody Mitoma

    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.

  25. 9 years, 27 days ago Braam Genis
    Hi, I Work Here

    Hey Jody

    The fix was implemented in release 2.1.3, so you should just be able to update Page Builder to get it.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More