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

installation problem #1

Closed
AliHichem opened this issue Jan 15, 2012 · 8 comments
Closed

installation problem #1

AliHichem opened this issue Jan 15, 2012 · 8 comments

Comments

@AliHichem
Copy link

Hi,

I tried to install your bundle but after complete installation/configuration, I get this error :

Fatal error: Class 'n3b\Bundle\Util\HttpFoundation\StreamResponse\StreamWriterWrapper' not found in

Question: how did symfony will autoload these specific libraries ? I don't see them in the autoload and also I think that lowercase are not supported by the symfony2 class autoloader..

Regards

liuggio added a commit that referenced this issue Jan 16, 2012
@liuggio
Copy link
Owner

liuggio commented Jan 16, 2012

Hi,
thanks for contact me
i just committe the little patch on the readme file
you should add

    'n3b\\Bundle\\Util\\HttpFoundation\\StreamResponse'  => __DIR__.'/../vendor/n3b/src',

in the autoload.

but i don't understand your second question:
"I don't see them in the autoload and also I think that lowercase are not supported"
what do you mean?

@AliHichem
Copy link
Author

Hi Liuggio,

It's great that you already fixed the bug !

regarding my second question, I was talking about the symfony2 class loader: according to this link http://symfony.com/doc/2.0/components/class_loader.html, the class loader works only if you implement your classes with 2 type of convention and I think that they don't support namespaces with words that starts with lowercase like 'n3b'. But when I look at your fix, I suppose that this isn't the case.

@liuggio
Copy link
Owner

liuggio commented Jan 16, 2012

Thanks for reporting this error :)

@liuggio liuggio closed this as completed Jan 16, 2012
@rukbat
Copy link

rukbat commented Jul 18, 2012

Hello liuggio, I'm trying to install bundle via deps (branch developer) but I get the same error:

Fatal error: Class 'n3b\Bundle\Util\HttpFoundation\StreamResponse\StreamWriterWrapper' not found in [...]

Is documentation updated with known issues?

Thanks

@liuggio
Copy link
Owner

liuggio commented Jul 18, 2012

Hi
Are you using sf 2.0 isn't it?

Please don't use the develop branch is very old and unstable

you should use this commit on the master branch

https://github.com/liuggio/ExcelBundle/tree/dc2d489ab5caaa138b9d5777039d760231bf8379

let me know :)

@rukbat
Copy link

rukbat commented Jul 19, 2012

Yes, 2.0.

Following https://github.com/liuggio/ExcelBundle/tree/dc2d489ab5caaa138b9d5777039d760231bf8379 I get this error:

PHP Fatal error: Class 'liuggio\ExcelBundle\liuggioExcelBundle' not found in ../app/AppKernel.php on line xx

I changed to:

new liuggio\ExcelBundle\LiuggioExcelBundle(),

but now if I try to use in my controller I get:

You have requested a non-existent service "xls.service_xls5".

@liuggio
Copy link
Owner

liuggio commented Jul 19, 2012

If you are using that readme you should use also the code in that release locking the commit into the deps.lock

@rukbat
Copy link

rukbat commented Jul 19, 2012

Ok,

I put in deps.lock "liuggioExcelBundle dc2d489"
and follow this readme https://github.com/liuggio/ExcelBundle/tree/dc2d489ab5caaa138b9d5777039d760231bf8379
and it works.

Thank you.

liuggio pushed a commit that referenced this issue Apr 21, 2017
Remove cs-fixer from travis-ci
Tomsgu pushed a commit to Eziat/ExcelBundle that referenced this issue Jan 18, 2018
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

3 participants