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

  • SEARCH
  • Home
  • 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 6873449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:04:11+00:00 2026-05-27T04:04:11+00:00

I have a website… imaspy.com … and I am having trouble using the Zend

  • 0

I have a website… imaspy.com… and I am having trouble using the Zend Framework I have uploaded to my hosting account.

Please go to my website and try to become a registered user (you can use fake information) and see the error that I receive. Here is the error:

Warning: require_once(Zend/Loader/Autoloader.php)
[function.require-once]: failed to open stream: No such file or
directory in /home/content/92/5336292/html/imaspy/scripts/library.php
on line 5

Fatal error: require_once() [function.require]: Failed opening
required ‘Zend/Loader/Autoloader.php’
(include_path=’.:/usr/local/php5/lib/php:mikerader.com/ZendFramework/library’) in /home/content/92/5336292/html/imaspy/scripts/library.php on line 5

Here is the code I am using for library.php. (not the real password)

// Adjust the path to match the location of the library folder on your system
$library = 'mikerader.com/ZendFramework/library/';
set_include_path(get_include_path() . PATH_SEPARATOR . $library);
require_once('Zend/Loader/Autoloader.php');
try {
    Zend_Loader_Autoloader::getInstance();
    $write = array('host'     => 'imaspy.db.5336292.hostedresource.com',
                   'username' => 'imaspy',
                   'password' => 'password123',
                   'dbname'   => 'imaspy');
    $read  = array('host'     => 'imaspy.db.5336292.hostedresource.com',
                   'username' => 'imaspy',
                   'password' => 'password123',
                   'dbname'   => 'imaspy');

    // Comment out the next two lines if using mysqli
    // and remove the comments from the last two lines
    $dbWrite = new Zend_Db_Adapter_Pdo_Mysql($write);
    $dbRead = new Zend_Db_Adapter_Pdo_Mysql($read);

    //$dbWrite = new Zend_Db_Adapter_Mysqli($write);
    //$dbRead = new Zend_Db_Adapter_Mysqli($read);
} catch (Exception $e) {
    echo $e->getMessage();
}
  • 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-05-27T04:04:12+00:00Added an answer on May 27, 2026 at 4:04 am

    Here is your bug:

    $library = 'mikerader.com/ZendFramework/library/';
    

    You need to use a path on the server not a URL. Something like:

    $library = $_SERVER['DOCUMENT_ROOT'] . '/path/to/zend/library';
    

    Or, provided you have the right permissions, an absolute path would work too:

    // or wherever it is
    $library = '/home/content/92/5336292/html/imaspy/library/Zend'; 
    

    Also, why are you setting two db adapter objects like that when they’re both identical?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have website www.xyz.com and it is having 3 pages a, b and c.
I have website where users can login with their Facebook account. I am using
I'm using jQuery. I have website feature that does an ajax search and returns
I have a website that I've just uploaded onto the Internet. When I browse
I have a Website that is really slow and feels really bad when using
I have a website ( http://www.rtistree.com ) which has vertical scrollbar on some pages.
I'm using win7. and i have website which i want to test it with
I have a website (www.mydomain.com) that is secured with an SSL certificate. It is
I have a website I am developing ( http://www.mywebsite.com/ ) that makes use of
Well, I have website with such structure of pages: domain.com/group-1/page/ and now I need

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.