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

Class not found #33

Open
boionfire81-zz opened this issue Nov 11, 2018 · 2 comments
Open

Class not found #33

boionfire81-zz opened this issue Nov 11, 2018 · 2 comments

Comments

@boionfire81-zz
Copy link

Class 'ParagonIE\AntiCSRF\AntiCSRF' not found

structure:
domain.com/index.php ----> require('myincludes/myautoloader.php');
domain.com/my includes/myautoloader.php
domain.com/my includes/ParagonIE/AntiCSRF/AntiCSRF.php
domain.com/my includes/ParagonIE/yourautoloader.php

myautoloader.php calls
ParagonIE/yourautoloader.php

Which is copy/pasted from here.

@boionfire81-zz
Copy link
Author

P.S. I also use your constanttime code as this script seems to require it.

Structure:
domain.com/index.php ---->require('myincludes/myautoloader.php');
domain.com/my includes/myautoloader.php ----->require('ParagonIE/yourautoloader.php');
domain.com/my includes/ParagonIE/ConstantTime
domain.com/my includes/ParagonIE/ConstantTime/Base32.php etc etc

@Kooser06
Copy link

Kooser06 commented Feb 11, 2019

Please make sure you use the autoloader in the repository. require_once __DIR__ . '/path/to/autoloader/autoload.php';. This is located here https://github.com/paragonie/anti-csrf/blob/master/autoload.php. Also please provide your code.

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