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

require path not correct when downloaded as master.zip #4

Open
foovax opened this issue Apr 13, 2018 · 1 comment
Open

require path not correct when downloaded as master.zip #4

foovax opened this issue Apr 13, 2018 · 1 comment
Assignees
Labels

Comments

@foovax
Copy link

foovax commented Apr 13, 2018

Warning: require(/home/private/AwstatsParser-master/src/AaronVanGeffen/AwstatsParser/AwstatsMerger.php): failed to open stream: No such file or directory in /home/private/AwstatsParser-master/awmerge.php on line 21

I'm unsure if this is related to the way I've obtained the files but there is no src/AaronVanGeffen/AwstatsParser/ folder when downloading as a zip file.

By changing line 22:

require dirname(FILE) . '/AwstatsParser/' . $className . '.php';

The script worked as expected.

@AaronVanGeffen
Copy link
Owner

Thanks for your report. I'm glad to hear you managed to get it working, though!

I can confirm this is indeed a mistake in the script, probably an oversight in the process of refactoring the repository. Will look into addressing it soon.

@AaronVanGeffen AaronVanGeffen self-assigned this Apr 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants