Hi all,
I spent all afternoon without luck trying to install sfGuardPlugin.
I'm up to this part:
You're done. Now, if you try to access a secure page, you will be
redirected to the login page. If you have loaded the default fixture
file, try to login with admin as username and admin as
Does the getFilepath return a string value, or just echo the value ...
that will explain why the filepath is displayed at first
Thomas
On Sun, Apr 6, 2008 at 6:53 AM, Jill Elaine [EMAIL PROTECTED] wrote:
Coolio! Yes! Your suggestion works!
First of all, I realized I didn't need to put
Hello Ian
On 2008-03-24 Ian P. Christian wrote:
...
Up until recently I've been maintaining sfDP1.1 to keep it working with
sf1.1. However... we've stopped using doctrine internally, so I've
stopped maintaining it.
What does this mean for the upcoming 1.1 release? I thought that
On Apr 6, 2:19 am, Thomas Rabaix [EMAIL PROTECTED] wrote:
Does the getFilepath return a string value, or just echo the value ...
that will explain why the filepath is displayed at first
I am not sure I understand the difference? H, time for some
investigation...
Okay, I see what you mean,
I tried putting a return instead of an echo in the code below, but it
doesn't work. I end up with only the filename in the a href, and no
filepath.
foreach ($filepath as $value)
{
echo $value;
}
Thanks to the help I received here, I have
Do you have tnsnames.ora properly configured? Is your connection
working from the Apache side? What happens if you execute phpinfo()?
Do you have listener up? What is the error you get in the error_log
file?
On Apr 4, 12:01 pm, Pedro Casado [EMAIL PROTECTED] wrote:
Ive just tried your syntax
Hello,
It look like your code get X filepath and echo all the different path.
If there is only one filepath, add $c-setLimit(1) to get only one
path.
and just return $resultset-getString(1);
You have to test that the result is not null.
Thomas
On Sun, Apr 6, 2008 at 4:23 PM, Jill Elaine
Hey Sid,
one thing I spot (which broke things for me before) is the missing
colon after the .actions line und the first all.
Try putting that in, and your settings should get picked up.
Daniel
On Apr 5, 11:18 pm, Sid Bachtiar [EMAIL PROTECTED] wrote:
Hi all,
I spent all afternoon without
If there is only one filepath, add $c-setLimit(1) to get only one
path.
The file_id and course_session_id are a combination primary key for
the FileToSession table, so there is only one.
and just return $resultset-getString(1);
I tried:
public function getFilePath()
{
Thanks, will try it again and read that extra notes
On Mon, Apr 7, 2008 at 2:50 AM, Jill Elaine [EMAIL PROTECTED] wrote:
It took me a couple of tries to get sfGuardPlugin installed and
working. Heh, I have two full pages of notes on my install! There are
quite a few steps...
I don't see
I realized I was making my selection criteria much more complicated
than I need. I wrote the function with sql and can see more clearly my
criteria:
public function getFilePath()
{
$fileid = $this-getFileId();
Don't use RAW SQL with mysql_* function. It is not the aims of this framework.
You can do :
[...]
$file = FilePeer::doSelectOne($c);
if($file instanceof File) {
return $file-getFilePath();
}
return null
[...]
If you use doSelectOne, you don't have to call setLimit ...
if you use
12 matches
Mail list logo