[SM-USERS] Help With Change_SQLPass

2006-05-04 Thread ecj
Hello List,

I've been trying to make change_sqlpass to work on my Linux box to no
avail. I have all the requirements present. I tried the archives to see if
there is a similar problem like mine, nothing. I hope someone can help me.
When I try to change my password, I noticed that if the password I entered
is correct, the result is just a blank screen eventhough the new password
fields are blank. My logs doesn't show any errors.
My specs:
Fedora Core 3
SM 1.4.6
MySQL 4.0.18 (remote server)
Apache 2.0.40
PHP v4.2.2

Here is my config.php

  *   2002-2005 Paul Lesneiwski <[EMAIL PROTECTED]>
  * This program is licensed under GPL. See COPYING for details
  *
  * @package plugins
  * @subpackage Change SQL Password
  *
  */

   // Global Variables, don't touch these unless you want to break the plugin
   //
   global $csp_dsn, $password_update_queries, $lookup_password_query,
  $force_change_password_check_query, $password_encryption,
  $csp_salt_query, $csp_salt_static, $csp_secure_port,
  $csp_non_standard_http_port, $csp_delimiter, $csp_debug,
  $min_password_length, $max_password_length,
$include_digit_in_password,
  $include_uppercase_letter_in_password,
$include_lowercase_letter_in_password,
  $include_nonalphanumeric_in_password;

$csp_dsn = 'mysql:(I'm sure this line is correct';
   $lookup_password_query = 'SELECT count(*) FROM LocalPart WHERE
UserName="%2" AND Password=%5';
   $password_update_queries = array('UPDATE LocalPart,Domain SET
Password=%5 WHERE UserName="%2" AND Domain.DomKey =
LocalPart.FDomKey');
   $force_change_password_check_query = '';
   $password_encryption = 'NONE';
   $csp_salt_static = '';
   $csp_salt_query = '';
   $csp_secure_port = 0;
   //$csp_secure_port = 443;
   $csp_non_standard_http_port = 80;
   $min_password_length = 6;
   $max_password_length = 0;
   $include_digit_in_password = 1;
   $include_uppercase_letter_in_password = 0;
   $include_lowercase_letter_in_password = 0;
   $include_nonalphanumeric_in_password = 0;
   //$csp_delimiter = '|';
   $csp_delimiter = '@';
   $csp_debug = 0;
?>

Thank you very much for any help!

Edward




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] Help With Change_SQLPass

2006-05-08 Thread ECJ

Hello,
This is what's on my log file regarding sqlpass:
[05-May-2006 10:32:23] PHP Fatal error:  Call to undefined function: 
escapesimple() in
/usr/share/squirrelmail2/plugins/change_sqlpass/functions.php on line 736

Thanks in advance!

Cheers,
DOODS

> On 5/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> Hello List,
>>
>> I've been trying to make change_sqlpass to work on my Linux box to no
>> avail. I have all the requirements present. I tried the archives to see
>> if
>> there is a similar problem like mine, nothing. I hope someone can help
>> me.
>> When I try to change my password, I noticed that if the password I
>> entered
>> is correct, the result is just a blank screen eventhough the new
>> password
>> fields are blank. My logs doesn't show any errors.
>
> Blank page always means PHP errors.  If not in your logs, your php.ini
> settings are not verbose enough.  Instructions can be found in the
> mailing list posting guidelines.  We need to see the errors to help
> you.
>
>  -paul
>
>
>> Fedora Core 3
>> SM 1.4.6
>> MySQL 4.0.18 (remote server)
>> Apache 2.0.40
>> PHP v4.2.2
>>
>> Here is my config.php
>> >
>> /**
>>   * SquirrelMail Change SQL Password Plugin
>>   * Copyright (C) 2001-2002 Tyler Akins
>>   *   2002 Thijs Kinkhorst <[EMAIL PROTECTED]>
>>   *   2002-2005 Paul Lesneiwski <[EMAIL PROTECTED]>
>>   * This program is licensed under GPL. See COPYING for details
>>   *
>>   * @package plugins
>>   * @subpackage Change SQL Password
>>   *
>>   */
>>
>>// Global Variables, don't touch these unless you want to break the
>> plugin
>>//
>>global $csp_dsn, $password_update_queries, $lookup_password_query,
>>   $force_change_password_check_query, $password_encryption,
>>   $csp_salt_query, $csp_salt_static, $csp_secure_port,
>>   $csp_non_standard_http_port, $csp_delimiter, $csp_debug,
>>   $min_password_length, $max_password_length,
>> $include_digit_in_password,
>>   $include_uppercase_letter_in_password,
>> $include_lowercase_letter_in_password,
>>   $include_nonalphanumeric_in_password;
>>
>> $csp_dsn = 'mysql:(I'm sure this line is correct';
>>$lookup_password_query = 'SELECT count(*) FROM LocalPart WHERE
>> UserName="%2" AND Password=%5';
>>$password_update_queries = array('UPDATE LocalPart,Domain SET
>> Password=%5 WHERE UserName="%2" AND Domain.DomKey > LocalPart.FDomKey');
>>$force_change_password_check_query = '';
>>$password_encryption = 'NONE';
>>$csp_salt_static = '';
>>$csp_salt_query = '';
>>$csp_secure_port = 0;
>>//$csp_secure_port = 443;
>>$csp_non_standard_http_port = 80;
>>$min_password_length = 6;
>>$max_password_length = 0;
>>$include_digit_in_password = 1;
>>$include_uppercase_letter_in_password = 0;
>>$include_lowercase_letter_in_password = 0;
>>$include_nonalphanumeric_in_password = 0;
>>//$csp_delimiter = '|';
>>$csp_delimiter = '@';
>>$csp_debug = 0;
>> ?>
>>
>> Thank you very much for any help!
>>
>> Edward
>>
>
>
> ---
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
> --
> squirrelmail-users mailing list
> Posting Guidelines:
> http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
> List Address: squirrelmail-users@lists.sourceforge.net
> List Archives:
> http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
> List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users