Hi folks,

The pertinent code is here (from
http://trac.symfony-project.com/browser/branches/1.0/lib/config/sfAutoloadConfigHandler.class.php):

106                 if (isset($entry['prefix']))
107                 {
108                   // FIXME: does not work for plugins installed with a
symlink
109                   preg_match('~^'.str_replace('\*', '(.+?)',
preg_quote(str_replace('/', DIRECTORY_SEPARATOR, $path), '~')).'~',
$file, $match);
110                   if (isset($match[$entry['prefix']]))
111                   {
112                     $prefix = $match[$entry['prefix']].'/';
113                   }
114                 }

For whatever reason, I can only get sfPropelFileStorage to work if I
comment out line 112.  I inadvertantly installed it via a symlink, and
spent hours trying to debug when I made it a real directory.

In my cache, config_autoload_yml.php has all the entries for this
plugin correct, except the lib/
BasesfPropelFileStorageActions.class.php, which gets this prefix of
sfPropelFileStorage/ added.   By either commenting out line 112, or by
editing the autoload config file in cache and removing the prefix from
that one line, it works.

BTW, there are 4 other entries in the cache config file for
sfPropelFileStorage that are correct (the model and normal action
ones).  It's just this one entry that goes bad.

Here's the question:   If I comment out this line, what am I
disabling?  I don't understand what it is trying to accomplish, and
what other plugins it would break.

Alternatively, what is missing from sfPropelFileStoragePlugin that
triggers this case?

Help, please!
Mike

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to