Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8670577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:44:25+00:00 2026-06-12T18:44:25+00:00

I am trying to pull in some posts from a remote wordpress site with

  • 0

I am trying to pull in some posts from a remote wordpress site with simplepie. I have installed the library and put what I think is the right code at the top of the .php page.

Right now my it looks like:

<?php
require_once('../autoloader.php');

$feed = new SimplePie();

$feed->set_feed_url('http://simplepie.org/blog/feed/');

$feed->enable_cache(true); 
$feed->set_cache_location('cache'); 
$feed->set_cache_duration(1800);

$feed->init();

$feed->handle_content_type();

?>    {doc type}

But when I load my page it tells me:

Warning: require_once(../autoloader.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/27/9279927/html/LatestHOPE.php on line 2

Fatal error: require_once() [function.require]: Failed opening required ‘../autoloader.php’ (include_path=’.:/usr/local/php5_3/lib/php’) in /home/content/27/9279927/html/LatestHOPE.php on line 2

What’s up with that? Why is it telling me this?
I have autoloader.php in my root directory.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T18:44:26+00:00Added an answer on June 12, 2026 at 6:44 pm

    You have it in your root directory!? That is a strange location. However, if that is true, use

    require_once('/autoloader.php');
    

    Perhaps you mean in your home directory? For that use

    require_once('/home/<your username>/autoloader.php');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to pull some data from a webpage. I have it partially working,
I'm trying to have my GAE app pull some records from the Datastore but
I'm trying to pull some data out of logs on remote machines using awk,
Just trying to pull off some SMART info from connected Hard Drives on any
I am trying to git pull some repository via root user from any directory.
I'm trying to write a query to pull some info from our database and
im having some difficulty trying to pull out a specific value from a cookie.
I'm trying to pull some binary data from a database and write them to
I am trying to pull out some HTML (a hrefs) from a long string
I am trying to get wordpress to pull an ID from a variable to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.