Unyson icon indicating copy to clipboard operation
Unyson copied to clipboard

After installing the demo content, the site doesn't show anything at all

Open khangdoan03121993 opened this issue 10 years ago • 16 comments

Hi, I just installed all the required plugins and extensions. Then installed the demo content too but the site shows nothing. Here is the link to the site: http://jobsatsight.com/predictera/ and here is the demo site: http://planup.haintheme.com/

Can you please check and let me know what's wrong.

khangdoan03121993 avatar Nov 23 '16 04:11 khangdoan03121993

Did you enable wp_debug and what is the error?

dylan-ngo11 avatar Nov 23 '16 04:11 dylan-ngo11

As I checked debug.log file, they announced that: PHP Notice: Undefined index: site_url in /home/jobsatsight/public_html/predict/wp-content/plugins/unyson/framework/extensions/shortcodes/shortcodes/testimonials/views/view.php on line 53

khangdoan03121993 avatar Nov 23 '16 04:11 khangdoan03121993

1479894447159

Page html is not fully generated (there should be a fatal error in template).

  1. Please enable a default WP theme and check if it works.
  2. If it doesn't work with a default WP theme, send me your admin and ftp details and I will debug the plugin code.
  3. If it works with a default WP theme, then the problem is in your theme (debug it).

ghost avatar Nov 23 '16 09:11 ghost

Hi, I checked on the default theme, I got the same problem. How do I send your FTP and admin?

khangdoan03121993 avatar Nov 23 '16 10:11 khangdoan03121993

moldcraft[at]email.com

ghost avatar Nov 23 '16 11:11 ghost

Only Homepage doesn't work, other pages are working

  • http://jobsatsight.com/predictera/register-form/
  • http://jobsatsight.com/predictera/ht_speakers/

I see that PageBuilder for Homepage contains a lot of elements. Maybe the hosting doesn't have enough memory to process the builder elements? How much RAM the current hosting plan has?

I enabled WP_DEBUG and WP_DEBUG_LOG but nothing shows up.

ghost avatar Nov 23 '16 12:11 ghost

Also when do Update post for Homepage I get 500 Internal Error.

ghost avatar Nov 23 '16 12:11 ghost

The memory of RAM is 512

khangdoan03121993 avatar Nov 24 '16 08:11 khangdoan03121993

@khangdoan03121993 Can you try to create a page front scratch and keep adding and saving build elements until you will reproduce the problem? I think that the problem can be in an inefficient shortcode but I don't know a fast solution to detect that.

ghost avatar Nov 24 '16 09:11 ghost

hello! we could not find what's exactly the problem come from but here is the error from error.log in /home/jobsatsight/public_html/predictera/wp-content/plugins/unyson/framework/helpers/class-fw-file-cache.php on line 277

dylan-ngo11 avatar Nov 26 '16 06:11 dylan-ngo11

@moldcraft any news on this, I activated the default theme and this error happen when I added some shortcodes to page builder. and the error.log only showed the errors above. Should we send you the cpanel?

dylan-ngo11 avatar Nov 28 '16 08:11 dylan-ngo11

@duongancol Yes, please send all the credentials again (I deleted the previous email).

ghost avatar Nov 28 '16 15:11 ghost

Do you have any update?

khangdoan03121993 avatar Nov 30 '16 08:11 khangdoan03121993

@khangdoan03121993 No, sorry. I am inspecting it now

ghost avatar Nov 30 '16 13:11 ghost

  1. The [shortcodes] string is successfully generated here

  2. I saved the resulting string in wp-content/plugins/unyson/text.txt

  3. I added in wp-content/plugins/unyson/unyson.php

    add_action('wp_head', '_test');
    function _test() {
    	fw_print('begin');
    	$shortcodes = file_get_contents(dirname(__FILE__) .'/test.txt');
    	fw_print($shortcodes);
    	fw_print(do_shortcode($shortcodes));
    	fw_print('end');
    }
    

    and it fails

    screenshot from 2016-11-30 16-22-36


Inspecting...

ghost avatar Nov 30 '16 14:11 ghost

  1. ini_get('memory_limit') is 64M

  2. I added here

    wp_ob_end_flush_all();
    fw_print($this->tag, (memory_get_usage(true) / 1024 / 1024) .' MiB');
    

    and it fails because of memory limit

    screenshot from 2016-11-30 16-38-12

ghost avatar Nov 30 '16 14:11 ghost