You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded the git repository's zip file and copied src/JAXL into a new directory, from which I required jaxl.php . This gave me the following error:
Uncaught Error: Class 'XMPPStream' not found in [path]\jaxl.php:53
(where [path] is the path to the copied JAXL library)
Attempting to package the library into a phar file and require that file in my project gave me the same error. It seems the problem lies with JAXL not autoloading classes.
How do I get jaxl to run given this situation? If the solution is obvious, I apologize, as I haven't worked with PHP libraries for very long.
The text was updated successfully, but these errors were encountered:
I've got it working with regular "require" loading. Not as efficient, but it works and leaves composer out of the mix. The loading order is important...
I downloaded the git repository's zip file and copied src/JAXL into a new directory, from which I required jaxl.php . This gave me the following error:
Uncaught Error: Class 'XMPPStream' not found in [path]\jaxl.php:53
(where [path] is the path to the copied JAXL library)
Attempting to package the library into a phar file and require that file in my project gave me the same error. It seems the problem lies with JAXL not autoloading classes.
How do I get jaxl to run given this situation? If the solution is obvious, I apologize, as I haven't worked with PHP libraries for very long.
The text was updated successfully, but these errors were encountered: