miloandrew
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Funky error before installation even beginsJust a thought, but you may want to post this in the Installation forum, rather than the Troubleshooting one.
The installation forum is here: http://wordpress.org/support/forum/2
This troubleshooting forum is for when WP is up and running, so you may not get the right folks looking at your issue.
Best of luck,
AForum: Fixing WordPress
In reply to: Page very slowSlow getting 41 rows? This has nothing to do with WordPress, but rather the MySQL Server. Yes, WordPress will indeed slow down with a DB that is that slow.
How to fix the slowness? Get a better hosting provider or move to a dedicated MySQL server. They are cheap money these days.
They say that WordPress needs a query optimization – tell them to take a hike!
Here’s a response on the same query from my WordPress DB:
SELECT *
FROMwp_posts(314 total, Query took 0.0650 sec)
My 314 posts took .065 seconds. Your 41 took 6.85 seconds.
They say:
the wp_posts; takes a while to read, but this is also based on how much data is in it.
Yes, that’s true, but 41 posts isn’t big at all. My 300+ isn’t even big. Some people have literally thousands of posts in WordPress. A properly optimized server should do MUCH, MUCH better than the 6.85 seconds.
Sorry to say it, but I think your hosting provider is stinky and pointing the finger elsewhere when they should be working on optimizing their own setup. π
OK, maybe that isn’t fair. Maybe it is the level of service you are paying for? I can’t slam a provider who is providing low cost service. Anyway, I’d fix the database response time before I’d ever start worrying about optimizing WordPress queries.
Just my opinion though.
Best of luck!
Cheers,
AForum: Fixing WordPress
In reply to: Connection InterruptedTry turning off the firewall on the windows server for the install?
Forum: Fixing WordPress
In reply to: Neither images, links nor Flash showing up on homepageWhen you say “it showed up fine” – you mean that you were/are able to upload a picture and insert it into the post with the default theme, but with the wp-andreas01 theme, you can’t?
Sorry to harp on it – but if you change the theme back to the default, are you able to do everything fine? This is just such an unlikely thing to have happen with a theme change, so I’m wondering if it is a problem that simply cropped up at the same time.
If it IS a theme problem, the theme must be using a variable or overwriting a value that is messing up the upload.
What version of WP are you using, and what version is wp-andreas01 certified for? Does the theme provider have a forum or comment list where you can ask for help there?
If you can’t resolve it, I’d consider changing the theme – from looking at the URL, its a fairly basic layout. Beautiful to be sure, but a lot of that is your great banner.
Maybe something like vSlider would work for you? Just trying to think out of the box a bit.
Good luck!
Cheers,
AForum: Fixing WordPress
In reply to: Neither images, links nor Flash showing up on homepageAh, what that error means is that the permissions on the wp-content directory or the upload directory are not correct.
The server is trying to make the directory and is getting an error.
You have to make sure that it is writeable by the server. Your web host should be able to help you figure that out.
One question though – I’m assuming that you have this problem with the upload even without using the wp-andreas01 theme? Try switching to the default theme and see if it works – I don’t see why it would (as this is server related, not theme related) but your original question sort of made it sound like this used to work, but now it doesn’t.
Good luck!
-A
Forum: Fixing WordPress
In reply to: Trouble with color codingOK, let us know how it works!
One question though – where are you putting the original
<span style="color: #9c9d97;"></span>code? If I understand what you are saying, you have users on your blog with an Author role, and when they make a new post to the blog, this code is messed up.Where is the code being messed up?
I don’t understand where you have put the code originally, and then subsequently, WHERE the code is getting messed up (is it in the post itself), is it in the theme, etc?
Sorry, just hard to visualize what is going on… π
Forum: Fixing WordPress
In reply to: users “author” page without posting?I think another way of putting it is that WordPress never really creates ANY pages until there is a request. In fact, even after that request, the page itself isn’t really created with any permanence – it is just streamed to the requesting user.
Given that architecture, as Otto said, you’d have to muck with the code for the 404 handler, or possibly with the query code to redirect how a zero post author query is handled if you wanted to change it. I’m not familiar with that part of the code, but in theory, you could perform the query, and if it is an author query and the post count is zero, you could inject a post into the array that is a single “new author” post. So, one post would be displayed for all authors who haven’t posted anything.
This “injection” could be done by either directly pushing a post ID into the array (if you can do that without messing up WP) or by performing a second query that will simply always return the single “no author” post.
I think you should be able to do that with a plugin structure?? If not, upgrades would be a nightmare.
Anyway, hope these thoughts are even remotely useful. π
Best of luck,
AForum: Fixing WordPress
In reply to: WordPress loop counts my featured articles’ loop posts@banago – did you try setting the overall post number to 15 in the Reading settings? Just curious if that worked at all for the first page – problems with the second page notwithstanding…
Cheers,
AForum: Fixing WordPress
In reply to: Blog disappearedYeah, thisisedie is right – phpMyAdmin is a MySQL management tool that most likely came with your hosting package. As your provider where you can access it for your account and server…
Forum: Fixing WordPress
In reply to: Categories show 404 pagesYou mean, now categories are working, but posts are not?
That is strange.
Looking at my blog, in my “Common Settings” I have the following in Custom Structure:
/%year%/%monthnum%/%postname%.html
You don’t need the .html, but I had migrated from blogger, so I threw it in there.
Under the optional settings for categories and tags, I have nothing – both fields are blank.
I can access my posts from the url:
http://myblog.com/2008/8/mypost.html
and, I can access a category this way:
http://myblog.com/category/mycategory
Give that a try and see if it helps!
Best of luck,
AForum: Fixing WordPress
In reply to: Categories show 404 pagesDo you use a custom permalink structure?
If the categories are looking for something like:
http://myblog.com/category/mycategory
and your blog is set up to use the default permalink structure, I don’t believe that will work.
Try setting it to the “Month and name” setting and see if you still have the problem. If not, then you have to decide if its worth switching your permalink structure.
Categories should always be accessible by http://myblog.com/?cat=1
If that works, but the links in your sidebar don’t, then its probably a theme issue. Try turning on the default theme and trying it again.
Hope that helps!
Cheers,
AForum: Fixing WordPress
In reply to: Blog disappearedDid you change the actual blog URL back to where it should be?
If you can’t do this with the admin screen, try doing it in the database directly.
http://www.tamba2.org.uk/wordpress/site-url/
Be careful though, as it involves messing with the database directly.
Also, you should consider updating! Lots of security fixes from 2.3.3 to the current 2.6.1… But, I digress… π
Cheers,
AForum: Fixing WordPress
In reply to: users “author” page without posting?Hmm.. You could by default add a blank post for each user that simply says that they haven’t posted anything yet and put it in a special category.
The author.php could look for all posts by the author and if the count is one, simply show that single post.
If it is greater than one, you can simply requery and remove the special “no posts” category from the query with query_posts(‘category_name=-NoPosts’) or something like that.
If you really wanted to get fancy, you could make a plugin to change the user registration page to automatically add the blank post on sign up, thereby automating the entire thing.
Your only “manual” intervention at that point would be on wordpress updates that somehow mess up how your new plugin worked.
Not exactly straight forward, but it could work. π
Best of luck,
AForum: Fixing WordPress
In reply to: Using WP Plugins outside blog install directoryI’m assuming that you are using standard HTML for most of your site, but are using WordPress for the /blog portion?
If so, the short answer is NO, you can’t use the Plugin outside of wordpress.
The much longer “maybe you already knew this, so I should stop giving advice that wasn’t asked for” answer is:
I’ve been making sites for years, and I’ve never found an easier way to keep a website up to date than with WordPress. I’d consider using it to manage your entire site, not just your blog. Why? For reasons exactly like this – there are lots of awesome plugins and community submissions for WordPress. Stuff that would take hours to recreate for your own site. Why bother when WordPress can do all the heavy lifting for you?
There are lots of ways to manage your whole site with WordPress – Mostly it is done with the “pages” function and using Page templates to handle any custom HTML pages that you’d like to use that fall outside of your standard template type stuff.
Check out: http://codex.wordpress.org/User:Lastnode/Wordpress_CMS
or just google “wordpress CMS” and check out some of the pages that come up.
CMS stands for content management system and WordPress is actually well suited for it!
π
Best of luck,
AForum: Fixing WordPress
In reply to: WordPress loop counts my featured articles’ loop postsSo, this may be too basic, but I really think it is probably the actual blog setting in the Reading tab.
Try bumping up the “Blog pages show at most” to 15 and I think it should work. The system is really just doing as its told – the main page is limiting the posts to whatever you have in there – likely 10?
Your featured posts are 5 and so the second loop pulls at most 5.
So that the second pages don’t pull 15 posts, I’d engineer the main loop to add a showposts=10, if you really care.
Anyway, I could be way off on this, but I think it may be that simple???
Good luck,
A