Re: RE: 0.2.4pre2
Scott Brown <[email protected]> Mon, 29 Sep 2003 12:15:47 -0700
| Newsgroups | gmane.comp.bug-tracking.anthill.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, Vincent,
It didn't work. It behaves the same as though I had tried one "\", errors
every time I try to load functions (almost every page). There has got to be
a way to get it to properly interpret"\", but I'm not sure how. Maybe an
ASCII representation comparison?
Let me know!
--Scott
At 11:32 AM 9/29/2003, you wrote:
>On Mon Sep 29, 2003 at 10:06:18AM -0700, Scott Brown wrote:
>
> > Everything is looking super in 0.2.4pre2.
>
>Awesome!
>
> > Everything I have tested so far, which includes the issues we ran into on
> > Friday, seems to be just fine, cc emails are going out as expected, etc...
>
>Good.
>
> > I think there may be a couple of things related to the Windows vs. *nix
> > paths that are a little wacky, but I think I can deal with them.
> >
> > The full path info in the email was coming from this line (after checking
> > out the patch and such, I puzzled it out):
> >
> > - $stmpfile = ereg_replace($_CONF['shadowdir'] . "/","",$tmpfile);
> >
> > The slash is going the wrong direction for Windows, so it never catches
> it.
> > I tried changing it to "\", which of course didn't work, since "\" is an
> > escape character, so I tried "\\" for the heck of it, and that didn't
> work,
> > either. In the end, I changed the line to this:
> >
> > - $stmpfile = ereg_replace($_CONF['shadowdir'] ,"",$tmpfile);
>
>Can you try a triple slash? Ie. try \\\ and see if that works? One thing I
>can try doing is a determination of the host OS (I'll have to look into
>this). Ie. something like "if php_os = "WIN" slash = "\\\" else slash = "/"
>and then use $slash in the ereg_replace. But I'd like to know if \\\ works;
>being a perfectionist, I'd like to see the output identical on windows or
>nix.
>
> > Stopping it from looking for the trailing slash, be it forward or
> backward,
> > which solved the problem! I can live with the slash in front of the file
> > name. It comes out in the email like this now:
> >
> > --- 2 2003-09-29 09:47:22.000000000 -0700
> > +++ \2.t766.tmp 2003-09-29 09:48:52.000000000 -0700
> > @@ -43,3 +43,7 @@
> >
> > Which is totally acceptable, and for some reason, seems to have cured the
> > time interpretation issue, as you can see, the time is just fine now.
> > Earlier tests this morning were not. Yay!
>
>Excellent. Please try the triple \ and see if that works. I'd like to see
>that leading \ removed if possible.
>
> > Thanks so much for all of your help!
>
>You're welcome!
>
> > I will keep you updated on anything I run into along the way!
> >
> > Also, so you know, I started completely from scratch this morning with
> > 0.2.4pre2, and dropped the database I had been using, in favor of creating
> > a brand new one, using sql.dump from the 0.2.4pre2 release. This is
> > completely, 100% a fresh 0.2.4pre2 install!
>
>Sounds good. I do plan on the 0.2.4 release this week; I'm waiting for a
>few translations, but I think irregardless I'll be putting 0.2.4 out
>tomorrow, so any hammering you can do today would be extremely helpful.
>
>--
>MandrakeSoft Security; http://www.mandrakesecure.net/
>Online Security Resource Book; http://linsec.ca/
>"lynx -source http://linsec.ca/vdanen.asc | gpg --import"
>{FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD}
>
>
>_______________________________________________
>Anthill-users mailing list
>Anthill-users-+mQDA36h6dWw5LPnMra/[email protected]
>http://vmlinuz.ca/mailman/listinfo/anthill-users
_______________________________________________
Anthill-users mailing list
Anthill-users-+mQDA36h6dWw5LPnMra/[email protected]
http://vmlinuz.ca/mailman/listinfo/anthill-users