hello again
Roundcube 0.8.1 running on FreeBSD 9.0 installed from ports
I have repeatedly the following message
open() "/usr/local/www/roundcube/skins/larry/functions.js" failed (2: No such file or directory)
of course the file is not present , but why is it called when using the "larry" skin ?
Thank you
On 10/01/12 09:53, Frank Bonnet wrote:
hello again
Roundcube 0.8.1 running on FreeBSD 9.0 installed from ports
I have repeatedly the following message
open() "/usr/local/www/roundcube/skins/larry/functions.js" failed (2: No such file or directory)
of course the file is not present , but why is it called when using the "larry" skin ?
Thank you
That file (functions.js) does exist in the Classic skin, but not in Larry. I suspect you have an older plugin that is including it.
You might look for it by going into the RC-root directory and running:
# grep -R functions.js *
Look for any files the reference it outside the skins/classic directory.
-- Arne Berglund System Administrator, Internet Services Lane Education Service District Eugene, OR ____________
On 10/01/2012 07:01 PM, Arne Berglund wrote:
On 10/01/12 09:53, Frank Bonnet wrote:
hello again
Roundcube 0.8.1 running on FreeBSD 9.0 installed from ports
I have repeatedly the following message
open() "/usr/local/www/roundcube/skins/larry/functions.js" failed (2: No such file or directory)
of course the file is not present , but why is it called when using the "larry" skin ?
Thank you
That file (functions.js) does exist in the Classic skin, but not in Larry. I suspect you have an older plugin that is including it.
You might look for it by going into the RC-root directory and running:
# grep -R functions.js *
Look for any files the reference it outside the skins/classic directory.
mmh doesn't seems to
mail3# pwd /usr/local/www/roundcube mail3# find . -name functions.js ./skins/classic/functions.js
On 10/01/12 10:04, Frank Bonnet wrote:
On 10/01/2012 07:01 PM, Arne Berglund wrote:
On 10/01/12 09:53, Frank Bonnet wrote:
hello again
Roundcube 0.8.1 running on FreeBSD 9.0 installed from ports
I have repeatedly the following message
open() "/usr/local/www/roundcube/skins/larry/functions.js" failed (2: No such file or directory)
of course the file is not present , but why is it called when using the "larry" skin ?
Thank you
That file (functions.js) does exist in the Classic skin, but not in Larry. I suspect you have an older plugin that is including it.
You might look for it by going into the RC-root directory and running:
# grep -R functions.js *
Look for any files the reference it outside the skins/classic directory.
mmh doesn't seems to
mail3# pwd /usr/local/www/roundcube mail3# find . -name functions.js ./skins/classic/functions.js
Not find, you need to grep to find what file is trying to call the file that we know doesn't exist.
-- Arne
On 10/01/2012 07:13 PM, Arne Berglund wrote:
OK it gives this, do you see something wrong ?
thanks
grep -R functions.js *
plugins/managesieve/skins/classic/templates/managesieve.html:<script type="text/javascript" src="/functions.js"></script> plugins/accounts/skins/default/templates/form_add.html:<script type="text/javascript" src="/functions.js"></script> plugins/accounts/skins/default/templates/form_edit.html:<script type="text/javascript" src="/functions.js"></script> plugins/accounts/skins/default/templates/list.html:<script type="text/javascript" src="/functions.js"></script> plugins/accounts/skins/groupvice4/templates/form_add.html:<script type="text/javascript" src="/functions.js"></script> plugins/accounts/skins/groupvice4/templates/form_edit.html:<script type="text/javascript" src="/functions.js"></script> plugins/accounts/skins/groupvice4/templates/list.html:<script type="text/javascript" src="/functions.js"></script> plugins/enigma/skins/classic/templates/keys.html:<script type="text/javascript" src="/functions.js"></script> plugins/vacation/skins/default/templates/vacation.html:<script type="text/javascript" src="/functions.js"></script> plugins/moreuserinfo/skins/default/templates/moreuserinfo.html:<script type="text/javascript" src="/functions.js"></script> plugins/moreuserinfo/skins/default/templates/frame.html:<script type="text/javascript" src="/functions.js"></script> plugins/settings/skins/default/templates/account.html:<script type="text/javascript" src="/functions.js"></script> plugins/settings/skins/groupvice4/templates/account.html:<script type="text/javascript" src="/functions.js"></script> plugins/settings/skins/litecube/templates/account.html:<script type="text/javascript" src="/functions.js"></script> plugins/settings/skins/meh/templates/account.html:<script type="text/javascript" src="/functions.js"></script> skins/classic/templates/about.html:<script type="text/javascript" src="/functions.js"></script> skins/classic/templates/addressbook.html:<script type="text/javascript" src="/functions.js"></script> skins/classic/templates/compose.html:<script type="text/javascript" src="/functions.js"></script> skins/classic/templates/contact.html:<script type="text/javascript" src="/functions.js"></script> skins/classic/templates/contactadd.html:<script type="text/javascript" src="/functions.js"></script> skins/classic/templates/contactedit.html:<script type="text/javascript" src="/functions.js"></script> skins/classic/templates/contactsearch.html:<script type="text/javascript" src="/functions.js"></script> skins/classic/templates/folderedit.html:<script type="text/javascript" src="/functions.js"></script> skins/classic/templates/folders.html:<script type="text/javascript" src="/functions.js"></script> skins/classic/templates/identities.html:<script type="text/javascript" src="/functions.js"></script> skins/classic/templates/identityedit.html:<script type="text/javascript" src="/functions.js"></script> skins/classic/templates/mail.html:<script type="text/javascript" src="/functions.js"></script> skins/classic/templates/message.html:<script type="text/javascript" src="/functions.js"></script> skins/classic/templates/messageerror.html:<script type="text/javascript" src="/functions.js"></script> skins/classic/templates/plugin.html:<script type="text/javascript" src="/functions.js"></script> skins/classic/templates/settings.html:<script type="text/javascript" src="/functions.js"></script> skins/classic/templates/settingsedit.html:<script type="text/javascript" src="/functions.js"></script>
On 10/02/12 00:27, Frank Bonnet wrote:
On 10/01/2012 07:13 PM, Arne Berglund wrote:
OK it gives this, do you see something wrong ?
thanks
grep -R functions.js *
[output snipped for brevity]
Yes Frank, several of your plugins are trying to call functions.js from their default skin templates. If there is no specific Larry skin folder in the plugin, it will use default. So accounts, moreuserinfo, vacation and settings are all four trying to load that script.
You should first look to see if any of those plugins have been updated by their developers to support the classic and larry skins. That would obviously be the best answer.
If no updates are available, I think I'd try solving this by copying the default skin folder in each of those 4 plugins to new larry folders in the same locations. Then in each larry folder, locate and delete the following line from the template files in there:
<script type="text/javascript" src="/functions.js"></script>
If I'm right, users using the larry skin should no longer generate those errors, and everything should still work fine. If you find something in one of those 4 plugins that has broken by that change, simply delete the new larry folder in that plugin.
-- Arne Berglund System Administrator, Internet Services Lane Education Service District Eugene, OR ____________
On 10/02/2012 05:15 PM, Arne Berglund wrote:
On 10/02/12 00:27, Frank Bonnet wrote:
On 10/01/2012 07:13 PM, Arne Berglund wrote:
OK it gives this, do you see something wrong ?
thanks
grep -R functions.js *
[output snipped for brevity]
Yes Frank, several of your plugins are trying to call functions.js from their default skin templates. If there is no specific Larry skin folder in the plugin, it will use default. So accounts, moreuserinfo, vacation and settings are all four trying to load that script.
You should first look to see if any of those plugins have been updated by their developers to support the classic and larry skins. That would obviously be the best answer.
If no updates are available, I think I'd try solving this by copying the default skin folder in each of those 4 plugins to new larry folders in the same locations. Then in each larry folder, locate and delete the following line from the template files in there:
<script type="text/javascript" src="/functions.js"></script>
If I'm right, users using the larry skin should no longer generate those errors, and everything should still work fine. If you find something in one of those 4 plugins that has broken by that change, simply delete the new larry folder in that plugin.
-- Arne Berglund System Administrator, Internet Services Lane Education Service District Eugene, OR
OK thank you Arne gonna check this , I'll let you know the results .