Capone : works but less options
-
try 1759, it it finds a match it will do it’s thing, if not, nothing is returned and will give you a blank screen. I’ll try a better means anyway, but for now it should be fine.
Your code base could be easily minimized with:
[php]throw new Exception((count($ret) > 0 ? implode($ret) : base64_encode(‘null’));[/php]
-
Thanks! It is working. With no matches, it stays at “Looking for images…”, which is enough of a hint for now.
-
if you can try 1760 as I’ve added the suggestion and counter.
-
Bad news: comes back with an error saying its unable to determine OS type. Looks like it’s because the information is encoded twice. When I removed the base64_encode from the thrown exception on line 42, Capone works fine afterwards, both with a DMI match and without (gives the no image found error).
Sorry Tom, I know you want to be done with capone.php
-
1765 : unable to determine OS type
I change line 42 and it’s OK
-
[quote=“TheKoR, post: 28597, member: 24285”]1765 : unable to determine OS type
I change line 42 and it’s OK[/quote]
What did you change it to? This helps us when you leave information rather than just saying you solved the issue.
-
I do what xvierc said on the previous post : “I removed the base64_encode from the thrown exception on line 42”
-
This is the line you changed?
[php]throw new Exception(base64_encode((count($ret) > 0 ? implode(“\n”,$ret) : ‘null’)));[/php]It should only send a “null” if it can’t find the data you’re requesting. This line should NOT be changed. While it works for you, it may break other things down the line.
If you’re good with commenting and changing it out, that’s great, but when/if you have issues, You will NEED to specify that you made your own changes as it makes it extremely difficult for us to help you troubleshoot especially if you’re customizing your own code.
-
Ahhhhh
NM, I’ll fix and send it up.
-
1766 : all is OK
-
Thank you! Thank you! Thank you!