RE: 0.2.4pre2

Scott Brown <[email protected]> Mon, 29 Sep 2003 10:06:18 -0700
Newsgroups gmane.comp.bug-tracking.anthill.user
Message-ID <[email protected]>
Hi, Vincent,

Everything is looking super in 0.2.4pre2.

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...

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);

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!

Thanks so much for all of your help!

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!

--Scott Brown








_______________________________________________
Anthill-users mailing list
Anthill-users-+mQDA36h6dWw5LPnMra/[email protected]
http://vmlinuz.ca/mailman/listinfo/anthill-users