• 0

Wordpress not showing any posts for new installation


Question

I just tried setting up word press, using IIS 7.5, SQL server 2008 R2, PHP 5.3.10, and wordpress 3.3.2. Using various guides on the internet, I was able to get it working, installed, and setup. As far as I can tell there are no issues (i can change settings, update themes, etc. Everything looks like it's working, except no posts show on the home page. If I go into the admin panel, and look at posts, it says "all(3)", but then shows no entries. If I make a new post, it gives me a link that lets me see the post, but then when I click home, or search for it, it doesn't show. What's strange, is that if i create new categories, they show up on the home page, but if I associate a post to a category and then click a category, it doesn't show either.

Anyone know what the issue is?

Here's a link to it:http://www.healthyin....com/wordpress/

Admin link: http://www.healthyin...press/wp-admin/

Admin login is admin / 1234abcd

I've tried granting full permissions to all folders, turned off windows firewall on both the SQL server and the IIS server, as well as looked at the database to verify that the content is being inserted into the database. All the posts I've seen on wordpress and other sites are for people who had working sites, but now aren't seeing new posts, but I haven't found anything for new installs yet, so I'm at a loss.

10 answers to this question

Recommended Posts

  • 0

Looks like your posts were published private... try change your posts to public then update them.

check your posts status on the right-hand side column when you are at editing post window.

Did you install wordpress from control panel? or you download/install wordpress by yourself?

  • 0

Looks like your posts were published private... try change your posts to public then update them.

check your posts status on the right-hand side column when you are at editing post window.

Did you install wordpress from control panel? or you download/install wordpress by yourself?

downloaded and installed it myself. I went back, wiped it out again, reinstalled wordpress, reconfigured the database, set up url-rewrite mod, and it still doesn't seem to show stuff. I can see posts with a direct link but not on the page, even if i mark it private. Also, this is whats troubling me:

post-26332-0-64009600-1335510892.png

It says "ALL: 4" now, but yet "no posts found". It's as if it's not able to read back from the database, but i know thats not true because the direct urls work.

I don't think it's a database issue, I think it's something in the php. I'm looking to try and see where the functions for wordpress are, to see what's going on with reading data back. I'm still looking, but if I can't figure it out, I'm going to try two things. 1.) install all in one, instead of a two-tier environment, and 2.) try running the microsoft wordpress setup that is supposed to download everything and configure it (but usese mysql). I don't really want to run a 2nd database, but I suppose I may have to if I can't get it working with my existing SQL server.

Also, I just added a page, and that shows up as well, so it's something specific to posts. I've used different themes and it doesnt change anything.

  • 0

Try MySQL instead. Info and download: http://www.mysql.com

So you will use MySQL with your IIS server.

See here: http://codex.wordpress.org/Installing_WordPress#Installing_WordPress_on_your_own_Computer

Scroll down until you see "Easy 5 Minute WordPress Installation on Windows" then read the Step 4 which says "Installation of WordPress and its requirements".. read that part and Step 5 as well. It might help you out and change SQL server to MySQL or get BitNami which has everything you need out of the box.

If your site is hosted by your provider then ask your site admin to add mysql or change your wordpress settings to MySQL instead...

If your site is hosted on your computer, see the site that i just provided you a link.

  • 0
Try MySQL instead. Info and download: http://www.mysql.com So you will use MySQL with your IIS server. See here: http://codex.wordpress.org/Installing_WordPress#Installing_WordPress_on_your_own_Computer Scroll down until you see "Easy 5 Minute WordPress Installation on Windows" then read the Step 4 which says "Installation of WordPress and its requirements".. read that part and Step 5 as well. It might help you out and change SQL server to MySQL or get BitNami which has everything you need out of the box. If your site is hosted by your provider then ask your site admin to add mysql or change your wordpress settings to MySQL instead... If your site is hosted on your computer, see the site that i just provided you a link.

Thanks. I was going to give mysql a try next, though I think it's more in something with the PHP going on. I was trying to avoid running two seperate database platforms, but I suppose if it works in mysql then it'll have to do. and yeah nik, theres a dozen or so guides on how to use wordpress with sql..it was actually rather easy to set up.

  • 0

meh. MySql version works fine, although it's using 3.3.1, maybe 3.3.2 doesn't work right. Either way this was easy, so I guess I'll just roll with two databases for now.

Thanks

  • 0

found the solution here http://sourceforge.net/tracker/?func=detail&aid=3485384&group_id=315685&atid=1328061

translations.php

line 726

Change this: $pattern = '/LIMIT\s*(\d+)((\s*,?\s*)(\d+)*)(;{0,1})$/is';

to this: $pattern = '/LIMIT\s*(\d+)((\s*,?\s*)(\d+)*);{0,1}$/is';

Removing the extra parentheses allows "LIMIT 0, 10" to become "TOP 10".

With the extra parentheses, the "0" is used instead.

everything works now, and I'm back on SQL Server 2008 r2

  • 0

SirEvan, your post on this issue has been the end of my tortuous way to install WordPress on Windows Server 2008 R2, with IIS, PHP and SQL Server 2008 R2, and in Spanish (which gives more problems)

This problem with the list of posts was the last to be resolved (at least for now).

Thanks a lot for sharing your solution.

Alvaro

This topic is now closed to further replies.
  • Posts

    • https://www.tenforums.com/tuto...b-results-windows-10-a.html Check the comment dates. Some of them are as old as 2016.
    • I wonder how many are laid off for cost savings, and this being blamed on AI to make it sound less scary and bad, for a more positive "modern, with the times" spin for investors? Because Oracle is down 14% the past year. We're looking at a company struggling here. If AI would actually be working out so well for them that they can do massive layoffs, surely this would've been reflected the past year in their stock value?
    • AI is the beginning, wait until real robots replace more jobs, specifically jobs that require physical work.
    • AI is indeed eliminating jobs, and Oracle just proved it by Hamid Ganji There’s no question that AI has become the hottest trend in workplaces, and every company is trying to adopt AI-driven solutions across its operations. While some industry leaders repeatedly say AI won’t lead to massive layoffs, recent data suggest that AI is actually one of the main reasons some companies are reducing their workforce. According to Oracle’s annual regulatory filing, the company has laid off about 21,000 employees, or 13% of its workforce, amid increasing AI adoption. “The adoption and deployment of AI technologies across our operations have resulted, and may continue to result, in reductions to our workforce,” Oracle said in the filing. The software giant now has approximately 141,000 full-time employees, a notable decrease from 162,000 during the same period last year. Restructuring expenses, including severance payments, cost Oracle $1.84 billion in fiscal 2026. Additionally, around 49,000 Oracle employees were based in the U.S., while approximately 92,000 were employed internationally. Like many other companies, Oracle has fully embraced AI and concentrated much of its efforts on the technology. The company is also a key participant in the United States’ $500 billion Stargate Project, which aims to build multiple AI data centers across the country. When it comes to AI adoption and its impact on the workforce, opinions remain divided. NVIDIA CEO Jensen Huang, whose company has been one of the biggest beneficiaries of the AI boom, recently said in an interview that attributing job cuts to AI is a “lazy” narrative. “The narrative that connects AI to job loss, for many of the CEOs that are doing it – it is just too lazy. AI has just arrived, how is it possible they're already losing jobs?” Huang said. However, statistics and recent reports tell a different story. According to Layoffs.fyi, 196 tech companies have laid off about 119,800 employees so far this year. Reducing staff and replacing roles with AI agents could become one of the most significant trends in the job market in the years ahead.
  • Recent Achievements

    • One Month Later
      timbobit earned a badge
      One Month Later
    • One Month Later
      nates earned a badge
      One Month Later
    • Week One Done
      Almohandis earned a badge
      Week One Done
    • Rookie
      dorf went up a rank
      Rookie
    • First Post
      mike_rumble earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      464
    2. 2
      +Edouard
      181
    3. 3
      PsYcHoKiLLa
      97
    4. 4
      Michael Scrip
      89
    5. 5
      neufuse
      70
  • Tell a friend

    Love Neowin? Tell a friend!