Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
SEVERE ERROR in sfFinder
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Joe Kelsey  
View profile  
 More options Mar 31 2008, 6:31 pm
From: Joe Kelsey <nn7...@gmail.com>
Date: Mon, 31 Mar 2008 15:31:06 -0700 (PDT)
Local: Mon, Mar 31 2008 6:31 pm
Subject: SEVERE ERROR in sfFinder
sfFinder cannot do relative searches on at least Windoze.

Whenever you regularize directory names, then all directory names end
with DIRECTORY_SEPARATOR.  Then, in search_in() the stripping of
directories fails:

        $files = array_merge($files,
str_replace($dir.DIRECTORY_SEPARATOR, '', $this->search_in($dir)));

In this case, $dir already ends with DIRECTORY_SEPARATOR, so the
str_replace ALWAYS fails since $dir.DIRECTORY_SEPARATOR produces two
concatenated DIRECTORY_SEPARATORs.  So, I simply removed the
catenation of DIRECTORY_SEPARATOR.  The REAL solution is to either
make sure the $dir string ahs no terminating DIRECTORY_SEPARATOR or
else that you specifically remove it.

/Joe


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
noel guilbert  
View profile  
 More options Apr 4 2008, 5:17 am
From: "noel guilbert" <noelguilb...@gmail.com>
Date: Fri, 4 Apr 2008 11:17:14 +0200
Local: Fri, Apr 4 2008 5:17 am
Subject: Re: [symfony-devs] SEVERE ERROR in sfFinder

Hello,

fixed in r8254 <http://trac.symfony-project.com/changeset/8254>

--
Noël GUILBERT
http://www.sensiolabs.com
http://www.symfony-project.com
Sensio Labs
Tél: +33 1 40 99 80 80

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nchambrier@mtpi.fr  
View profile  
 More options Apr 4 2008, 10:32 am
From: "nchambr...@mtpi.fr" <nchambr...@mtpi.fr>
Date: Fri, 4 Apr 2008 07:32:26 -0700 (PDT)
Local: Fri, Apr 4 2008 10:32 am
Subject: Re: SEVERE ERROR in sfFinder
Many thanks for your "fix", i didn't have your bug on Windows, and
since you "fixed" it nothing works on my project... Now I must use a "-
r 8190" in my svn:externals so that my project can work...
Please *test* before making commits to the trunk, this is *very*
annoying to have such an unexpected bug : I lost only one hour before
I understood who was guilty (you) but I could have lost *very* more
time.

Please check again your patch, because this is not working at all. As
a proof, please look at this :

- Symfony@8190 : http://b.imagehost.org/view/0389/Clipboard01.png
- Symfony@8288 : http://b.imagehost.org/view/0389/Clipboard02.png

Note : between 8190 & 8288, there are only noel's commits ><
Note2 : there is nothing special in my admin generators, nor in my
config, and before your "fixes" it worked perfecly on Windows & Linux
(on 5 different machines to tell everything).

On 4 avr, 11:17, "noel guilbert" <noelguilb...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
noel guilbert  
View profile  
 More options Apr 4 2008, 11:11 am
From: "noel guilbert" <noelguilb...@gmail.com>
Date: Fri, 4 Apr 2008 17:11:04 +0200
Local: Fri, Apr 4 2008 11:11 am
Subject: Re: [symfony-devs] Re: SEVERE ERROR in sfFinder

Hello,

I'm really sorry for the annoyance, and I've reverted this change to the
revision r7757.

Be sure, I've tested this patch before commit it, and I haven't see any bugs
in my environnement. And promise, I'll test my futures patches two, three,
or even ten times if it's needed.

And again, excuse me.

On Fri, Apr 4, 2008 at 4:32 PM, nchambr...@mtpi.fr <nchambr...@mtpi.fr>
wrote:

--
Noël GUILBERT
http://www.sensiolabs.com
http://www.symfony-project.com
Sensio Labs
Tél: +33 1 40 99 80 80

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nchambrier@mtpi.fr  
View profile  
 More options Apr 4 2008, 11:16 am
From: "nchambr...@mtpi.fr" <nchambr...@mtpi.fr>
Date: Fri, 4 Apr 2008 08:16:41 -0700 (PDT)
Local: Fri, Apr 4 2008 11:16 am
Subject: Re: SEVERE ERROR in sfFinder
When i read again my message, this is very rude. Not very adapted for
an free open-source project.
If you need help on correcting your patch, I can send more info on my
crash, what do you need most ?

On 4 avr, 17:11, "noel guilbert" <noelguilb...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
noel guilbert  
View profile  
 More options Apr 4 2008, 11:40 am
From: "noel guilbert" <noelguilb...@gmail.com>
Date: Fri, 4 Apr 2008 17:40:28 +0200
Local: Fri, Apr 4 2008 11:40 am
Subject: Re: [symfony-devs] Re: SEVERE ERROR in sfFinder

On Fri, Apr 4, 2008 at 5:16 PM, nchambr...@mtpi.fr <nchambr...@mtpi.fr>
wrote:

> When i read again my message, this is very rude. Not very adapted for
> an free open-source project.

Yes, but you was right, as long as symfony will be a "professional
framework", we can't break it. So we have to test it again an again to be
sure it's still working.

> If you need help on correcting your patch, I can send more info on my
> crash, what do you need most ?

What's your php version? Which apache/php distribution do you use?

Thanks

--
Noël GUILBERT
http://www.sensiolabs.com
http://www.symfony-project.com
Sensio Labs
Tél: +33 1 40 99 80 80

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joe Kelsey  
View profile  
 More options Apr 4 2008, 3:36 pm
From: Joe Kelsey <nn7...@gmail.com>
Date: Fri, 4 Apr 2008 12:36:31 -0700 (PDT)
Local: Fri, Apr 4 2008 3:36 pm
Subject: Re: SEVERE ERROR in sfFinder

On Apr 4, 1:17 am, "noel guilbert" <noelguilb...@gmail.com> wrote:

This is really very confusing.  Your proposed "fix" does not seem to
address the given problem.  You need to explore the system and find
out exactly why the $dir always (or only sometimes) has
DIRECTORY_SEPARATOR appended to its value and exactly when you should
either append or not append it.  Is there some difference in the
windoze versus linux directory calls?  Your fix completely throws away
the DIRECTORY_SEPARATOR usage and uses just '/' and '\\', which seems
wrong.

I am confused.

/Joe


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google