The Love Bug (thelovebug) wrote in fotobilder,
The Love Bug
thelovebug
fotobilder

  • Mood:

FotoBilder installation back up and running...

Right, thanks to everyone for their help on this... although I didn't necessarily get the answer I needed, I managed to solve it using the information that everyone had given to me.

I really appreciate your help!! :o)

Now, the solution...

On line 333 of Role.pm, is the following code:

# if there was an error, and it wasn't a permission problem (1227)
# then treat this connection as bogus
if ($dbh->err && $dbh->err != 1227) {
    return 1;
}

Now the error I was getting back (which was a permissions problem) was 1045, not 1227.  So I made the following change to the code:

# if there was an error, and it wasn't a permission problem (1227)
# then treat this connection as bogus
if ($dbh->err && $dbh->err != 1227 && $dbh->err != 1045) {  #  <===
    return 1;
}

... and now everything works fine.

Perhaps this change might need to go into the tree?  I don't know.  You decide.
Subscribe

  • 302: lj_dev

    In the interests of consolidating all FotoBilder development-related discussion, we're going to be closing down this community. The same…

  • Development stalled?

    Is the development of Fotobilder held? Stalled? I am asking because there is no activity on the community and there is no link to the Fotobilder…

  • (no subject)

    Does FotoBilder works with Apache2? I installed all the required modules on my debian sarge, and when I restart my apache server, it dies horribly…

  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic
  • 3 comments