Forum Replies Created

Viewing 14 replies - 16 through 29 (of 29 total)
  • This doesn’t work for me either, I get the following error:

    You do not have sufficient permissions to access this page.

    singhrt’s solution didn’t work either (though I’m not surprised because that surely just sets to the second user table rather than the ‘master’.

    Any ideas anyone?

    I have the same issue. Could be a WP 2.7.1 issue as the plugin hasn’t been tested on that yet.

    Thread Starter philpeter

    (@philpeter)

    Right… I tried the INSERT query idea without success.

    The front page of the blog actually displays the page as if it was a post and somehow every post/page is now the same as my new page….

    Surely there’s a standard way to add a new page? A WP function? Anything?

    Thread Starter philpeter

    (@philpeter)

    Okay, I went cruising around the code of some other plugins and I’m thinking that I actually just have to perform an INSERT query on the database directly, with all the relevant information.

    Anybody care to concur?

    Phil

    Thread Starter philpeter

    (@philpeter)

    Sounds about right, thanks.

    I’ve got the same issue. It just doesn’t happen.

    Does a cron job need setting up somewhere?

    I have absolutely NO idea if this will work but I’d love it if someone gave this a try and let me know!

    A while ago I had example.com/blog and wanted to include the latest posts on the home page of example.com. For some reason that I never figured out, I couldn’t just parse the RSS feed using a PHP script.

    So, I had PHP include ‘/blog/wp-load.php’. Then, I just put a WordPress loop inside /index.php. It worked!

    So how about, including wp-load.php and then just using the WP get_header() and get_footer() functions?

    Good luck!

    Thread Starter philpeter

    (@philpeter)

    I have to say, that’s not very helpful. allow_url_fopen (the setting concerned) is turned off to help prevent code injection vulnerabilities. There are countless examples on the web of sites being compromised because of such vulnerabilities.

    Do you know of another way?

    Forum: Fixing WordPress
    In reply to: Mobile WP

    Wfryer,

    In your case, sub-domains are a sensible approach because each of the blogs has a different focus. They are essentially different sites. Bamajr is talking about a corporate blog connected to the corporate site. A big consideration for any corporate on line presence is the search-engine friendliness of the site. Search engines tend to treat sub-domains as sites of their own accord. Therefore, benefits of having a blog, such as incoming links, will not benefit the main corporate site (where the marketing material is). It’s purely a commercial consideration.

    I’d also be interested to see any more answers as to how to see posts displayed on the home page. I’m currently trying to get this in place (see my thread: http://wordpress.org/support/topic/194205) for my site and having trouble. The Rss-to-Javascript service is nice, but not readable to those without Javascript (obviously) which rules it out for me as a serious usability issue.

    Thread Starter philpeter

    (@philpeter)

    Thanks, that explains things nicely.

    Supplying Magpie with http://[snip]/blog/wp-rss2.php didn’t work either. It is a web address, after all.

    I created a file at root (/feed.php) that PHP-includes the feed (/blog/wp-rss2.php). The plan was to then give Magpie /feed.php.

    However, for some reason, in /feed.php, the Items tag and contents were missing. The same include in /index.php contains the Items tag and all the Item tags as you’d expect. Any idea why that might be?

    And before I carry on, is this the right way to go? I’m not going to mess with PHP security because I want my site nice and secure, so is there another way to display the contents of the WordPress feed on my site’s home page?

    Thread Starter philpeter

    (@philpeter)

    Surely then, using “/blog/wp-rss2.php” should work? It doesn’t, I get the following error:

    Warning: MagpieRSS: Failed to fetch blog/wp-rss2.php (HTTP Error: Invalid protocol "") in /var/www/vhosts/[snip]/httpdocs/inc/magpierss/rss_fetch.inc on line 238

    Although the PHP-include does work with wp-rss2.php.

    Thread Starter philpeter

    (@philpeter)

    Okay, I’ve tried a few things but nothing seems to be working.
    I’ve tried including the feed in a .php file at root and then parsing that, still the same error pops up.
    I’ve tried accessing the full URL (including http) but that triggers a PHP error (I’d have to alter PHP’s security settings which isn’t worth it).
    I’ve tried mucking about with .htaccess, such as creating a bogus URL at root which points to the actual feed.
    I’ve tried all of the above using the non-friendly URL equivalents but that doesn’t work.
    Has no-one else had this issue? Or can anyone think what the problem might be?

    Forum: Fixing WordPress
    In reply to: Mobile WP

    bamajr,

    Firstly, I wouldn’t recommend you use a sub-domain for your blog. I’ll be happy to go into the reasons separately, if you would like.

    1. You can easily parse your own blog’s RSS/Atom feed to display anywhere on your site, such as the home page. If your site runs on PHP, for example, you could use MagpieRSS or Simplepie.

    2. You can access the blog and admin area with any browser. There is no separate mobile version although there is a plugin that provides a mobile-version of the admin interface. This is unlikely to allow you more than adding new posts. To handle more than that you might be looking at a bespoke solution.

    Feel free to call me on 0844 884 5419 and I’ll happily point you in the right direction.

    Phil

    Forum: Fixing WordPress
    In reply to: RSS feed Problems

    Try accessing the feed in another browser. If you get an error message there too, chances are it’s a problem with your feed.

Viewing 14 replies - 16 through 29 (of 29 total)