Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter JustIrinel

    (@justirinel)

    Thanks,

    I see that Instant Click is the problem here, i ran some test on all the functions.

    Can I found more about how I have enabled Instant Click and debug this problem so I can run it without problems?

    Thanks.

    Thread Starter JustIrinel

    (@justirinel)

    Hi there @hailite !

    I’ve added already /wp-admin
    /wp-admin/load-scripts.php
    /wp-includes/css/editor.min.css

    in Do not Cache URIs

    If I disable LS Cache plugin, I don’t have this problem. But when it’s on, I have this issue.

    Also, I’m using only CSS/JS Minify (No combine). In the live website, I don’t find any issues, just when loading my admin panel.

    Thanks.

    Forum: Fixing WordPress
    In reply to: Photo upload error
    Thread Starter JustIrinel

    (@justirinel)

    Tell me what I need to tell them because I need to translate please 🙂 , I need to ask if suhosin is active ?

    Forum: Fixing WordPress
    In reply to: Photo upload error
    Thread Starter JustIrinel

    (@justirinel)

    My hosting provider is one of best in my country, it offers shared packages with Cloudlinux to give a fixed amount of resources to each packages. What I need to ask them about suhosin ?

    Forum: Fixing WordPress
    In reply to: Photo upload error
    Thread Starter JustIrinel

    (@justirinel)

    What’s wrong with Suhosin @mayank ?

    My hosting package specs are :
    2GB RAM
    2Ghz CPU
    Max 30 Entry processes
    INODES 100000
    IOPS 1024
    Memory_limit 128MB
    Max execution time 30s
    Disabled functions

    symlink, apache_child_terminate, apache_setenv, define_syslog_variables, es-
    capeshellarg, escapeshellcmd, eval, exec, fp, fput, ftp_connect, ftp_exec, ftp_get,
    ftp_login, ftp_nb_fput, ftp_put, ftp_raw, ftp_rawlist, highlight_file, ini_alter, ini_
    get_all, ini_restore, inject_code, mysql_pconnect, openlog, passthru, phpAds_re-
    moteInfo, phpAds_XmlRpc, phpAds_xmlrpcDecode, phpAds_xmlrpcEncode,
    popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid,
    posix_setuid, posix_setuid, posix_uname, proc_close, proc_get_status, proc_
    nice, proc_open, proc_terminate, syslog, xmlrpc_entity_decode

    My hosting provider link: https://www.xservers.ro/

    Forum: Fixing WordPress
    In reply to: Photo upload error
    Thread Starter JustIrinel

    (@justirinel)

    @mayank

    1. Shared
    2. 5.4
    3. Yes… no change
    4. Yes
    5. I changed hosting from other provider. I moved wordpress to another provider.
    6. I dont know.

    My host telled me that they didnt find any log to investigate the problem.

    Forum: Fixing WordPress
    In reply to: Photo upload error
    Thread Starter JustIrinel

    (@justirinel)

    Hmm @mayank but how is explained the fact that if I make a re-install using Update section, I can upload again for a limited time? That’s strange.

    Forum: Fixing WordPress
    In reply to: Photo upload error
    Thread Starter JustIrinel

    (@justirinel)

    Somebody please?

    Thread Starter JustIrinel

    (@justirinel)

    The theme is named Ghost and can be find on themeforest.

    I attach here loop.php and single.php

    loop.php

    <?php
    global $more, $blogparams, $paged, $pageTitle, $pageTitleFull;
    $dataformat ='dMY';
    $metaformat = 'posted, category, comments, tag';
    
    $sidebarPos = opt('sidebardefault', '');
    ?>
    	<div class="<?php echo ($sidebarPos!='None')?'content-with-sidebar':'content-full-width'; ?>" <?php
    		if($sidebarPos!='None'){
    			if($sidebarPos=='Left') echo 'style="float:right"';
    			else if($sidebarPos=='Right') echo 'style="float:left"';
    		}
    		?>>
    
    	<div id="left-col" class="<?php echo ($sidebarPos!='None')?'left-col-with-sidebar':'page-content'; ?>">
    <?php
    	while(have_posts())
    	{
    		the_post();
    		$blogformat = strtolower( get_post_format(get_the_ID()) );
    		if($blogformat == 'standart' || $blogformat == '') 	$blogformat = 'standart';
    
    		$blogClass = '';
    		$blogClassArr = get_post_class(array('blogitem'), get_the_ID());
    		foreach($blogClassArr as $blogClassArrItem)
    			$blogClass.=$blogClassArrItem.' ';
    		$re .= '<article id="post-'.get_the_ID().'" class="'.$blogClass.'">'; // // Begin blog item wrapper
    
    		$re .= '<div class="blogcontent" >'; // Begin blog content
    		$re .= '<div class="blogdatemeta">'; // Begin blog meta
    		$re .= get_blog_meta(get_the_ID(), $metaformat);
    		$re .= '<div class="clearfix"></div>';
    		$re .= '</div>'; // End Blog Meta
    		$re .= '<div class="clearfix"></div>';
    		$re .= '</div>'; // End Blog Content
    
    		if($blogformat!='aside'){
    			$re .= '<div class="blogimage">'; // Begin Blog Image
    			$re .= get_blog_media(get_the_ID(), 'list');
    			$re .= '</div>'; //End Blog Image
    		}
    
    		$re .= '<div class="blogtext '.(($blogformat=='aside')?'blogtextlong':'').'" >'; // Begin Blog Text
    		$more=1;
    		$re.= '<p>'.substr(strip_tags(preg_replace('|[[\/\!]*?[^\[\]]*?]|si', '', get_the_content())), 0, 600).'...'.'</p>';
    		$re .= '</div>'; //End Blog Text
    
    		$re .= '<hr class="seperator" style="margin-top:80px" />
    		<div class="clearfix"></div>
    		</article>'; // End Blog Item
    	}
    
    	if(function_exists('wp_pagenavi'))
    	$re .= wp_pagenavi( array('options' => array('return_string' => true) ));
    	$re.='
    	<div class="divider" style="height:10px"></div>
    	<div class="clearfix"></div>';
    	echo $re;
    ?>
    		</div>
    	</div>
    <?php if($sidebarPos!='None') get_sidebar(); ?>
    <div class="clearfix"></div>

    single.php

    <?php
    get_header();
    if(have_posts())
    {
    	if(have_posts())
    	{
    		the_post();
    		$postID	= get_the_ID();
    		$content = get_the_content();
            $content = apply_filters('the_content', $content);
    		$title = get_the_title();
    		$imgW = $imageW = 570;
    		$imgH = $imageH = 0;
    	}
    }
    
    $useInDetail = get_post_meta($postID, "useInDetail", true);
    $sidebarDefault = opt('sidebarsingledefault', '');
    $sidebarPos = get_post_meta($postID, "sidebarPos", true);
    if($sidebarPos=='' || $sidebarPos=='Default') $sidebarPos = $sidebarDefault;
    
    ?>
    <h1 class="caption"><?php the_title(); ?></h1>
    
    <!-- BEGIN: single -->
    <div class="<?php echo ($sidebarPos!='None')?'content-with-sidebar':'content-full-width'; ?>" <?php
    		if($sidebarPos!='None'){
    			if($sidebarPos=='Left') echo 'style="float:right"';
    			else if($sidebarPos=='Right') echo 'style="float:left"';
    		}
    		?>>
    	<div id="left-col" class="<?php echo ($sidebarPos!='None')?'left-col-with-sidebar':'page-content'; ?>">
    	<div class="divider"></div>
    		<?php
    		$mediaDetail = get_blog_media(get_the_ID(), 'detail');
    		if($useInDetail=='use' && !empty($mediaDetail)){ echo $mediaDetail; }else{ ?>
    
    		<?php } ?>
    		<div class="sh_1of4" >
    			<?php
    			$blogformat = strtolower( get_post_format($postID) );
    			if($blogformat == 'standart' || $blogformat == '') 	$blogformat = 'standart';
    
    			$blogmeta = '';
    			$blogmeta .= '<div class="blogcontent" style="'. (($blogformat!='aside')?' margin-top:16px; ':' margin-top:0px; '). ' margin-bottom:15px;">'; // Begin blog content
    			$blogmeta .= '<div class="blogdatemeta">'; // Begin blog meta
    			$blogmeta .= get_blog_meta($postID, 'posted, category, tag, comments','detail');
    			$blogmeta .= '<div class="clearfix"></div>';
    			$blogmeta .= '</div>'; // End Blog Meta
    			$blogmeta .= '<div class="clearfix"></div>';
    			$blogmeta .= '</div>'; // End Blog Content
    			echo $blogmeta;
    			?>
    		</div>
    		<div class="<?php echo ($sidebarPos!='None')?'sh_2of4':'sh_3of4';?> column_end">
    
    			<p><?php the_content(''); ?></p>
    
    			<div class="clearfix"></div>
    			<div class="sh_divider"></div>
    			<?php comments_template( '', true ); ?>
    		</div>
    	</div> <!-- end of left-col -->
    </div>
    <!-- END: single -->
    <?php if($sidebarPos!='None') get_sidebar(); ?>
    <div class="clearfix"></div>
    
    <?php
    get_footer();
    ?>
Viewing 9 replies - 1 through 9 (of 9 total)