Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: PHP Error

  1. #1
    New Coder
    Join Date
    Aug 2005
    Posts
    63
    Thanks
    1
    Thanked 0 Times in 0 Posts

    PHP Error

    Can anyone figure out this error? Because i really do not know how to correct it. Thanks

    Warning: main(PEAR/ErrorStack.php): failed to open stream: No such file or directory in c:\program files\easyphp1-8\www\commencebl\includes\pear\HTML\Progress.php on line 34

    Fatal error: main(): Failed opening required 'PEAR/ErrorStack.php' (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\:../includes/pear') in c:\program files\easyphp1-8\www\commencebl\includes\pear\HTML\Progress.php on line 34

  • #2
    Mega-ultimate member
    Join Date
    Jun 2002
    Location
    Winona, MN - The land of 10,000 lakes
    Posts
    1,855
    Thanks
    1
    Thanked 45 Times in 42 Posts
    That error means your php code in the file "ErrorStack.php" is looking for this file "c:\program files\easyphp1-8\www\commencebl\includes\pear\HTML\Progress.php" to run. This is probably due to either an "include" or a "require" statement in the ErrorStack.php code.

    Your options are
    1) Check ErrorStack.php to make sure its looking for the right file or
    2) Make sure c:\program files\easyphp1-8\www\commencebl\includes\pear\HTML\Progress.php exists.

  • #3
    New Coder
    Join Date
    Aug 2005
    Posts
    63
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by bcarl314
    That error means your php code in the file "ErrorStack.php" is looking for this file "c:\program files\easyphp1-8\www\commencebl\includes\pear\HTML\Progress.php" to run. This is probably due to either an "include" or a "require" statement in the ErrorStack.php code.

    Your options are
    1) Check ErrorStack.php to make sure its looking for the right file or
    2) Make sure c:\program files\easyphp1-8\www\commencebl\includes\pear\HTML\Progress.php exists.
    The c:\program files\easyphp1-8\www\commencebl\includes\pear\HTML\Progress.php definitely exists. It works totally fine on the website but cant seem to work on my local system.

    Sorry, i cant give you the website link because only administrators are allowed to access it. But if it works on a website, shouldnt it work on my computer too?

  • #4
    Mega-ultimate member
    Join Date
    Jun 2002
    Location
    Winona, MN - The land of 10,000 lakes
    Posts
    1,855
    Thanks
    1
    Thanked 45 Times in 42 Posts
    Does "c:\program files\easyphp1-8\www\commencebl\includes\pear\HTML\Progress.php" exist on your local system? In the same place?

  • #5
    New Coder
    Join Date
    Aug 2005
    Posts
    63
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I managed to solve the problem already. Apparently, there was an extra single quote in the path statement. Weird how it got there, but i managed to fix it. Thanks a lot for your help.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •