WordPress: plugins don't load (only) on homepage after update - debugging

After several plugins got updated yesterday I saw in the source code that actually no plugin is loaded(1) on the frontpage anymore. On all the other pages everything works just fine.
The most obvious one is the menubar (wp-menubar-plugin), and for now I made an exception for the homepage(2) loading a hard coded copy of the menu as I couldn't debug the issue.
For comparison:
homepage: as newby I only can post on link so please use the one below and click on "home" to compare the source code (only header) of the homepage and and all other pages. Sorry and Thank you ;)
other page example: http://www.ehpress.com/specials/
I tried some debugging by deactivating all plugins and activating one after the other with no change. I had a look through all my template files and couldn't find anything that could cause this 'exception'.
Has anyone experience with this or a similar behaviour?
I would be thankful for any hint where I could start with the debugging.
Thank you for any help,
Albert
(1) the easiest test is the 'All in One SEO Pack' which should be found in the header
(2) if (is_page('home')) ... echo css and in the body echo html

I can't exactly say what it was, but after the provider change some permissions so that I don't get the 550 error again all the plugins work again as well.
Thanks again for your help!
Albert

Related

Ajax pagination not working with wp-property plugin

I'm using the wp-property plugin with Genesis Framework. The plugin has an ajax pagination in the properties page but is not working.
While testing I realized that it works fine with Twenty Fourteen theme, I posted it on the plugin forum suport and they told me that I'm getting this error:
'You don't have permission to access /cms/wp-admin/admin-ajax.php on this server.'
But I don't know how they are seeing it(because I can't see it with firebug) or why it's happening.
I tried the fixes of this post:
https://wordpress.org/support/topic/dont-have-permission-admin-ajaxphp-add-new-category?replies=11
but is still not working.
The link to the website: link
Thanks!
I figured out!
The plugin has a property overview template that can be customized by copying it into the theme directory and editing it, and it seems that it doesn't accept many changes because the problem was there.
Deleting the customized template solved the issue.

Strange issue in page speed test in wordpress site

i have a strange problem!
My site score at "tools.pingdom.com/fpt" is 99 which is really great and i have done a lot of work to get that. so, i installed a plugin "Google Language Translator" and did a test again but the score drop down to 76!! Please see the screen shots
Before and After
Also, i did combined and minified all js and css files into my main theme without any problems but the problem still remains.
Now when i deactivate the plugin the score goes back to 99!.
Would you guys please help?
My site is www.elhafez.com and now the plugin is deactivate.
Thanks
OK, there is no specific answer but you can fix some speed performance.
1- i fixed the "Parallelize downloads across hostnames" by creating 2 sub-domains and added them as a generic CND in W3TC plugin.
2- Combined the plugin JavaScript into 1 file and moved the CSS files into main theme style.css
3- There are many code errors like Duplicate ID's and missing end tags, etc .. i fixed them Manually.
So, after all i raised the page score from 77 to 92 with CloudFlare activated.
However, the plugin is great and really useful and it doesn't effect the overall page speed, only the page speed rank and HTML validation if you care about that.
Thank you all.

Joomla and JomSocial Error

I'm having problem with a client site. I'm not good with Joomla (we mostly do Wordpress), but one of my long-time clients asked me to move a site from another developer that never finished it, so I obliged. The problem is, everything is working great except for the Community page:
http://gettingripped.com/index.php/community
The only errors I'm finding are with the Facebook integration (which they told me the previous dev never finished/fixed). I'm really confused here...anyone out there have any ideas? It seems instead of showing the proper titles that Com_community_somethingElseHere is replacing everything.
Thank you guys in advance for your help!
Seems something is wrong with the en-GB.com_community.ini file.
Location: gettingripped.com/language/en-GB/en-GB.com_community.ini
I could not find the file in the above location!!!
Put this file in that folder and it will work!!!
If you can't find the file to put in the folder, create your own and place it there.. how? Well, google for this string as it is (including double quotes) "en-GB.com_community.ini" and open the first couple of results.
Then copy paste the displayed file content into your own ini file (name it en-GB.com_community.ini) and place it in your en-GB folder.
Load the page and it will show up as it should!

Why is the CSS not loading in Joomla 2.5.6?

I recently migrated my Joomla website from localhost to the test-server and after having completed the database imports and configurations(in configuration.php), the css doesn't seem to load although I can see that the css files have the correct privileges[644]. all I can see is mis-aligned text.
At first, I thought that since my template was custom, the problem lies in it but when I logged into administrator, the same problem occured, although here the text seems properly aligned.
The link to my website is : www.wdwdi.com/calderoni
Please assist.
Try the migration again with AkeebaBackup and the corresponding Kickstart-Script. It never failed in my usage. This will save your time you would use now for debugging.

My website is entirely blank, tips to diagnose?

I have an ecommerce site built on OpenCart (1.5.0 i believe), which after inserting tracking code from Alexa.com and a block of code for redirecting to another site went entirely blank. Initially it worked, so I felt it was safe to save over my backups. But after refreshing the pages it was blank, and the 'view source' option in all my browsers (firefox, chrome, safari) revealed that there was no code reaching them. I then began to follow a series of debugging steps:
As my text editor was still open I undid all changes and reuploaded with no changes
I scanned the documents to be sure there were no issues in the text, with no discoveries
I ran it through W3C validation, with 2 warnings which are 1- no character encoding and 2- unable to determine parse mode.
contacted host for a server side restore though their earliest backup was a day after the problem began (it took 3 days of arguing to get them to initiate a restore)
In regards to these validation warnings, I am not sure what encoding should be used for OpenCart, ASCII or UTF-8 (which the validator resorted to) or what, in addition I am not sure if the template used with OpenCart would conflict with it if I were to declare encoding. In addition, I find it hard to believe that such a widely distributed product would have something this simple causing such a huge mistake because then all users would have this issue.
In regards to parse mode, the index page does declare parse mode (in the included header file).
In addition to all this, the validator is also claiming that it is not receiving code at all, which disables any chance of determining problems through that route.
The header and footer were both edited for these additions but are relatively long to include in this. The code used to edit were, for alexa <!-- tracking code here --> inserted into the head section of the header file, and the code for the footer was:
<span style="display:inline-block;width:160px;height:30px;text-align:center;border:#000 1px dotted;font-family:Arial,Helvetica,sans-serif;font-size:11px;background-color:#FFFFFF;"><strong style="display:block;padding:0px;margin:0px;">Reputation Management</strong>Submit Express</span>
If anymore code is needed to help then please let me know, I am not looking for someone to fix my problem but to give me relevant tips to help figure it out myself or if they do provide a fix to educate me as how they managed it so I may be able to use the same debugging method. Thanks!
EDIT: The issue, as discovered thanks to Jay, is "PHP Notice: Undefined index: HTTP_HOST in **/public_html/graphic-shack.com/index.php on line 40" and a google search has not revealed any effective results. This, to my untrained mind is jibberish, clarification would be greatly appreciated as line 40 is in fact a blank line, where as the text around it I can not post for some reason but will be viewable at http://graphic-shack.com/example.html
Open Cart uses UTF-8 throughout, so its definitely best to use that which your theme should set for the browser in the
The first thing I would ask is have you got error reporting set up (NOT OPEN CARTS ONE) that logs php errors?
If not, then you need to do something like
php_flag log_errors on
php_value error_log /path/to/custom/error.log
in your .htaccess file, so that you can log all your php errors to a file. this will need to be somewhere you can get the file, so change the path accordingly so you can view it.
Once you have that, you'll have a good base for working out the problem. I find it hard to believe that opencart has stopped because you added code. The most likely cause is a file missing, blanked or half written accidentally when saving or you've got some extra php code somewhere you shouldn't
== TEST.PHP CONTENT ==
<?php
echo '<pre>' . print_r($_SERVER, true) . '</pre>';
?>

Resources