Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception: File: "Classes/Library/IRC/Connection/Exception.php" not found #19

Open
phillpafford opened this issue Jul 10, 2012 · 2 comments

Comments

@phillpafford
Copy link

Exception: File: "Classes/Library/IRC/Connection/Exception.php" not found. in ~/IRCBot/Classes/Autoloader.php on line 40

I've looked in your repo but do not see this file

@DanielSiepmann
Copy link
Collaborator

Nope, The autoloader is trying to load the Exception.php

There must be an Exception and I don't know why the autoloader is trying to load the Exception-Class.

It's a Class inside PHP 5.1.0. Perhaps your PHP is a 4.x or something else?

@phillpafford
Copy link
Author

Running PHP 5.3.x and the error is I can't connect with fopensocket which is fine but I get the above message. I also used a try catch in my bot

try {
        $bot->connectToServer();
    } catch(Exception $e) {
        echo 'Exception Message: ' .$e->getMessage();
    }

but still the same error.

If I just add a shell Exception.php file the file note found goes away but I get another fatal error.

I'm sure once I fix the socket issue and can connect the problem will correct itself but wanted to bring this to someones attention

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants