From: Tuttle G. <tut...@ho...> - 2003-05-16 02:31:12
|
If I find an elegant solution, I'll certainly share it here. However, I've done a bunch of searching at various places and have not found anything yet. If you happen to know, what path would I enter and where? I know where my installation is, but when you say "full SM path", what is the target of that path (what file or directory in the Squirrel install)? The file referenced in those error messages is /plugins/vkeyboard/setup.php, and it contains this: <?php function squirrelmail_plugin_init_vkeyboard() { global $squirrelmail_plugin_hooks; $squirrelmail_plugin_hooks['login_top']['vkeyboard'] = 'plugin_vkeyboard_top'; $squirrelmail_plugin_hooks['login_form']['vkeyboard'] = 'plugin_vkeyboard_form'; } function plugin_vkeyboard_top() { echo '<SCRIPT src="../plugins/vkeyboard/vkeyboard.js" type="text/javascr' . 'ipt"></SCRIPT>'; } function plugin_vkeyboard_form() { include_once 'config.php'; global $password_form_name; if($msg_font_size == 'small') echo '<P style="text-align: center; font-size: x-small">'; else echo '<P style="text-align: center">'; if($display_msg == 'yes') echo 'Are you using a public computer?<BR>Enter your password with the '; if($link_type == 'text') echo '<A href="#" onclick="openwindow(\'' . $password_form_name . '\')">virtual keyboard</A>'; else echo '<INPUT type="button" value="Keyboard" onclick="openwindow(\'' . $password_form_name . '\')">'; } ?> The 21st line by my count (since error messages referred to line 21) says: include_once 'config.php'; BUt I don't know which 'config.php' it refers to, as there is one in the /vkeyboard/ directory as well as the one in SquirrelMail's /config/ directory. (I also emailed the author, but haven't had a reply. If I hear anything relevant, I'll post here.) >From: "p dont think" <pdo...@an...> >To: "'Tuttle Grey'" ><tut...@ho...>,<squ...@li...> >Subject: RE: [SM-PLUGINS] Virtual Keyboard: works, but error mssgs appear >on login page >Date: Thu, 15 May 2003 18:21:37 -0700 > >This is a problem that has come up in another thread recently, and seems >to have something to do with your version of php. No one has come up >with any solution yet (except to hard-code the full SM path in the >problematic file)... if you find one (try google, etc), please let us >know. > > - Paul > > > SquirrelMail 1.4.0 > > > > I installed the Virtual Keyboard plugin, vkeyboard. Using the > > Administrator > > plugin, in Options > Administration I clicked the checkbox to enable > > Virtual > > Keyboard plugin. > > > > Now when I go to the Squirrel login page, I get the "Keyboard" button >that > > opens the javascript window with the keyboard. I am able to use the > > keyboard > > to enter the password and login successfully. However, on the login >page I > > get these two errors every time: > > > > Warning: plugin_vkeyboard_form(config.php) [function.plugin-vkeyboard- > > form]: > > failed to create stream: No such file or directory in > > /home/squirrel/public_html/plugins/vkeyboard/setup.php on line 21 > > > > Warning: plugin_vkeyboard_form() [function.plugin-vkeyboard-form]: >Failed > > opening 'config.php' for inclusion (include_path='') in > > /home/squirrel/public_html/plugins/vkeyboard/setup.php on line 21 > _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail |