Closed Glaived closed 9 years ago
Well that is definitely really really weird, thanks for the informative report.
The serialzed string throws an equally weird [ Notice ] unserialize(): Error at offset 680 of 2802 bytes
which, I'm guessing is because the description field of the first array is denoted as s:513
which means it's a 513-length string, but it ends with "About Magicka: Wizard Wars: Mag..." and is actually 503 chars long including the "...". I have no remotest idea why this might be happening save for null-bytes or other untype-able characters in the text. Could you please try the WIP branch and see whether it handles the array correctly:
https://github.com/raveren/kint/tree/1.0.0-wip
thanks again!
Same problem with: "raveren/kint": "~1.0@dev"
:'(
could you please try \Kint::dump( $items[1] );
and tell me what type does kint report, it should be "string UTF-8", what does it say about the length of the string?
or, rather
ini_set( 'display_errors', 1 );
error_reporting( -1 );
\Kint::dump( $items[1]['description'] );
"raveren/kint": "~1.0@dev"
ini_set( 'display_errors', 1 ); //
error_reporting( -1 ); //
\Kint::dump( $items[1]['description'] ); //
var_dump( $items[1]['description'] ); //
die(__FILE__.':'.__LINE__); //
Crap, I cannot pinpoint the source of the error unless you could give me the source of the above page, but not copy pasted, but saved webpage, 'cause there's something strange with the "Locate target..." text and I need it in its fullest (i.e. the var_dump, I hope it dumps invisible symbols too) to reproduce the error - and the js one too :/
I'd really appreciate this, send the saved page if you find the time to raveren@gmail.com - thanks a lot!
Currently, I board failed to reproduce the problem, the data is recovered via parsing a remote site from the HTML corp, I'll still create a clone of my project, clean it, then tried to reproduce the problem, once done, I would be providing you here on github, a zip file containing my application.
Thanks! You could just give me the url of the site you're parsing, I can get its source myself :)
On Wed, Oct 1, 2014 at 10:57 AM, GlaiveÐ notifications@github.com wrote:
Currently, I board failed to reproduce the problem, the data is recovered via parsing a remote site from the HTML corp, I'll still create a clone of my project, clean it, then tried to reproduce the problem, once done, I would be providing you here on github, a zip file containing my application.
— Reply to this email directly or view it on GitHub https://github.com/raveren/kint/issues/133#issuecomment-57430723.
the site is local, you want the PHP or HTML content back?
the html please, I need the string that fails to show, but do not simply copy paste it, I need the source file, cause it might lose invisible characters or misencodes if you paste it...
On Wed, Oct 1, 2014 at 11:00 AM, GlaiveÐ notifications@github.com wrote:
the site is local, you want the PHP or HTML content back?
— Reply to this email directly or view it on GitHub https://github.com/raveren/kint/issues/133#issuecomment-57431017.
Well, I will provide it as soon as possible on the web address, or the information I get is this: http://eu.alienwarearena.com/giveaways (with cookie home_site=eu.alienwarearena.com;
to bypass security)
can I ask you a favor again? Could you paste the output of:
ini_set( 'display_errors', 1 ); //
error_reporting( -1 ); //
sd(
base64_encode( $items[1]['description'] ),
get_loaded_extensions(),
phpversion()
);
hey, you still here? :) I'd like to finish this..
sorry for the wait
php 5.5.9
ext:
Core
bcmath
calendar
ctype
date
ereg
filter
ftp
hash
iconv
json
mcrypt
SPL
odbc
pcre
Reflection
session
standard
mysqlnd
tokenizer
zip
zlib
libxml
dom
PDO
bz2
SimpleXML
wddx
xml
xmlreader
xmlwriter
apache2handler
openssl
curl
mbstring
exif
mysql
mysqli
Phar
pdo_mysql
pdo_sqlite
mhash
xdebug
Information from a remote site, I do not think I can reproduce the bug. I try and no problems ^^
if this cannot be reproduced anymore, I'm closing it :)
serialize()