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

PHP-Serializer value view Error (0.8.0.3844) #3506

Closed
amoogi opened this issue Oct 16, 2015 · 2 comments
Closed

PHP-Serializer value view Error (0.8.0.3844) #3506

amoogi opened this issue Oct 16, 2015 · 2 comments
Labels
Milestone

Comments

@amoogi
Copy link

amoogi commented Oct 16, 2015

E.g.:

a:7:{i:0;O:8:"stdClass":4:
{s:10:"reward_srl";s:1:"1";s:15:"reward_prize_id";s:2:"74";s:11:"reward_disp";s:5:"50
";s:9:"give_type";s:6:"marble";}i:1;O:8:"stdClass":4:
{s:10:"reward_srl";s:1:"2";s:15:"reward_prize_id";s:2:"75";s:11:"reward_disp";s:5:"50
";s:9:"give_type";s:6:"marble";}i:2;O:8:"stdClass":4:
{s:10:"reward_srl";s:1:"3";s:15:"reward_prize_id";s:2:"76";s:11:"reward_disp";s:5:"50
";s:9:"give_type";s:6:"marble";}i:3;O:8:"stdClass":4:
{s:10:"reward_srl";s:1:"4";s:15:"reward_prize_id";s:2:"77";s:11:"reward_disp";s:6:"100
";s:9:"give_type";s:6:"marble";}i:4;O:8:"stdClass":4:
{s:10:"reward_srl";s:1:"5";s:15:"reward_prize_id";s:2:"78";s:11:"reward_disp";s:5:"80
";s:9:"give_type";s:6:"marble";}i:5;O:8:"stdClass":4:
{s:10:"reward_srl";s:1:"6";s:15:"reward_prize_id";s:2:"79";s:11:"reward_disp";s:5:"80
";s:9:"give_type";s:6:"marble";}i:6;O:8:"stdClass":4:
{s:10:"reward_srl";s:1:"7";s:15:"reward_prize_id";s:2:"80";s:11:"reward_disp";s:6:"300
";s:9:"give_type";s:6:"marble";}}

=> "Error: Invalid PHP Serialized String: TypeError: Cannot read property 'SyntaxError' of undefined"

English only support?

@uglide uglide added the bug label Oct 23, 2015
@uglide uglide modified the milestones: 0.8.1, 0.8.2 Oct 23, 2015
@SergeC
Copy link

SergeC commented Oct 23, 2015

Just installed version 0.8.1-114 and I have the same issue with PHP serialized values. HEX view only works. I'm using Ubuntu 14.04 LTS

uglide added a commit that referenced this issue Oct 29, 2015
- Use php-unserialize-js instead of functions from phpjs.org
- Make php value view formatter read-only
- Enhance detection of php serialized strings
- Add general improvements to formatters
@uglide
Copy link
Collaborator

uglide commented Oct 29, 2015

Fixed in 0.8.2

@uglide uglide closed this as completed Oct 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants