Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
blukid
tagDiv Member

Thanks for your response… it now appears normal (58 days).

blukid
tagDiv Member

For others experiencing the same issue… drafts not previewing correctly.

This is a documented issue in the latest theme version.
Although drafts may not display correctly in preview they will appear normally when published.
A workaround is to publish posts privately for review until they ready to be published publicly.

blukid
tagDiv Member

Thanks for your response… I understand the ‘workaround’ and will wait for the next Theme update.

blukid
tagDiv Member

WP Credentials provided via email to contact@tagdiv.com.

Thank You!

blukid
tagDiv Member

Everything is up to date:
Newspaper 10.2
WordPress 5.3

blukid
tagDiv Member

It looks like you provided the .php files which control the display of both the ‘search results’ and ‘search box’ on a page.

Can you confirm which .php file(s) control the general output of the query so that I can limit the search?

searchform.php

Thanks.

blukid
tagDiv Member

Can you confirm that the following file generates the theme search results:

searchform.php

Thanks.

blukid
tagDiv Member

Calin,

Thanks for taking the time to review my request and provide some helpful links.
I appreciate it.

blukid
tagDiv Member

Calin,

Thanks for pointing that out.

Could I modify the searchform.php file to include only Posts or specific Post Categories?
Perhaps by adding the following ‘hidden’ input to the file?

Something like these:
– <input type=”hidden” name=”post_type” value=”post” /> –
– <input type=”hidden” name=”cat” id=”cat” value=”2,28,29,30,31,32,33,38″ /> –

This is the current searchform.php with the new line included:

<form method=”get” class=”td-search-form-widget” action=”<?php echo esc_url(home_url( ‘/’ )); ?>”>
<div role=”search”>
<input class=”td-widget-search-input” type=”text” value=”<?php echo get_search_query(); ?>” name=”s” id=”s” />
<input type=”hidden” name=”post_type” value=”post” />
<input class=”wpb_button wpb_btn-inverse btn” type=”submit” id=”searchsubmit” value=”<?php esc_html_e(‘Search’, ‘newspaper’)?>” />
</div>
</form>

  • This reply was modified 7 years by blukid.
blukid
tagDiv Member

Thanks for your response.

If you click on the ‘magnifying glass’ icon in the top right corner of the website (cubanartnews.org) and search for ‘painter’ you’ll see that the first 4 results are external links.

As you know this is not the expected default behavior of the standard WP search.
I’d like to ensure that the basic search functionality returns only results/posts from within my domain (cubanartnews.org).

Is a modification required to the searchform.php file?

Here are the search results:

– Feature: Cuban painter creates works with deep roots in China
https://bit.ly/2Qea201

– FACTION Art Projects announce New York solo show of Cuban painter Armando Mariño
https://bit.ly/2EIKkgh

– Naif Painters of Santiago de Cuba for Environmental Care
https://bit.ly/2wfylBr

– Swann Sets Record for Cuban-American Painter Emilio Cruz
http://www.artfixdaily.com/artwire/release/1219-swann-sets-record-for-cuban-american-painter-emilio-cruz

blukid
tagDiv Member

Did you take a quick look at my site and test the search functionality?
It’s the standard Newspaper Theme with no custom code.
I have not added any additional plugins to my site since it launched… at that time the search functionality was working correctly.
Deactivated/reactivated Plugins, Flushed Cache from SuperCacher (server based, not plugin) but site search is still returning external links…
Any additional assistance would be appreciated.
Any code to force search to my domain only… although that should be the default functionality.

Current Plugins:

– Calendarize it! for WordPress
– Classic Editor
– Contact Form 7 (Tested)
– Envato Market
– tagDiv Cloud Library (OK)
– tagDiv Composer (OK)
– tagDiv Social Counter (OK)
– Thrive Leads
– WPML Multilingual CMS
– WPML String Translation
– WPML Translation Management

Thanks.

blukid
tagDiv Member

Correcting broken theme functionality should be a priority not an ‘improvement’ as you’ve mentioned. This is something that tagDiv caused and it should be fixed quickly. This creates a major issue on hundreds of pages + thousands of images on my site.
It doesn’t seem like support is taking this issue seriously.

blukid
tagDiv Member

I want to be sure I understand the situation:

– tagDIV has acknowledged that the last updated broke functionality of the General Modal option
– there is no current fix for this (disabling General Modal is NOT a fix)
– activating the modal option on a per image basis (within each post) is not a real option for sites with thousands of images
– there is no timeline for correcting the issue or any indication that you’re working to resolve the issue

Please confirm.

Thanks.

blukid
tagDiv Member

Any update on the General Modal fix?
An update would be appreciated.
Thanks.

blukid
tagDiv Member

Thanks for your response.
As I mentioned I did disable the general modal option which doesn’t correct anything.
Images open in the same window/tab with the general modal disabled.
Activating the modal option on a per image basis is not a real option for sites with thousands of images.

Thanks.

blukid
tagDiv Member

I’ve now corrected the latest post by turning off the Global Modal Image setting and individually activated ‘modal’ on each post image.

Will there be a fix for this as I have hundreds of older posts with the same issue.

Thanks.

blukid
tagDiv Member

Also, you failed to address the WordPress database error Lost connection to MySQL message from the debug log which I included in my previous note. Any thoughts on this?

This is from the debug.log

[08-Jan-2019 18:03:51 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT post_id FROM wo_postmeta WHERE meta_key = ‘_wp_attached_file’ AND meta_value = ‘2018/03/can_logo_orig_400x148_reg.png’ made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/Newspaper/single_template_6.php’), get_header, locate_template, load_template, require_once(‘/themes/Newspaper/header.php’), td_api_header_style::_helper_show_header, load_template, require_once(‘/themes/Newspaper/parts/header/header-style-9.php’), locate_template, load_template, require_once(‘/themes/Newspaper/parts/header/logo-text.php’), attachment_url_to_postid

blukid
tagDiv Member

Thanks for your response.
After reading through a number of the threads is appears that it’s not a valid error or anything to be concerned about based upon a comment from Bogdan B. on the following thread from 2016. Is that still the case?

https://forum.tagdiv.com/topic/fatal-error-due-to-newspaper-theme/

Bogdan B.

“But as a note…this is useless as the error is a false positive of sort. It will not affect anything except give you this information. Do this only if it bugs you. The theme has a custom header that is not grabbed from WP and the crawlers do not detect it as an existing function in the WP code. It’s not really a valid error. If something is not as the crawler likes it to be, it does not mean it’s not OK. A standard user will not have acess to this link at any time except if he manually types it in.”

blukid
tagDiv Member

WPML Support corrected a missing table in the database but the site is still slow.

I’m seeing the following items repeating in the wp-content/error_log:

[08-Jan-2019 13:30:22 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /home/px0yzkwouz6p/public_html/wp-content/themes/Newspaper/index.php:6
Stack trace:
#0 {main}
thrown in /home/px0yzkwouz6p/public_html/wp-content/themes/Newspaper/index.php on line 6

This is from the debug.log

[08-Jan-2019 18:03:51 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT post_id FROM wo_postmeta WHERE meta_key = ‘_wp_attached_file’ AND meta_value = ‘2018/03/can_logo_orig_400x148_reg.png’ made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/Newspaper/single_template_6.php’), get_header, locate_template, load_template, require_once(‘/themes/Newspaper/header.php’), td_api_header_style::_helper_show_header, load_template, require_once(‘/themes/Newspaper/parts/header/header-style-9.php’), locate_template, load_template, require_once(‘/themes/Newspaper/parts/header/logo-text.php’), attachment_url_to_postid

blukid
tagDiv Member

Thank you for your reply. Once I can confirm that the database issue is resolved with my hosting company I will provide login info. I was able to update the theme to the latest version which did not resolve the problem. The Theme, along with WPML and all other plugins are working… but the dashboard and site are loading slowly.

blukid
tagDiv Member

I updated to 9.2.1 and still have the same issue. Can you provide instructions for re-installing the theme while maintaining the current settings? Should I just switch to a basic theme (in dashboard), delete Newspaper Theme and then install the latest version and switch to it? Will all data and layout remain in place?

Thanks.

blukid
tagDiv Member

As I mentioned in my initial post I’m well aware of the fact that my site has been down or very slow loading…

I noticed that you visited the wrong website as well. It’s cubanartnews.org NOT cubanarts.xyz which was a temp deve site.

I just want to confirm that you believe the errors I posted are due to a damaged database and are not theme related. In that case would restoring the WP Site and Database files to an earlier version, before the errors appeared, correct the situation?

Thanks.

  • This reply was modified 7 years by blukid.
blukid
tagDiv Member

It may be something that my hosting provider adds to any/all WP installations.
Is it something that would have any impact on your theme?
Thank You!

blukid
tagDiv Member

Where exactly should I try adding the following lines to my .htaccess file to try and fix the white screen appearing when trying to use TagDiv Composer?

<IfModule mod_substitute.c>
SubstituteMaxLineLength 10M
</IfModule>

My .htaccess file looks like this:

# BEGIN GD-SSL
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_USER_AGENT} ^(.+)$
RewriteCond %{SERVER_NAME} ^cubanarts\.xyz$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
Header add Strict-Transport-Security “max-age=300”
</IfModule>
# END GD-SSL

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase //
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . //index.php [L]
</IfModule>

# END WordPress
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase //
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . //index.php [L]
</IfModule>
# END WordPress

blukid
tagDiv Member

Thanks for letting me know it’s not an issue on my end.

Viewing 25 posts - 1 through 25 (of 30 total)