Karine
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can't login to my siteHi, do you have access to your database? If you do, you can simply change the URL saved in the database back to the right one…
Forum: Fixing WordPress
In reply to: Jetpack cool mosaic not workingWho is your host? What kind of server are you hosted on?
EWWW image optimizer should be able to install those tools automatically.Forum: Fixing WordPress
In reply to: Moving Content to Sub-Directory Breaks SiteDid you move your WordPress installation in a subdirectory?
The error message is telling you that it can’t find the file “wp-load.php”.
Directions to move WP in a directory: https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory
Forum: Fixing WordPress
In reply to: Parse error : unexpected T_STRING functions.phpYou have the function twice in functions.php
Delete one instance of _device_can_upload() :
function _device_can_upload() { if ( ! wp_is_mobile() ) return true; $ua = $_SERVER['HTTP_USER_AGENT']; if ( strpos($ua, 'iPhone') !== false || strpos($ua, 'iPad') !== false || strpos($ua, 'iPod') !== false ) { return preg_match( '#OS ([\d_]+) like Mac OS X#', $ua, $version ) && version_compare( $version[1], '6', '>=' ); } else { return true; } }
Forum: Fixing WordPress
In reply to: Parse error : unexpected T_STRING functions.phpThe error message is quite clear, the line 3742 on your functions.php file has a syntax error. You need to delete this part:
turn bool true|false */
It doesn’t mean anything and seems out of nowhere between two php functions (_device_can_upload()) and it is also strange that this function is appearing twice in your functions.php…
Forum: Fixing WordPress
In reply to: Jetpack cool mosaic not workingHello, when you use the tiled gallery, your images are automatically loaded with Photon (WordPress CDN plugin). There is a 10 secs. timeout when using this service. It seems that your photos are too big and Photon struggles to load them, this is resulting in broken images in your website…
I recommend using an image optimizer plugin or to compress your images before uploading them.
Forum: Fixing WordPress
In reply to: Parse error : unexpected T_STRING functions.phpHi, you seem to have pasted the code to detect upload capability twice in your functions.php and this part:
turn bool true|false */
is causing the error.
Forum: Fixing WordPress
In reply to: Trying to use Alt texts but not seeing the textHello,
Alt text is not meant to be shown on mouse over on the image (although some browsers like IE may show it). Alt is shown when the image is not loaded. You can see more info here:
https://googlewebmastercentral.blogspot.com/2007/12/using-alt-attributes-smartly.html
If you’re targeting visually impaired, writing the image description in the alternative text area is the right way to do it!
Forum: Plugins
In reply to: [Plugin: Akismet] Won't Clean up the comment meta detailsThank you for the answer Dannoll, actually, I had already used this query but it only found 32 orphaned entries…
I’d like to empty the table but I’m not sure what’s required or not, is it an important table ? All I see is akismet_’something’
Forum: Plugins
In reply to: [Plugin: Akismet] Won't Clean up the comment meta detailsSame here, I would like to clear wp_commentmeta (8Mo and I only have ~2500 comments, wp_comments is 1Mo, I’ve only had ~40 spams total)
Any idea how to do this? I don’t really know which records are necessary… Thank you ??
Forum: Plugins
In reply to: [Download Monitor] WordPress Download Monitor errors when downloadingI have the same problem and Snerf DID explain what he did to repair it in the first post…
Forum: Plugins
In reply to: [Download Monitor] [Plugin: WordPress Download Monitor] Why so many queries?I have ~3000 visitors a day on the website where I’m using Download Monitor, but I think something is wrong with how it counts downloads… ?
A zip file downloaded ~600 times went up to 4000 in a day ! An other one from 4000 to 7000… When I activated the stats logs, it counted a same IP address hundreds of times, even when I set the timeout to 10 or 100.
It’s really too bad because DM features are great and exactly what I need… But I can’t afford a dedicated server just to use that plugin, so I will take a look at the other plugins, thanks !
Forum: Plugins
In reply to: [Download Monitor] [Plugin: WordPress Download Monitor] Why so many queries?Got my account suspended because of download monitor CPU usage… =/
I was hoping for an upgrade, but it doesn’t seem ready yet so I modified it a bit to make it work with uploads out of the wp-content directory…
Look for line 127
// check that the file is within the WP_CONTENT_DIR
Add this right after it :
$upload_dir = wp_upload_dir(); $wp_upload_dir = $upload_dir['basedir']; $wp_upload_url = $upload_dir['baseurl'];
Replace WP_CONTENT_DIR by $wp_upload_dir
And WP_CONTENT_URL by $wp_upload_urlin lines 128, 129, and 135.
This works for me ??
Forum: Plugins
In reply to: [Plugin: WP Smush.it] error – must be within the content directoryI was hoping for an upgrade, but it doesn’t seem ready yet so I modified it a bit to make it work with uploads out of the wp-content directory…
Look for line 127
// check that the file is within the WP_CONTENT_DIR
Add this right after it :
$upload_dir = wp_upload_dir(); $wp_upload_dir = $upload_dir['basedir']; $wp_upload_url = $upload_dir['baseurl'];
Replace WP_CONTENT_DIR by $wp_upload_dir
And WP_CONTENT_URL by $wp_upload_urlin lines 128, 129, and 135.
This works for me ??