Er_Maqui
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Calls to Action] CTA Admin CSSOk, thanks!
Forum: Plugins
In reply to: [Diamond MultiSite Widgets] Error reading databaseThe query appears to be valid, but, i can’t understand why they are showing the \t on the debug.
If you see at lines 147, 170, this tab are hardcoded at the query.
I cannot understand why wordpress are registering this error, they show them also without the tab, but i think who when i’ve deleted the tab the error appears on less cases. The complete line are:
[Mon Jun 30 18:35:31 2014] [error] [client *] Error de la base de datos de WordPress para la consulta SELECT blog_id, registered, last_updated from wp_blogs where public = 1 AND spam = 0 AND archived = ‘0’ AND deleted = 0 AND blog_id NOT IN (10) ORDER BY path asc realizada por require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/weaver-ii-pro/tag.php’), weaverii_get_footer, get_footer, locate_template, load_template, require_once(‘/themes/weaver-ii-pro/footer.php’), get_sidebar, locate_template, load_template, require_once(‘/themes/weaver-ii-pro/sidebar-footer.php’), dynamic_sidebar, call_user_func_array, DiamondBL->widget_endView, DiamondBL->render_output
I’ve searched the text and they only are at the file diamond-multisite-widgets/diamond-bloglist.php.
Also these file needs a great cleanup, they have a lot of unused spaces (Read the file with linux nano for example).I also have another error, but i doesn’t know what plugin produces them. They are: [Mon Jun 30 18:37:41 2014] [error] [client *] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace., referer:
The two errors appears on https://www.tabletpractico.com/ or https://www.iphonepractico.com/, for example.
Thanks,Forum: Plugins
In reply to: [Slideshow Gallery LITE] Gallery doesn't appearsIt’s a problem with “The Templateer” plugin of Artisteer application.
Templates from Artisteer exported as wordpress works OK with the plugin, but exported with The Templateer doesn’t work (They throw an error with jquery).
Forum: Plugins
In reply to: [Signature Watermark] Watermark Preview not workingI have the same error. At log, i can read:
[Fri Mar 21 15:41:39 2014] [error] [client *.*.*.*] PHP Fatal error: Call to undefined function wp_get_current_user() in /www/blogs/wp-includes/capabilities.php on line 1342, referer: https://www.myblog.com/wp-admin/options-general.php?page=signature-watermark-settings&tab=watermark_preview
In my case, I’m showing description. Because this, this solution it’s working.
But, also, this can be a good idea. The plugin have a “show thumb” option, the mantainer can change the code to show thumb always they’re selected and available, not only when show description (long text).
A bit of workaround this:
On my case, i have Super RSS Reader reading feed from another wordpress installs. They send a link to image on enclosure item thanks to another plugin called “Insert RSS Thumbnails”. The problem are, who they doesn’t send “Thumbnail” tag, instead send directly the “link” tag on Enclosure.
The info received on the Super RSS Reader (Thanks to var_dump($enclosure), but I’ve deleted the NULL values except one for better legibility):
NULL object(SimplePie_Enclosure)#5644 (27) { ["length"]=> float(2854) ["link"]=> string(58) "https://semosfrikis.blogs.enelia.com/files/2013/12/logo.png" ["restrictions"]=> array(1) { [0]=> object(SimplePie_Restriction)#5647 (3) { ["relationship"]=> string(5) "allow" ["type"]=> NULL ["value"]=> string(7) "default" } } ["thumbnails"]=> NULL ["type"]=> string(10) "image/jpeg" }
A little solution, but very effective:
Find:
$thumb = ''; if ($show_thumb == 1 && $enclosure = $item->get_enclosure()){ $thumburl = $enclosure->get_thumbnail(); if(!empty($thumburl)) $thumb = '<img src="' . $thumburl . '" alt="' . $title . '" class="srr-thumb" align="left"/>'; }
Change with:
// Get thumbnail if present @since v2.2 $thumb = ''; if ($show_thumb == 1 && $enclosure = $item->get_enclosure()){ $thumburl = $enclosure->get_thumbnail(); if(empty($thumburl)) $thumburl = $enclosure->get_link(); if(!empty($thumburl)) $thumb = '<img src="' . $thumburl . '" alt="' . $title . '" class="srr-thumb" align="left"/>'; }
The only change are this line:
if(empty($thumburl)) $thumburl = $enclosure->get_link();
I think, some of this changes can be a good change for the plugin mainstream. Not neccesary my change.
Forum: Plugins
In reply to: [Subscribe To Comments Reloaded] Set "Checked by default" to R – not YThis can’t be a plugin option?
Forum: Plugins
In reply to: [Post Views Count (Support caching plugins!)] Does it count bots?I think the plugin counts every hit… because for example in my case when i send a new post, they gives automatically about 5 visits (in no time).
Forum: Plugins
In reply to: [P3 (Plugin Performance Profiler)] Loading time problemWell,
On help, i can see this message:
P3 has not detected any opcode optimizers on your site. Although none were detected, an opcode optimizer may still be present. Contact your server administrator with any questions.
I’m the system administrator, there isn’t any plugin on apache for cache.
Also, about the load time, the problem are the detailed on the first post. There’s a WP Network, and this blog are the only one who loads slowly.
I can understand this isn’t a plugin problem or plugin related. My question are a help request to some users with more knows about wordpress and load time optimization.
Forum: Plugins
In reply to: [P3 (Plugin Performance Profiler)] Loading time problemWell,
There’s the results:
Total Load Time: 5.2262seconds avg. Site Load Time 3.8960seconds avg. Profile Overhead: 1.3303seconds avg. Plugin Load Time: 0.0467seconds avg. Theme Load Time: 0.1153seconds avg. Core Load Time: 3.7043seconds avg. Margin of Error: 0.0297seconds avg. (5.2262 observed, 5.1965 expected) Visits: 2 Number of PHP ticks: 1,108 calls avg. Memory Usage: 46.75 MB avg. MySQL Queries: 236 queries avg.
The system shows two visits, but i’ve visited multiple pages (Index, search, page, post, archive, writer, etc).
Also, the times aren’t too different to the admin ones (-100 querys and -1 second avg).
As a hint, this blog are part of a WPMS network. There’s the scan (as admin) on another blog of the network:
Total Load Time: 0.9492seconds avg. Site Load Time 0.5665seconds avg. Profile Overhead: 0.3826seconds avg. Plugin Load Time: 0.3568seconds avg. Theme Load Time: 0.0106seconds avg. Core Load Time: 0.2323seconds avg. Margin of Error: -0.0333seconds avg. (0.9492 observed, 0.9824 expected) Visits: 34 Number of PHP ticks: 2,778 calls avg. Memory Usage: 32.88 MB avg. MySQL Queries: 137 queries avg.
The problem are on the first blog. This one doesn’t have any special plugin (all of the used plugins are in use on another blogs). The unique difference on this blog are who their database has been imported from a WordPress.com blog in first case (The other blogs of the network have a fresh database not imported, and works OK).
Forum: Plugins
In reply to: [Diamond MultiSite Widgets] Duplicate post on cross-postingNow the problem doesn’t appears with the latest WP 3.5.1
Forum: Networking WordPress
In reply to: WordPress MU load index.php page for single post.I think this issue is resolved / closed.
Forum: Networking WordPress
In reply to: WordPress MU load index.php page for single post.Well, i’ve find the problem. It’s a network-wide plugin, Google authorship for multiple authors. When i activated them, the single.php page debug messages dissapears.
Forum: Networking WordPress
In reply to: WordPress MU load index.php page for single post.I’ve modified the single.php with our file but i can’t find the comment “This is for testing”. I can’t find the word “testing” at all.
I’m configuring a brand-new network for testing, because on the actual network i have some network-wide plugins who i can’t deactivate.
Forum: Networking WordPress
In reply to: WordPress MU load index.php page for single post.I’ve edited the theme, and on the file single.php, on the line ‘<div id=”content” role=”main”>’ i’ve wrote “The Single” text at the end.
When i load a post, i can’t see this text or find it on the source. I think really i’m viewing index.php page.
The address are https://blogs.enelia.com/.