Re: [fltk.development] Access to Forum and STR pages

2013-04-13 Thread Duncan Gibson
Me:
>> Anyway, I was about to update the commits graph on Article #825,
>> and went to http://fltk.org/site/str.php?L2806 to download the
>> python and gnuplot scripts only to find the attachments all appear
>> to be 0k and then give a Not Found message if I click on them.

Greg:
>   Hmm, where did you get that link from?
>   It's subtly different than what it should be.
>   (the "/site/" after the domain name seems wrong)
>
>   I looked at article #825 but didn't see that link in there,
>   so curious where it came from.

I just cut and pasted the start of the URL from the firefox address
bar so that should be "right". I didn't really think about it.

The 2806 is an RFE on the WebSite STR list which I can only ever
find via the [developer] WebSite tab or MyAccount after I login,
whereas 825 is an article under the FLTK Library tab and is always
visible, but only modifiable after I login. So the two come from
different parts of the hierarchy.

In Article 825 I found the predecessor of the following link worked:
http://www.fltk.org/strfiles/2806/fltk-commits-2013-04-16a.png
so I used the stem to download fltk.py and fltk-all-stacked.gnuplot

Anyway, I managed to update, so don't worry about the PEBCAK this end.

D.
___
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev


Re: [fltk.development] Access to Forum and STR pages

2013-04-13 Thread Greg Ercolano
Glad you've got the login stuff sorted.

However, this is weird:

On 04/13/13 03:27, Duncan Gibson wrote:
> Anyway, I was about to update the commits graph on Article #825, and
> went to http://fltk.org/site/str.php?L2806 to download the python and
> gnuplot scripts only to find the attachments all appear to be 0k and
> then give a Not Found message if I click on them.

Hmm, where did you get that link from?
It's subtly different than what it should be.
(the "/site/" after the domain name seems wrong)

I looked at article #825 but didn't see that link in there,
so curious where it came from.

Yes, if I visit that link shown above, the STR shows OK,
but none of the attachments work.

But if I visit the STR links auto-posted to the fltk.dev group
for the changes you made, that link works normally, and all the
attachments show up fine.

So in other words, comparing the "bad" link above,
and the "good" link from the STR system:

 BAD: http://fltk.org/site/str.php?L2806
GOOD: http://www.fltk.org/str.php?L2806

The "www." part seems irrelevant, but the "/site/" part is
what seems to be bad. So removing the 'www.' I get:

 BAD: http://fltk.org/site/str.php?L2806
GOOD: http://fltk.org/str.php?L2806

In both cases the STR shows fine, just the attachments won't show
for the BAD link. (The attachments have the "/site/" prefix too, which
is the problem)

Probably something that can be fixed in the PHP, but I'm wondering
where that bad link came from to begin with.

Perhaps the BAD link is just "old", and the php scripts were modified
to have simpler URLs, so links from ages ago might be partially broken,
and our str.php script could simply strip off the /site/ part of the URL
(if any) to make "old" links work OK.
___
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev


Re: [fltk.development] Access to Forum and STR pages

2013-04-13 Thread Duncan Gibson
> Anyway, I was about to update the commits graph on Article #825, and
> went to http://fltk.org/site/str.php?L2806 to download the python and
> gnuplot scripts only to find the attachments all appear to be 0k and
> then give a Not Found message if I click on them.
>
> Anyway, by using the path to the graph Article #825 I was able to
> download the, and generated a new commits graph, but was then unable
> to Post File from the user's interface to the STR, and couldn't from
> the developer's Modify STR interface either. In both cases I got an
> "Unable to save file to STR!" message.

Typical! After logging out and back in, I was able to post the png to
the str only to find I'd forgotten to update the x-axis range, but at
least it worked, and was able to download a second. Maybe there's some
environment or cookie that isn't set correctly on all paths through
the web site.

So it looks like it was a glitch or the gremlins. Ignore this thread.

D.
___
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev