i see more error in error log (thanks to apache error handler mod) related to screenshots in download area:
-
Error 404 - Not Found (http://darkwolf.altervista.org/forum/tpmod/1235006467Theme_royal-noir-remixed.jpg)
File: user
-
Download area template search image in a bad url and not showing properly the screenshot:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg8.imageshack.us%2Fimg8%2F9784%2Fimagetpqc2.th.jpg&hash=e3e1efff5758312fdc2a0ba709dead55a155e82e) (http://img8.imageshack.us/img8/9784/imagetpqc2.jpg)
-
This problem is caused by this code line in TPdlmanager.template.php:
' , !empty($last['screenshot']) ? '<div style="margin-right: 5px; background: url('.$last['screenshot'].') no-repeat; float: right; width: '.$context['TPortal']['dl_screenshotsize'][0].'px; height: '.$context['TPortal']['dl_screenshotsize'][1].'px;" class="windowbg3"></div>' : '' , '
i've applied a momentarily patch with this code bloc:
$count=1;
if(!empty($context['TPortal']['dl_last_added']))
{
foreach($context['TPortal']['dl_last_added'] as $last)
{
$screenlink = $last['screenshot'];
$findlink = '/tp-images/dlmanager/thumb/';
$pos = strpos($screenlink, $findlink);
if ($pos === false) {
$directoryth = ''.$boardurl.''.$findlink.'';
} else {
$directoryth = '';}
echo '
<div class="dl_last_added windowbg" style="overflow: hidden;">
' , !empty($last['screenshot']) ? '<div style="margin-right: 5px; background: url('.$directoryth.''.$last['screenshot'].') no-repeat; float: right; width: '.$context['TPortal']['dl_screenshotsize'][0].'px; height: '.$context['TPortal']['dl_screenshotsize'][1].'px;" class="windowbg3"></div>' : '' , '
<div class="body" style="padding-left: 5px; margin-right: '. ($context['TPortal']['dl_screenshotsize'][0] + 15) .'px;">
<h3><a href="'.$last['href'].'">'.$last['name'].'</a></h3>
' , !empty($last['text']) ? '<p class="middletext">'.$last['text'].'</p>' : '' , '
<p class="smalltext dl_details"><img src="'.$settings['tp_images_url'].'/glyph_author.png" alt="*" /> '.$last['author'].' <img src="'.$settings['tp_images_url'].'/glyph_down.png" alt="*" /> '.$last['downloads'].' <img src="'.$settings['tp_images_url'].'/glyph_date.png" alt="*" /> '.$last['date'].'</p>
</div>
</div>';
}
}Result here:
http://darkwolf.altervista.org/forum/tpmod/?dl=temi-windows-xp
Smf 1.1.9 (tested also with a clean installation and default theme) and tp 1beta4 (present also in beta3) :)
More info here:
http://www.tinyportal.net/index.php/topic,28401.msg237692.html#msg237692
Again Darkwolf, i have to ask you NOT to put anything in the bugtracker until we are sure it's bugs we are dealing with.
Also when posting in the bugtracker, we want you to use NOTHING but the DEFAULT smf Core theme as thats the theme TP is built on.
Errors like you posted there can (and are most likly ) theme issues.
So to be sure of things, please dont post bugs until we narrow them down in the support board first.
So when you see and have issues, please post them in the support board first, if we cant solve them there, we know where to send you. If it's a theme issue, the theme creator have to deal with them, if it's a TP bug, them Bloc or any one else here have to deal with that.
So no more bug reports with any thing else but defaults in the bugtracker and not until they have been tested by us in the support forum board. :up:
Sorry G6 but i've posted this bug from 1beta3 without great result and still present in beta4.
Now i've found a fix and i have posted here with all info.
IMHO is a good way to post a bug, if for you is a problem u can delete and in the next time i never report other bug.
In header of this site i see:
Contribute; Report a bug.
QuoteSmf 1.1.9 (tested also with a clean installation and default theme) and tp 1beta4 (present also in beta3)
This i a bug and i've reported. That's all.
If u don't want maybe is best to remove permission in bugtracker.
Kind regards, DarkWolf.
We want our members to be able to post bugs in the bug tracker, but not until we are sure they really are bugs.
Thats why we like to have all issues regarding tp posted in the support forum so we can test and look at it there, IF it then show as a bug, we ask our members to post in the bug tracker.
You do great with your posting, but it would be better if you started in the support board for us to test diffrent things before we send it to the bug tracker.
Also errors and bugs have to be tested with the default Core theme as TP is built for that theme in first hand.
Themes as we all know of generate errors and some times ( quite often even ) they are the cause of errors all over and not tp it'self.
Have you see here (February 19, 2009, 01:48):
http://www.tinyportal.net/index.php/topic,28401.msg226228.html#msg226228
Now is 1 June (4 months ago) and only answer from IchBin
QuoteNo idea how to fix. You need to go through the manual install and make sure all things have been done if your editor is not working. If that doesn't work, check your theme and any other mods you may have installed and make sure there is no conflict by removing any custom code etc.
The thumb image, yes I see that it is not displaying. I'll test that on my install and make sure.
After 4 months i've reported again:
http://www.tinyportal.net/index.php/topic,28401.msg237692.html#msg237692 and now (after a fix) i've reported here.
If i don't report here is probably this bug still remain also for next release.
Report here, after 4 months, and another release IMHO is necessary.
-
And, repeat, first to report a bug i test all in local with wamp
Clean installation, never one mod (except tinyportal), English-Default language, Default theme.
Yes, 4months old and because you are the only one with that error.
So thats the very reason I ask you to post in the support board and not in the bugtracker as you still use non defaults for both theme, and language on your forum.
From another older screenshot i saw before i also noticed you have other mods installed to.
So please post your issues in the support and we go from there.
A bug in a script is when several people including us that test this have the same issues as you. When you ALONE have one issue that noone can duplicate for over 10k sites, it's hard to say it's a bug in TP, it's more of an error in your own install, theme, langauge, other mod etc etc.
G6: no other people can see this error maybe because it don't use apache error handle mod.
With apache error handle you can see all apache error (like this 404).
I've already test in local without any mod and only tp + smf.
This error don't show in error log (without apache mod) but screenshot isn't visible in download area (in output html code you can see error).
This screenshot is in css for this reason you can't see classic red-X for image.
No many people can see an invisible (but existent) bug.
For me isn't a problem, i can use my fix.
If u want maintain this "hidden bug" in next release for me is ok.
-
I've reported to share with other member and because i want contribute with tp not to discuss like children.
Forum and (only) tinyportal reinstalled 5minut ago:
Upload two files with two screenshots:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg17.imageshack.us%2Fimg17%2F6223%2Fpreviewxyb.th.jpg&hash=a8e76a4c9855bc8bf404381795bc3d699f4bb146) (http://img17.imageshack.us/img17/6223/previewxyb.jpg)
bugmenot debug:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg27.imageshack.us%2Fimg27%2F4927%2Fbugmenot.th.jpg&hash=0b6b379a2d535fb7010b95471c8fe28771fa5842) (http://img27.imageshack.us/img27/4927/bugmenot.jpg)
With my fix:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg10.imageshack.us%2Fimg10%2F8205%2Ffixedz.th.jpg&hash=ebeb6c57924e7e1f169b67f744ba8d552a1cad2b) (http://img10.imageshack.us/img10/8205/fixedz.jpg)
bugmenot debug after fix:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg23.imageshack.us%2Fimg23%2F3725%2Fbugmefix.th.jpg&hash=260c177a878562a1550fca2fd3edb8cc0ca03faa) (http://img23.imageshack.us/img23/3725/bugmefix.jpg)
-
I hope that now you don't have more others doubt :|
Yes i have doubts as you seem to be the only one with this error
Quote from: G6 on June 01, 2009, 09:06:04 PM
Yes i have doubts as you seem to be the only one with this error
Oh my god ???
Fresh installation; no mods; no language (only default english); many unequivocal screenshots; bugmenot debug; code fix; and you continue to have doubts? :o
-
Ok G6, is not a bug! :down:
If only one person found a bug
IS NOT A BUG.
U can close this bugreport, my mistake ;)
Didnt say it WASENT a bug. Just asked you to start posting your issues you find in the support forum firts so we can check things out there and ask questions etc to see if the issues are bugs or now, If they are THEN we will ask you to post in the bugtracker.
Is that so hard to do ?
He has a topic, and has for some time G6. I think its ok that he added this to the bug tracker. If its a duplicate or not a bug, we can verify it and then mark it as so. He seems to have done his home work pretty good if you read through the topic too.
Quote from: G6 on June 01, 2009, 09:46:09 PM
Didnt say it WASENT a bug. Just asked you to start posting your issues you find in the support forum firts so we can check things out there and ask questions etc to see if the issues are bugs or now, If they are THEN we will ask you to post in the bugtracker.
Is that so hard to do ?
Another? Maybe for other 4 months?
I've already make a topic for this. I think isn't necessary to make another for this.
Quote from: IchBinâ„¢ on June 01, 2009, 10:05:39 PM
He has a topic, and has for some time G6. I think its ok that he added this to the bug tracker. If its a duplicate or not a bug, we can verify it and then mark it as so. He seems to have done his home work pretty good if you read through the topic too.
Thanks IchBin (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.hwupgrade.it%2Fforum%2Fimages_hwu%2Fsmilies%2F32.gif&hash=ab96bb7349f0c385e25f29428c3e621b6fe91385)
Just want to say that I have this bug too. I didn't look into it much though because I was working on other bugs. To me it seemed like a wrongly formatted link code. Off the top of my head it looked like $scripturl (?) hadn't been used to make the link to display the image.
Found this bug in Beta 4, using Default theme and no mods.
Thanks for reports :)
In realty it can't use $scripturl (youriste/forum/index.php) but is necessary to use: $boardurl (yousite/forum) + /tp-images/dlmanager/thumb/ to obtain a full url like this: http://darkwolf.altervista.org/forum/tp-images/dlmanager/thumb/1235006366Theme_firefox.jpg
With fix in first post now work fine for me ;)
I noticed that it was working on the first page, but not when you go deeper into the categories - if you do that then the url is not being built properly.
But okay I see what you did there with the fix. That makes sense to me now I looked at it properly. Thanks :)
I am not sure where the trouble is here, as TP *already* adds the path of boardurl+tp-images/dlmanager/thub if the "screenshot" field in db is filled with something.
I can't see where the error comes from then. Did you check the db field "screenshot" in each case and find out if it contained only the filename?
I can't show it on my site as it's off-line. But I have seen the same bug on another forum. Check this out :
http://carraralounge.com/index.php?action=tpmod;dl=cat8
See the missing images ?
Hope that helps.
Scroll down too...that's what happened to me on my test site.
Hi Bloc :)
I've see in my db, this is the result:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg40.imageshack.us%2Fimg40%2F4149%2Fcreenshot.gif&hash=7986b8557c030bbd15cd4f82f518ab3bb91986e1)
Same here...it's not pointing to the thumbnail it appears.
That IS the thumbnail..or is the filename wrong?
The file name is right but it's not pointing to the thumb directory.
THis is the HTML behind it :
<div style="margin-right: 5px; background: url(1247256915nullsgalore.jpg) no-repeat; float: right; width: 80px; height: 80px;" class="windowbg3"></div>
But the thumb is in this directory :
tp-images\dlmanager\thumb
So I think it should be :
<div style="margin-right: 5px; background: url(tp-images/dlmanager/thumb/1247256915nullsgalore.jpg) no-repeat; float: right; width: 80px; height: 80px;" class="windowbg3"></div>
...or something like that..
Sorry bloc, my english is really poor.
But problem (bug) is also present in this site.
Go here:
http://www.tinyportal.net/index.php?action=tpmod;dl=cat47
And see "As Theme" like in this screenshot (i've cut unnecessary to reduce dimension)
Fixed for TP 1.0 beta 5.
Quote from: Bloc on October 07, 2009, 07:39:51 PM
Fixed for TP 1.0 beta 5.
Thanks bloc, but i've seen now that is still present in this site with this new tp release ;)
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg37.imageshack.us%2Fimg37%2F909%2Fscreenbug1.th.png&hash=86c640ad534a09a3de9ba8d83a3b03af64eceebc) (http://img37.imageshack.us/img37/909/screenbug1.png)
Quote from: Dark-Wolf on December 27, 2009, 03:57:45 PM
Quote from: Bloc on October 07, 2009, 07:39:51 PM
Fixed for TP 1.0 beta 5.
Thanks bloc, but i've seen now that is still present in this site with this new tp release ;)
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg37.imageshack.us%2Fimg37%2F909%2Fscreenbug1.th.png&hash=86c640ad534a09a3de9ba8d83a3b03af64eceebc) (http://img37.imageshack.us/img37/909/screenbug1.png)
That could likely be because there is more than one version of the beta while we work out the bugs. :)
Quote from: IchBinâ„¢ on December 28, 2009, 09:30:53 PM
That could likely be because there is more than one version of the beta while we work out the bugs. :)
Ah, ok :)