iainurquhart / Nolan

Kinda like inception, but for Matrix.
1 stars 0 forks source link

PHP error #1

Closed eheiser closed 12 years ago

eheiser commented 12 years ago

Hi Iain, I'm trying your Nolan field to squeeze a little extra from a matrix set-up but I keep getting a php error in the cp:

A PHP Error was encountered

Severity: Notice

Message: unserialize() [function.unserialize]: Error at offset 14 of 95 bytes

Filename: nolan/ft.nolan.php

Line Number: 95

It renders fine in the template (once) oddly enough, but when I go back to edit the entry the Nolan data is gone - on top of the php errors.

If you could have a look I'd appreciate it. I can send over a CP login and EE login if needed. (will need your email though).

eheiser commented 12 years ago

Running EE2.4.0 and php version is 5.2.17

iainurquhart commented 12 years ago

Hi Erwin, what are the values you've entered for Column Labels and Column Names fields in the nolan config.

eheiser commented 12 years ago

And also seeing this error:

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/hotelhun/domains/hotelhungaria.be/public_html/cmssystem/codeigniter/system/core/Exceptions.php:170)

Filename: core/Common.php

Line Number: 409
eheiser commented 12 years ago

Labels: Text | Auteur Names: quote | quotee

iainurquhart commented 12 years ago

For anyone else following along:

Since the 2.3 update to Matrix, Matrix seems to be encoding quotes which is making the serialized array of Nolan data invalid.

I've pinged Brandon to suss out the best way forward and will come up with a solution as soon as possible: http://help.pixelandtonic.com/brandonkelly/topics/matrix_cells_encoding_double_quotes