-
Notifications
You must be signed in to change notification settings - Fork 12
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
Sacy not creating cache and weird file issue #15
Comments
Ok I just read up on what __halt_compiler(); does so I guess we can ignore the binary code, Also since recompiling with
Commented out it doesn't throw the SHA1 error I guess I edited the wrong file before and instead of editing the source and rebuilding I must have been editing the final file directly. But even with all that still not sure why its not creating the cache files or working correctly :( |
The output of
points to an issue with the signature of the phar file. |
Hi pilif thanks for getting back to me, I turned phar.require_hash off which fixed the SHA1 issue. However, the cache files are still not being generated. Also just to double check ASSET_COMPILE_OUTPUT_DIR should be an absolute path right? because If I set a relative path (assets/cache) it throws:
However, it does correctly create the fragments directory, just not the cache files. With an absolute path it doesn't throw this error and still creates the fragments directory as it should but it still doesn't create the cache files |
Hi firstly I would like to say thanks for providing this library.
I seem to be having a few issues:
1: Sacy creates the fragments directory correctly but doesn't generate the cache files.
I'm guessing it might be related to issue 2
2: In the generated file (block.asset_compile.php) there is some weird characters which I don't think are mean't to be present in the file, They start at around line 124, Annoyingly though GitHub won't copy the characters in so I've attached a screenshot of the area I'm talking about.
The very last issue I seem to get is if I comment out the following bit of code at line 84
I then get the following error
Now this error might just be because I commented out that code snippet above but I thought I would paste it here in case it was of any help, I commented it out as I'm trying to debug the issues I'm having.
I'm using the latest HEAD, Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: