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

sacy not writing #13

Open
axs89 opened this issue Nov 16, 2012 · 2 comments
Open

sacy not writing #13

axs89 opened this issue Nov 16, 2012 · 2 comments

Comments

@axs89
Copy link

axs89 commented Nov 16, 2012

Hi-

We're trying out the sacy plugin on our environment (PHP 5.3). I ran the build.php with bundled CSS and Javascript minification. What's strange is that it's creating the fragments directory correctly, but it's neither writing any compiled assets into the directory or changing the HTML markup in any way. I am seeing the following errors in the apache error log:

[Fri Nov 16 21:05:08 2012] [error] PHP Notice:  Uninitialized string offset: 0 in /home/chrisg/projects/admin/lib/thirdparty/smarty/plugins/block.asset_compile.php on line 49
[Fri Nov 16 21:05:08 2012] [error] PHP Notice:  Undefined offset: 0 in /home/chrisg/projects/admin/lib/thirdparty/smarty/plugins/block.asset_compile.php on line 71
[Fri Nov 16 21:05:08 2012] [error] PHP Notice:  Undefined variable: res in /home/chrisg/projects/admin/lib/thirdparty/smarty/plugins/block.asset_compile.php on line 120

But that's it in terms of errors. What's the best way to go about debugging this?

Thanks!

@pilif
Copy link
Owner

pilif commented Dec 6, 2012

What version of sacy are you seeing this with? Have you tried latest HEAD?

@axs89
Copy link
Author

axs89 commented Dec 10, 2012

Yes, we're using the latest HEAD. We're still working through some of the issues and trying to debug. Out of curiosity (I'm a bit of a PHP / Phar newbie), is there a way to compile block_asset_compile.php without the signature checking? That would make it a bit easier to debug.

Thanks for your help!

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