homebysix
Forum Replies Created
-
Thanks for reporting this. I’m experiencing the same issue on multiple WordPress sites since updating to 4.5 as well.
I was able to fix the issue by adding
!important
, but that doesn’t seem like an excellent long term solution.function my_login_logo() { ?><style type="text/css"> .login h1 a { background-image: url("<?php echo get_stylesheet_directory_uri(); ?>/images/site-login-logo.png") !important; background-repeat: no-repeat !important; background-size: 180px 120px !important; height: 120px !important; padding-bottom: 60px !important; width: 180px !important; } </style><?php } add_action('login_enqueue_scripts', 'my_login_logo');
This is still occurring on WordPress 4.1.
I have worked around this issue by creating a symbolic link from the “correct” image path URL to the “incorrect” image path URL. The result of this is that the non-retina images load from
/subsite/static/riding-a-bike.jpg
and the retina images load from the symbolic path/subsite/subsite/static/[email protected]
.Here are the shell commands I used to do the workaround, in case they are useful to others:
# Navigate to your subsite directory cd /path/to/public_html/subsite # Create a symbolic link with the same name as your subsite's directory ln -s . subsite
The root issue is not technically resolved, but I’m marking this thread as resolved since this workaround will work indefinitely.
I’m still having this settings with WP 4.0.1 and iThemes Security 4.5.2.
When users try to log in with incorrect credentials, and iThemes Security’s brute force protection is turned on, they see this error:
Catchable fatal error: Object of class WP_Error could not be converted to string in /home3/username/public_html/wp-includes/formatting.php on line 716
If they log in with incorrect credentials while iThemes Security’s brute force protection feature is turned off, they see the regular “incorrect username or password” error message.
Anybody want to help me dive in and troubleshoot?
Thanks for your response!
Sorry, I should have clarified — I’m not uploading the images through the WordPress interface. I’m simply placing the image files and their @2x equivalents in the “static” folder (using FTP), and the WP Retina 2x plugin automatically detects and serves the appropriate image. This works fine for my other WordPress sites, even the ones using the WP Retina 2x plugin.
The “special” thing about this particular setup is that I have one WP site nested within another. For example, the main site is at https://www.pretendco.com and the subsite is at https://www.pretendco.com/subsite.
The @2x (retina quality) images work fine on the main site, where they are located at https://www.pretendco.com/static/[email protected]. They don’t work on the subsite, where they are located at https://www.pretendco.com/subsite/static/[email protected].
Both the main site and the subsite images are using standard absolute paths:
<img src="/static/image.jpg">
and<img src="/subsite/static/image.jpg">
And the regular non-retina images are displaying correctly on both the main site and the subsite. However, the retina images on the subsite are not being displayed, because the WP Retina 2x plugin is looking for them in the wrong place: /static/* instead of /subsite/static/*.I’m reasonably savvy but not a full time dev. It feels like a bug, but I’m not sure how to go about isolating it further. Any pointers?
I’m still having this problem, and would appreciate some assistance.
It looks like absolute image paths are being served up relative to the WordPress “root” rather than truly absolute to the website’s domain. Here’s a sample from the log:
2014-12-05 05:10:45: - The retina file '/home3/username/public_html/widget/widget/static/[email protected]' cannot be found.
The file it should be referencing is at this path:
/home3/username/public_html/widget/static/[email protected]
I can create a duplicate folder of images at the incorrect path, but that seems like an ugly workaround.
Help please?
I’d also know how to hide the counter.
Forum: Plugins
In reply to: [Crafty Social Buttons] Support Custom TypesI’m also looking forward to the custom types support. Thanks for continuing to develop this plugin!
Forum: Plugins
In reply to: [Amazon Link] %RATING% doesn't workI’m also having this issue, and would love to get the extra “rating” plugin you mentioned.
Forum: Plugins
In reply to: [GD Star Rating] How to sort comments by highest rated using this plugin?This may help you:
https://gist.github.com/aliciaduffy/6235093I’m also interested in doing this, but I can’t seem to get it to work with my DirectoryPress theme. I’ll continue trying and let you know if I’m able to find a solution.
Forum: Plugins
In reply to: [GD Star Rating] rating required field in comment boxI’m also interested in this. Ideally, I’d like to require users to leave both a comment and a rating.
Anybody been down this road before?
Forum: Plugins
In reply to: [Amazon Link] Nothing shows up no matter what I doHi Paul,
When I went to the Amazon Link Options > Templates section, I did see previews for most of the templates, but I did not see any previews for Wishlist, Image, or Thumbnail.
Then I logged into the Scratchpad link you sent. Thank you for that, because it actually allowed me to solve the problem. I noticed this among the data returned:
InvalidAccount Your AccessKey Id is not registered for Product Advertising API. Please use the AccessKey Id obtained after registering at https://affiliate-program.amazon.com/gp/flex/advertising/api/sign-in.html
Upon going through the signup process (again?), the Scratchpad returned significantly more data. I refreshed the Amazon Link Options page, and now the previews for Wishlist and all the others are showing up as expected. I didn’t even need to change my access keys.
So it must have been an incomplete signup. Thanks for the help!
Forum: Plugins
In reply to: [Amazon Link] Nothing shows up no matter what I doI think I may be learning more about why this is happening.
When I sign into the Amazon AWS Security Credentials page, I see this information:
Access Keys
Use access keys to make secure REST or Query protocol requests to any AWS service API. We create one for you when your account is created — see your access key below.Actually, when I first signed in there were no keys at all. I had to create them by clicking “Create a new access key.” This tells me that my Amazon account may not be configured with the AWS service, despite the fact that I can get to the settings page.
In addition, when I click on the Manage Your Account page, only Amazon Mechanical Turk and Product Advertising API are listed among the services I’ve signed up for. Do I need to add some of the Infrastructure Services listed under the services I’m not signed up for? If so, which ones? Is there a cost involved?
I’m new to AWS, so sorry for all the questions!
Forum: Plugins
In reply to: [Amazon Link] Nothing shows up no matter what I doThanks for the advice! Sorry to say that didn’t work either. It returned
al_found0
, same as before.I’ve tried disabling all other plugins, to make sure it’s not a plugin conflict. I’ve also tried switching themes back to Twenty Eleven, and it doesn’t appear to be theme related.
I also changed one character in my AWS private key and confirmed that the “AWS Keys Validated” unticked itself with an error, as expected. Then I changed the character back again, and “AWS Keys Validated” was ticked again, no error.
Could it be that my web host is blocking calls to AWS? Or that there’s something wrong with my AWS connection, despite the existence of a valid public/private key pair?
Very strange.
Forum: Plugins
In reply to: [Amazon Link] Nothing shows up no matter what I doHello Paul,
I’m having the same trouble that earthtojeremy was having, so perhaps I can pick this thread up where he left off.
Static links such as the one you gave above work just fine, as well as the Carousel, Banner, and iFrame. However, Image, Thumbnail, and Wishlist don’t seem to work. I hope to use the Wishlist template.
This shortcode:
[amazon asin=B0893817449&template=wishlist&chan=default]
Produces this HTML on the page:
<div class="al_found0"> <div class="amazon_prod"> <div class="amazon_img_container"> <a rel="nofollow" target="_blank" href="https://www.amazon.com/gp/product/B0893817449?ie=UTF8&linkCode=as2&camp=1634&creative=6738&tag=affiliate-20&creativeASIN=B0893817449"><img class="wishlist_image" src=""></a> </div> <div class="amazon_text_container"> <p><a rel="nofollow" target="_blank" href="https://www.amazon.com/gp/product/B0893817449?ie=UTF8&linkCode=as2&camp=1634&creative=6738&tag=affiliate-20&creativeASIN=B0893817449"></a></p> <div class="amazon_details"> <p>by []<br /> Rank/Rating: /<br /> <b>Price: <span class="amazon_price"></span></b> </p> </div> </div> </div> <img src="https://www.assoc-amazon.com/e/ir?t=affiliate-20&l=as2&o=1&a=B0893817449" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
Judging from the src=”” it looks like it’s not talking to Amazon, or expecting some data in the shortcode which isn’t present.
I have set up the AWS feature, and both the “AWS Keys Validated” and “Live Data” boxes are ticked in the settings.
Any ideas?