Skip Navigation

[Resolved] Singleposts throws a 504 Gateway Timeout

This support ticket is created 6 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 6 replies, has 2 voices.

Last updated by Shane 6 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#1140237

Hi Toolset team,

im sorry but the Problem in the last ticket is NOT resolved. Shane gave me an shortcode for the functions.php that i should use to show the exerptfield in frontend. But in the normal Version of the Site i did not have to put something in the exerptfield to show an exerpt in the frontend, you can check this in another testinstance of the same site: hidden link. The shortcode in the blogroll-view is this:

<div class="press-text">
                <div class="press-date"><em>[wpv-post-date]</em></div>
                <h2>[wpv-post-link]</h2>
                 
                [wpv-post-excerpt length="30" count="word" more=" - ..."]
                <a class="text-button" href="[wpv-post-url]">[wpml-string context="wpv-blogroll"]more[/wpml-string]&nbsp;</a>
               
              
               
            </div>

and the exerpt IS shown (even if there is nothing in the exerptfield!) and it works well in singleposts AND in the blogroll view. But the Problem is in the Livesite and in the new testinstance (hidden link) that we setup to find the error this same shortcode throws a 504 in the blogroll AND in the singleposts, when i activate WPML AND Toolset at the same time. When i activate just WPML OR Toolset it works fine?

#1140462

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Steffen,

Is it possible to provide a copy of this site so that I can test here locally?

To do this please follow the instructions in the link below.
https://toolset.com/faq/provide-supporters-copy-site/

Thanks,
Shane

#1140463

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

private fields.

#1141539

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

HI Steffen,

Thank you.

Will let you know the results of my testing.

Thanks,
Shane

#1142516

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Steffen,

Could you let me know which view controls the display for this page?
hidden link

Thanks,
Shane

#1142922

Hi Shane,

the view for hidden link is this:

[wpv-layout-start]
	[wpv-items-found]
	<div class="press-loops-holder">
	<!-- wpv-loop-start -->
	<wpv-loop>
      	<div class="press-loop-item">

          	<div class="press-feature blog">    
              <a href="[wpv-post-url]" target="_blank">
                [wpv-post-featured-image size='custom' width='200' height='200' crop='true' crop_horizontal='right' crop_vertical='bottom']
              </a> 
            </div>

			<div class="press-text">
              <div class="press-date"><em>[wpv-post-date]</em></div>
              <h2>[wpv-post-link]</h2>
          
              <p>[wpv-post-excerpt length="200" count="char" more=" [...]"]</p>
              
             
              <a class="text-button" href="[wpv-post-url]">[wpml-string context="wpv-blogroll"]more[/wpml-string]&nbsp;</a>
             
          	</div>
		  
		[wpv-conditional if="( $(wpcf-pdf-upload-download) ne '' )"]
          <div class="press-download">
              <a href="[types field='pdf-upload-download']" target="_blank">
                <img class="download-btn" src="<em><u>hidden link</u></em>">
              </a>
            </div>
		[/wpv-conditional]
          </div>
	</wpv-loop>
    </div>
	<!-- wpv-loop-end -->
	[/wpv-items-found]
	[wpv-no-items-found]
	<div class="press-loops-holder">
      	<div class="press-loop-item">
			<strong>[wpml-string context="wpv-views"]No items found[/wpml-string]</strong>
    	</div>
	</div>
	[/wpv-no-items-found]
[wpv-layout-end]

[wpv-pagination]
<div class="clearboth"></div>  
[wpv-pager-prev-page force="false"]&nbsp;[wpml-string context="wpv-blogroll"]next[/wpml-string][/wpv-pager-prev-page]
[wpv-pager-next-page force="false"][wpml-string context="wpv-blogroll"]previous[/wpml-string]&nbsp;[/wpv-pager-next-page]
[/wpv-pagination]

the view for hidden link is this:

[wpv-layout-start]
	[wpv-items-found]
	<div class="press-loops-holder">
	<!-- wpv-loop-start -->
	<wpv-loop>
      	<div class="press-loop-item">

          	<div class="press-feature blog">    
              <a href="[wpv-post-url]" target="_blank">
                [wpv-post-featured-image size='custom' width='200' height='200' crop='true' crop_horizontal='right' crop_vertical='bottom']
              </a> 
            </div>

			<div class="press-text">
              <div class="press-date"><em>[wpv-post-date]</em></div>
              <h2>[wpv-post-link]</h2>
          
              <p>[wpv-post-excerpt length="200" count="char" more=" [...]"]</p>
              
             
              <a class="text-button" href="[wpv-post-url]">[wpml-string context="wpv-blogroll"]more[/wpml-string]&nbsp;</a>
             
          	</div>
		  
		[wpv-conditional if="( $(wpcf-pdf-upload-download) ne '' )"]
          <div class="press-download">
              <a href="[types field='pdf-upload-download']" target="_blank">
                <img class="download-btn" src="<em><u>hidden link</u></em>">
              </a>
            </div>
		[/wpv-conditional]
          </div>
	</wpv-loop>
    </div>
	<!-- wpv-loop-end -->
	[/wpv-items-found]
	[wpv-no-items-found]
	<div class="press-loops-holder">
      	<div class="press-loop-item">
			<strong>[wpml-string context="wpv-views"]No items found[/wpml-string]</strong>
    	</div>
	</div>
	[/wpv-no-items-found]
[wpv-layout-end]

[wpv-pagination]
<div class="clearboth"></div>  
[wpv-pager-prev-page force="false"]&nbsp;[wpml-string context="wpv-blogroll"]next[/wpml-string][/wpv-pager-prev-page]
[wpv-pager-next-page force="false"][wpml-string context="wpv-blogroll"]previous[/wpml-string]&nbsp;[/wpv-pager-next-page]
[/wpv-pagination]

They are exactly the same, but hidden link and all single on blogposts on sen-web-021.seitenskizze.de are throwing 504 errors.

#1143076

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Steffen,

So the final diagnosis here is that it is definitely a server issue as i'm not able to replicate the issue on your test site nor the copy of the site that I have.

Could you perhaps check the php logs to see if anything in there can provide some details on why this is happening ?

Thanks,
Shane