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

view->setParamToView crash the server with complex arrays #1

Closed
somms opened this issue Mar 25, 2012 · 2 comments
Closed

view->setParamToView crash the server with complex arrays #1

somms opened this issue Mar 25, 2012 · 2 comments

Comments

@somms
Copy link

somms commented Mar 25, 2012

I'm using php_phalcon.dll, version 5.3.9RC2-dev

When a use $this->view->setParamToView in my controller with a complex array, Apache crashes.

This works:

$this->view->setParamToView('errors' , array('value1'=>'test','value2'=>'test'));

This doesn't:

$this->view->setParamToView('errors' , array('value1'=>array('value1-1'=>'test'),'value2'=>'test'));

@phalcon
Copy link
Collaborator

phalcon commented Mar 26, 2012

Hi, thanks for reporting it, but this seems to have been fixed in the 0.3.x branch, can you try again with phalcon 0.3.2?

@somms
Copy link
Author

somms commented Mar 26, 2012

0.3.2 works smoothly. Thanks

@somms somms closed this as completed Mar 26, 2012
@salarmehr salarmehr mentioned this issue Nov 11, 2012
phalcon pushed a commit that referenced this issue Jul 17, 2013
phalcon pushed a commit that referenced this issue Oct 9, 2013
Copying array simplified and WORKING
ovr pushed a commit to ovr/cphalcon that referenced this issue Dec 25, 2013
- Adding commands to install requirements on Ubuntu
ovr pushed a commit to ovr/cphalcon that referenced this issue Dec 25, 2013
niden pushed a commit that referenced this issue Jan 10, 2019
ruudboon added a commit that referenced this issue Feb 8, 2020
[issue] - Adjustments to the test; trying to reproduce #14783
@ghost ghost mentioned this issue Jan 24, 2023
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