averyvery / Freebie

EE 2.0 extension for ignoring specific segments when routing
57 stars 8 forks source link

PHP Errors when upgrading Freebie from 0.1.3.3 to 0.1.3.4 #13

Closed ghost closed 13 years ago

ghost commented 13 years ago

Hi there,

I've just upgraded my second site from Freebie 0.1.3.3 to 0.1.3.4, and each time, I've had the following PHP errors in the control panel:

A PHP Error was encountered
Severity: Notice
Message: Undefined index: always_parse_pagination
Filename: freebie/ext.freebie.php
Line Number: 83

A PHP Error was encountered
Severity: Notice
Message: Undefined index: always_parse_pagination
Filename: freebie/ext.freebie.php
Line Number: 246

A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/my_account/public_html/my_system/codeigniter/system/core/Exceptions.php:170)
Filename: libraries/Functions.php
Line Number: 767

A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/my_account/public_html/my_system/codeigniter/system/core/Exceptions.php:170)
Filename: libraries/Functions.php
Line Number: 393

I couldn't to access any of the control panel without deleting the Freebie row in exp_extensions. After doing this, I was able to access the control panel again. I then installed Freebie again and it worked fine.

Just thought I'd let you know in case it isn't just happening to my installation.

Thanks,

Stephen

averyvery commented 13 years ago

Note to self: don't accept pull requests without testing.

I'll fix this tonight and get back to you when I push. Thanks for catching.

averyvery commented 13 years ago

Ok, I believe I've fixed it to auto-reset the fields when a user updates. I'll test this weekend. Thanks for pointing out the issue!

ghost commented 13 years ago

Hi Doug,

Excellent, thanks for fixing that so quickly. :)

Thanks,

Stephen