Kimberly
Forum Replies Created
-
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Swedish characters in urlHmmmm…the “?” may just be a visual display problem (so not important) since it appears your site isnt having problems accessing those files (it knows where they are).
Curious….in your error_log file in your root directory (so not what you see in the settings page but inside an actual file called error_log — u will need to use a file manager to get access to it e.g. ftp) do you see a line that begins with “PHP Notice: MySQL” (or any line that uses the word “MySQL” in it)?
ALSO can you click the debug function link (on the settings page) and scroll down to “Build Process Results” (located near the bottom of the page). Do you see any variable line that is empty or set to 0?
I ask because as I look through the plugin source code it appears the only real way for it to give the error you are getting is via the _endTime variable being equal to 0 which only happens if an error occurred; and the only place that can happen is when it starts accessing your database.
I am also getting curious about your server side php.ini configuration for running processes (i.e., max_execution_time) or mySQL’s time limits. I will look into that later.
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Swedish characters in urlSure, i can help you….i will look into the fix myself directly in the source code when i have time later today.
Just realized since your domain is an IDN (Internationalized Domain Name) it will need to be PunyCode’ed. Punycode is a encoding syntax by which a Unicode (UTF-8) string of characters can be translated into the basic ASCII-characters permitted in network host names (you do this via: idn_to_ascii(“www.bästalotterna.com”); ). For example, although you see the umlaut, underneath (and in your website’s source code i see your domain is: http://www.xn--bstalotterna-gcb.com. A few more questions:
1. Can you provide the exact error message?
2. You mention: “In the detected path for the file there is a black question mark“. Was this error in your error_log file or where exactly are you seeing this?
2. Is the problem occurring when PHP attempts to write out the sitemap.xml file whereby inside said file an XML node(s) line is attempting to prepend your host url: http://www.bästalotterna.com to your article page locations?
3. Is the path directory of your site inside a directory called bästalotterna.com? So the directory literally shows an umlaut?
We may need to try a few things since i have never quite worked with IDNs before but am very curious to get this to work.
Thanks for any extra info.
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Swedish characters in urlIt’s called a “umlaut” represented in html as ä or ä.
Anyway it sounds like your PHP is not set to the correct character set to handle this special character. So I believe you need to convert the character to ISO-8859-1.
If you are comfortable with coding jump into this plugin’s main php file and use preg_replace(“/ä/”,chr(138),$string). The output should be a true umlaut.
Hey that’s great! Btw, i checked using IE, Chrome, Opera, and Firefox too … they all show the QC text! So you’re rollin’!
Do you have anything in your error_log file?
I will have a look at the author’s source code to see what’s going on.
When you create and publish a post does this plugin successfully create your new updated sitemap with the new post? I am just curious if this problem is only occurring for scheduled posts.
Also, are you using any page caching plugins? I know a plugin called Quick Cache has an issue with scheduled posts which i had to provide a patch fix for other users to use which then resolved why XML sitemap wasnt working (in their specific case).
I checked both sites…seems to be working fine for both (i see the QC text at the bottom for both sites). It sounsd to me either you fixed the problem OR you need to refresh your browser (clear cache or hit CTRL+F5)
Sounds like all of you are having problems due to your server not supporting loopback requests.
Ok here are two files i’ve written for ya to help test if your server is functioning correctly.
- Change {SITE HOST NAME} in the code (two spots).
- Place them both on your server.
- Run LoopbackTest-Call.php from your browser.
LoopbackTest-Call.php:
<?php $ch = curl_init(); echo "<b><u>Server: ".$_SERVER["SERVER_ADDR"]."</u></b><br/><br/>"; curl_setopt($ch, CURLOPT_URL, 'http://{SITE HOST NAME}/LoopbackTest-Reply.php'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $html = curl_exec($ch); echo "This php file attempts to test Loopback Requests by calling: <b>http://{SITE HOST NAME}/LoopbackTest-Reply.php</b> which resides on the same server<ul><li>If the response fails the display shows \"<u><b>FAILED!</b></u>\" and means Loopback Requests are not working on this server.</li><li>If the response is successful the display shows \"<u><b>SUCCESS!! Loopback Requests Work!</b></u>\" and means Loopback Requests are working on this server.</li></ul>Response: ".(strlen($html)==0?"<b style='color:#FF0000'>FAILED!</b>":$html); ?>LoopbackTest-Reply.php:
<?php echo "<b style='color:#00FF00'>SUCCESS!! Loopback Requests Work!</b>"; ?>Let me know the results. If it says FAILED then i will let you know what you need to do.
Forum: Plugins
In reply to: [Quick Cache (Speed Without Compromise)] RSS feed invalidAlternatively, you could just have quick cache NOT cache the feeds. That is what i do on my sites.
If you still want to remove the trailing comments then just go into the advanced-cache.php file search for the quick cache comment and delete the two lines (or add a check to see if its RSS).
Forum: Plugins
In reply to: [Quick Cache (Speed Without Compromise)] pages break when using HTTPS1. As Josh says, check the very last lines of your page source to see if you spot QuickCache’s special comment lines
2. Check your error_log file for any qc errors
3. Check the /cache folder to see if a unique qc-c-* file is/was made (though if #1 isnt present then it’s a good indication no qc-c-.. file exists)
Curious…so your css files aren’t loading? Can you provide a link to your site. I’d be happy to have a look and run my debugger tool on the page to verify what the css is/isn’t doing.
Hmmm..that is odd that it is removing that space…but more unusually is why the jquery fellas never bothered to parenthesize around “++n” e.g.
(this.id=”ui-id-“+(++n))That is the proper way to code that situation since it is way too easy for problems like u describe. Not even sure i would have realized about that minifying case…now i know.
I am still using jquery-1.7.2.min.js so this would likely explain why i dont see the problem.
I guess your option is to modify the wp-minify file to check for that condition (shouldnt be too hard) or modify that jquery file to add parenthesis as i did above.
Wjat does your error_log file show?
Forum: Plugins
In reply to: [Quick Cache (Speed Without Compromise)] WarningModify the open_basedir settings in your PHP configuration (See Runtime Configuration).
The open_basedir setting is primarily used to prevent PHP scripts for a particular user from accessing files in another user’s account. So usually, any files in your own account should be readable by your own scripts.
Example settings via .htaccess if PHP runs as Apache module on a Linux system:
<DirectoryMatch “/home/sites/site81/”>
php_admin_value open_basedir “/home/sites/site81/:/tmp/:/”
</DirectoryMatch>I thikn you can just append &qcAC=1 to a file and QC will create a cache for it. However that might only work for not caching..havent checked his code to see how versatile that option is.
Besides that you could go inside the admin-ajax.php file and add define(“QUICK_CACHE_ALLOWED”, true); but that would involve messing with the core files which isnt recommended but i admit i’ve messed with the core many times (but i know what i am doing). Again, i havent tried that before.
Forum: Plugins
In reply to: [Quick Cache (Speed Without Compromise)] Quick cache specify pagesAcutally QC just caches pages that would normally be processed on the server (e.g. php requests). So it does nothing to help you with js/css expiry time. You could set the expiry for those types in your htaccess file.
As for the “cookie” thing you could create say a 2ndary domain on your domain e.g. “files.example.com” and serve your js and css files from there. Doing so will result in a different domain from your main site and won’t serve cookies for them.
Forum: Plugins
In reply to: [WP Minify] [Plugin: WP Minify] Bad Request on minified fileReplace line 667 which currently shows:
$path = $base_path.$location;with this:
$path = preg_replace("!/{2,}!","/",$base_path.$location);That will fix your problem.