ogre
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Is there a way to monitor how many times a file has been downloaded?The site log log is too hard?
grep 'filename.ext' /var/log/apache2/access.log | awk '{print $1}' | sort | uniq | wc -lWhat could be simpler? Ok, I’m being a jerk. 🙂
Forum: Installing WordPress
In reply to: Can’t connect to database during creation of wp-config.phpTry this one:
SET PASSWORD ‘root’ = NEW PASSWORD(‘abc’);
BTW, It’s generally a very bad idea to use the root account for this kind of thing. Create an account just for the wordpress database.
Forum: Everything else WordPress
In reply to: Adding Content from External DatabaseA simple explanation is not really possible. Answering your question isn’t possible without knowing more about the source of the data, e.g. database type, formatting, etc. It could be as simple as grabbing an existing title and content and shoving it into wordpress directly, or the data may need to be massaged a bit before the insertion.
Most likely you are going to need to custom code to get the job done.
Forum: Themes and Templates
In reply to: How Destructive Is Changing A Theme?It’s entirely possible that a weird plugin could be doing odd modifications to the database contents that would require a specific theme to work correctly. Highly unlikely, however.
Under normal circumstances, switching themes is completely safe.
Forum: Everything else WordPress
In reply to: WP Mod Rewrite – How does it work?To quote from the mod_rewrite documentation, “Despite the tons of examples and docs, mod_rewrite is voodoo. Damned cool voodoo, but still voodoo.”
I have found that it sometimes requires you sacrifice a live chicken under the light of a full moon to get things to work, and I’m a trained professional.
Forum: Fixing WordPress
In reply to: Mod Rewrite rules cannot be updated!See if you can upload with a different filename, especially without the leading period. Then rename the file. You’ll need to delete the original .htaccess file before you can rename the new one.
No, php.ini can’t do what you want.
Forum: Fixing WordPress
In reply to: My site loads so slowly can anyone please help?I’m going to guess that the resource over use is caused by multiple plugins.
The ones to take a hard look at are the ones that do stuff on the front page. For example, a plugin that generates a history of comments that uses unindexed queries is very bad (just an example). Actually, any query executed for every page that uses unindex queries is very bad.
It might be possible to ask your provider to help you narrow down the search. Ask them if the problem is mysql related or something else.
Forum: Everything else WordPress
In reply to: Have URL-Want BlogYou can, but you need a host for your blog.
Forum: Fixing WordPress
In reply to: My site loads so slowly can anyone please help?What plugins do you have installed and enabled? What generates your thumbnails?
Plugins with poorly written sql can kill a system. Generating thumbnails on the fly can kill a system.
Hot-linking is especially annoying. It steals my bandwidth along with my images. When I notice increased traffic due to hot-linking, I change the picture’s filename on my site, and replace the original image file with something “fun”, like an image with just text in big letters saying “I like sex with sheep”. I used that one on someone who used one of my images for his profile picture.
Forum: Themes and Templates
In reply to: style.css File not readable.Check parent directory permissions.
Forum: Developing with WordPress
In reply to: total count of contributorsA simple query will return the number of users. This example query does not take into account the user status or level:
SELECT count(*) AS user_count FROM wp_users;
Forum: Installing WordPress
In reply to: Database errorDid you remember to edit wp-config.php after the upgrade?
Forum: Installing WordPress
In reply to: web site not blogIt’s not difficult to edit the text and remove the word ‘blog’. Just grab a theme you like and tinker with it.
Forum: Plugins
In reply to: updated my plugin, listing still showing old versionIn the plugin itself is the version number. That is what will be displayed, not what is in the readme file. On your local computer, open the plugin file, e.g. cool.php, with a text editor. You’ll see the info like author, plugin name, version, etc. at the beginning of the file.