Thread: [openupload-devel] Warnings
Status: Beta
Brought to you by:
tsdogs
|
From: Leonel I. <Leo...@co...> - 2012-11-26 22:16:11
|
Hi, I'm new to open upload. I have successfully installed the program on my Win 7 PC. I have Apache 2.2, PHP 5 and MySQL. I am able to configure the program but when I execute the program I get several warnings. 1.-On top of the Login Screen I get this message: Strict Standards: Declaration of defaultAuth::useredit() should be compatible with authBase::useredit($user) in C:\websites\openupload\lib\modules\auth\default.inc.php on line 72 2.- After uploading a file I get this warnings: Strict Standards: Declaration of defaultAuth::useredit() should be compatible with authBase::useredit($user) in C:\websites\openupload\lib\modules\auth\default.inc.php on line 72 Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\websites\openupload\lib\general.inc.php on line 269 Deprecated: Function split() is deprecated in C:\websites\openupload\plugins\email.inc.php on line 79 Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\websites\openupload\lib\general.inc.php on line 269 The file does upload, but no one gets an email with a link to download the file. 3.- When I try to create a new user, I don't get any error message but users aren't created or they don't show up on the users list. Can anyone help me? Leonel Ibarra Dept. Systems Support Technician County of Imperial (760) 482-4232 |
|
From: Bob M. <bo...@co...> - 2012-11-27 00:30:19
|
> I'm new to open upload. I have successfully installed the program on > my Win 7 PC. Here is your first problem, but I commend your bravery ;) > 1.-On top of the Login Screen I get this message: > Strict Standards: Declaration of defaultAuth::useredit() should be > compatible with authBase::useredit($user) in C:\websites\openupload > \lib\modules\auth\default.inc.php on line 72 The strict standards warnings *should (ie no guarantees) all be completely harmless. You can disable the error reporting so the error doesn't show, google will show you at least 3 different ways to do it... > 2.- After uploading a file I get this warnings: > > Warning: mail(): Failed to connect to mailserver at "localhost" port > 25, Since you are using a win7 PC, you probably do not have a mail server installed on it. Hence, you are not able to send mail out through localhost:25. Either install a mail server on your local machine, or you will have to figure out how to get php to send mail through windows... > verify your "SMTP" and "smtp_port" setting in php.ini or use > ini_set() in C:\websites\openupload\lib\general.inc.php on line 269 You might have a newer version of openupload than I do, I cannot configure SMTP in mine. But this error message suggests you can configure the SMTP server of your ISP or hosting provider in C:\websites \openupload\lib\general.inc.php on line 269 > The file does upload, but no one gets an email with a link to download > the file. As expected. The error above says it cannot find a mail server to send email with... > > 3.- When I try to create a new user, I don't get any error message but > users aren't created or they don't show up on the users list. Not sure what is going on there, but I would suggest looking in your apache logs, you might find a clue in there... > |
|
From: Leonel I. <Leo...@co...> - 2012-11-28 23:54:48
|
I still can't create users with open upload, Do i need to use a specific PHP version? I am getting some warnings like that the function split() is no longer supported by php, timezone warnings and others. I am using PHP version 5.4.8 Apache 2.2.21 mysql 5.0.10 Running it for testing purposses on a win 7 workstation. If i go directly to the database (mysql) and add a new line to the users table, it swows up in openupload's users list, but if I try to add a new user in openupload, I am able to fill the user information and when I click "add" I get no errors nor warnings, but the user is simply not added, I can't see it in the database either. Thanks Leonel -----Original Message----- From: Bob Miller [mailto:bo...@co...] Sent: Monday, November 26, 2012 4:30 PM To: ope...@li... Subject: Re: [openupload-devel] Warnings > I'm new to open upload. I have successfully installed the program on > my Win 7 PC. Here is your first problem, but I commend your bravery ;) > 1.-On top of the Login Screen I get this message: > Strict Standards: Declaration of defaultAuth::useredit() should be > compatible with authBase::useredit($user) in C:\websites\openupload > \lib\modules\auth\default.inc.php on line 72 The strict standards warnings *should (ie no guarantees) all be completely harmless. You can disable the error reporting so the error doesn't show, google will show you at least 3 different ways to do it... > 2.- After uploading a file I get this warnings: > > Warning: mail(): Failed to connect to mailserver at "localhost" port > 25, Since you are using a win7 PC, you probably do not have a mail server installed on it. Hence, you are not able to send mail out through localhost:25. Either install a mail server on your local machine, or you will have to figure out how to get php to send mail through windows... > verify your "SMTP" and "smtp_port" setting in php.ini or use > ini_set() in C:\websites\openupload\lib\general.inc.php on line 269 You might have a newer version of openupload than I do, I cannot configure SMTP in mine. But this error message suggests you can configure the SMTP server of your ISP or hosting provider in C:\websites \openupload\lib\general.inc.php on line 269 > The file does upload, but no one gets an email with a link to download > the file. As expected. The error above says it cannot find a mail server to send email with... > > 3.- When I try to create a new user, I don't get any error message but > users aren't created or they don't show up on the users list. Not sure what is going on there, but I would suggest looking in your apache logs, you might find a clue in there... > ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Openupload-devel mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/openupload-devel |
|
From: Leonel I. <Leo...@co...> - 2012-11-29 00:00:49
|
I forgot to mention that I can edit the users from upenupload, like change the password, name, etc, and it works, I just can't add new users. -----Original Message----- From: Leonel Ibarra [mailto:Leo...@co...] Sent: Wednesday, November 28, 2012 3:55 PM To: bo...@co...; OpenUpload Delvel and General talk Subject: Re: [openupload-devel] Warnings I still can't create users with open upload, Do i need to use a specific PHP version? I am getting some warnings like that the function split() is no longer supported by php, timezone warnings and others. I am using PHP version 5.4.8 Apache 2.2.21 mysql 5.0.10 Running it for testing purposses on a win 7 workstation. If i go directly to the database (mysql) and add a new line to the users table, it swows up in openupload's users list, but if I try to add a new user in openupload, I am able to fill the user information and when I click "add" I get no errors nor warnings, but the user is simply not added, I can't see it in the database either. Thanks Leonel -----Original Message----- From: Bob Miller [mailto:bo...@co...] Sent: Monday, November 26, 2012 4:30 PM To: ope...@li... Subject: Re: [openupload-devel] Warnings > I'm new to open upload. I have successfully installed the program on > my Win 7 PC. Here is your first problem, but I commend your bravery ;) > 1.-On top of the Login Screen I get this message: > Strict Standards: Declaration of defaultAuth::useredit() should be > compatible with authBase::useredit($user) in C:\websites\openupload > \lib\modules\auth\default.inc.php on line 72 The strict standards warnings *should (ie no guarantees) all be completely harmless. You can disable the error reporting so the error doesn't show, google will show you at least 3 different ways to do it... > 2.- After uploading a file I get this warnings: > > Warning: mail(): Failed to connect to mailserver at "localhost" port > 25, Since you are using a win7 PC, you probably do not have a mail server installed on it. Hence, you are not able to send mail out through localhost:25. Either install a mail server on your local machine, or you will have to figure out how to get php to send mail through windows... > verify your "SMTP" and "smtp_port" setting in php.ini or use > ini_set() in C:\websites\openupload\lib\general.inc.php on line 269 You might have a newer version of openupload than I do, I cannot configure SMTP in mine. But this error message suggests you can configure the SMTP server of your ISP or hosting provider in C:\websites \openupload\lib\general.inc.php on line 269 > The file does upload, but no one gets an email with a link to download > the file. As expected. The error above says it cannot find a mail server to send email with... > > 3.- When I try to create a new user, I don't get any error message but > users aren't created or they don't show up on the users list. Not sure what is going on there, but I would suggest looking in your apache logs, you might find a clue in there... > ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Openupload-devel mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/openupload-devel ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net _______________________________________________ Openupload-devel mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/openupload-devel |
|
From: Bob M. <bo...@co...> - 2012-11-29 00:20:28
|
On Thu, 2012-11-29 at 00:00 +0000, Leonel Ibarra wrote: > I forgot to mention that I can edit the users from upenupload, like change the password, name, etc, and it works, I just can't add new users. Maybe you didnt' grant your mysql user enough privileges on the database? What do your logs say? between the apache logs and the mysql logs, there should be a clue as to what is failing... > > I still can't create users with open upload, Do i need to use a specific PHP version? I am still using php5.3. can't say if php5.4 will break openupload, but it breaks other software I use, so all I can say is php5.3 works. > I am getting some warnings like that the function split() is no longer supported by php, timezone warnings and others. Timezone warning are fixed in your php.ini. I would suggest googling those errors, probably most of them are easily fixed by fine tuning your configuration. You might also search the openupload mailing list archives and bug reports for your errors, if you haven't already... > > I am using PHP version 5.4.8 > Apache 2.2.21 > mysql 5.0.10 > > Running it for testing purposses on a win 7 workstation. > > If i go directly to the database (mysql) and add a new line to the users table, it swows up in openupload's users list, but if I try to add a new user in openupload, I am able to fill the user information and when I click "add" I get no errors nor warnings, but the user is simply not added, I can't see it in the database either. > > Thanks > > Leonel > > > > > -----Original Message----- > From: Bob Miller [mailto:bo...@co...] > Sent: Monday, November 26, 2012 4:30 PM > To: ope...@li... > Subject: Re: [openupload-devel] Warnings > > > > > I'm new to open upload. I have successfully installed the program on > > my Win 7 PC. > > Here is your first problem, but I commend your bravery ;) > > > 1.-On top of the Login Screen I get this message: > > Strict Standards: Declaration of defaultAuth::useredit() should be > > compatible with authBase::useredit($user) in C:\websites\openupload > > \lib\modules\auth\default.inc.php on line 72 > > The strict standards warnings *should (ie no guarantees) all be completely harmless. You can disable the error reporting so the error doesn't show, google will show you at least 3 different ways to do it... > > > 2.- After uploading a file I get this warnings: > > > > Warning: mail(): Failed to connect to mailserver at "localhost" port > > 25, > > Since you are using a win7 PC, you probably do not have a mail server installed on it. Hence, you are not able to send mail out through localhost:25. Either install a mail server on your local machine, or you will have to figure out how to get php to send mail through windows... > > > verify your "SMTP" and "smtp_port" setting in php.ini or use > > ini_set() in C:\websites\openupload\lib\general.inc.php on line 269 > > You might have a newer version of openupload than I do, I cannot configure SMTP in mine. But this error message suggests you can configure the SMTP server of your ISP or hosting provider in C:\websites \openupload\lib\general.inc.php on line 269 > > > The file does upload, but no one gets an email with a link to download > > the file. > > As expected. The error above says it cannot find a mail server to send email with... > > > > > 3.- When I try to create a new user, I don't get any error message but > > users aren't created or they don't show up on the users list. > > Not sure what is going on there, but I would suggest looking in your apache logs, you might find a clue in there... > > > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > INSIGHTS What's next for parallel hardware, programming and related areas? > Interviews and blogs by thought leaders keep you ahead of the curve. > http://goparallel.sourceforge.net > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > VERIFY Test and improve your parallel project with help from experts > and peers. http://goparallel.sourceforge.net > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel |
|
From: Alessandro B. <ts...@br...> - 2012-11-30 13:34:24
|
Il 2012-11-29 01:00 Leonel Ibarra ha scritto: > I forgot to mention that I can edit the users from upenupload, like > change the password, name, etc, and it works, I just can't add new > users. > I'd be checking the mysql version, as maybe there is a problem with date fields and needs some default. Alessandro |
|
From: Leonel I. <Leo...@co...> - 2012-12-11 01:11:10
|
Hi: I am running open upload on a windows server 2003, using apache 2.2, PHP 5.2.17 and MySQL Server 5.5 I am able to use the program, upload files etc, but I still can't create users. Here's what I get from the access.log in Apache when I try to create a user: [10/Dec/2012:16:56:46 -0800] "GET / HTTP/1.1" 200 3640 10.0.100.113 - - [10/Dec/2012:16:56:49 -0800] "GET /index.php?action=admin HTTP/1.1" 200 2756 10.0.100.113 - - [10/Dec/2012:16:56:51 -0800] "GET /index.php?action=adminusers HTTP/1.1" 200 6071 10.0.100.113 - - [10/Dec/2012:16:57:05 -0800] "GET /index.php?action=adminusers&step=2&id= HTTP/1.1" 200 3116 10.0.100.113 - - [10/Dec/2012:16:57:29 -0800] "POST /index.php HTTP/1.1" 302 - 10.0.100.113 - - [10/Dec/2012:16:57:29 -0800] "GET /index.php?action=adminusers&step=1 HTTP/1.1" 200 6071 When I restart my apache server I get this warning in error.log PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\php\\ext\\php_pdo_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0 I am able to create the users directly in the DB, once created, I can edit them in openupload, I just still can't create new ones. I am using the root accout (admin) so I have all access there. Any ideas? -----Original Message----- From: Alessandro Briosi [mailto:ts...@br...] Sent: Friday, November 30, 2012 5:12 AM To: OpenUpload Delvel and General talk Subject: Re: [openupload-devel] Warnings Il 2012-11-29 01:00 Leonel Ibarra ha scritto: > I forgot to mention that I can edit the users from upenupload, like > change the password, name, etc, and it works, I just can't add new > users. > I'd be checking the mysql version, as maybe there is a problem with date fields and needs some default. Alessandro ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: TUNE You got it built. Now make it sing. Tune shows you how. http://goparallel.sourceforge.net _______________________________________________ Openupload-devel mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/openupload-devel |
|
From: Leonel I. <Leo...@co...> - 2012-12-11 01:17:24
|
I forgot to mention what I am including in PHP.ini extension_dir = "c:\php\ext" extension=php_mysql.dll extension=php_mysqli.dll extension=php_pdo_mysql.dll Thanks -----Original Message----- From: Leonel Ibarra [mailto:Leo...@co...] Sent: Monday, December 10, 2012 5:11 PM To: OpenUpload Delvel and General talk Subject: [openupload-devel] Can't create users in open upload Hi: I am running open upload on a windows server 2003, using apache 2.2, PHP 5.2.17 and MySQL Server 5.5 I am able to use the program, upload files etc, but I still can't create users. Here's what I get from the access.log in Apache when I try to create a user: [10/Dec/2012:16:56:46 -0800] "GET / HTTP/1.1" 200 3640 10.0.100.113 - - [10/Dec/2012:16:56:49 -0800] "GET /index.php?action=admin HTTP/1.1" 200 2756 10.0.100.113 - - [10/Dec/2012:16:56:51 -0800] "GET /index.php?action=adminusers HTTP/1.1" 200 6071 10.0.100.113 - - [10/Dec/2012:16:57:05 -0800] "GET /index.php?action=adminusers&step=2&id= HTTP/1.1" 200 3116 10.0.100.113 - - [10/Dec/2012:16:57:29 -0800] "POST /index.php HTTP/1.1" 302 - 10.0.100.113 - - [10/Dec/2012:16:57:29 -0800] "GET /index.php?action=adminusers&step=1 HTTP/1.1" 200 6071 When I restart my apache server I get this warning in error.log PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\php\\ext\\php_pdo_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0 I am able to create the users directly in the DB, once created, I can edit them in openupload, I just still can't create new ones. I am using the root accout (admin) so I have all access there. Any ideas? -----Original Message----- From: Alessandro Briosi [mailto:ts...@br...] Sent: Friday, November 30, 2012 5:12 AM To: OpenUpload Delvel and General talk Subject: Re: [openupload-devel] Warnings Il 2012-11-29 01:00 Leonel Ibarra ha scritto: > I forgot to mention that I can edit the users from upenupload, like > change the password, name, etc, and it works, I just can't add new > users. > I'd be checking the mysql version, as maybe there is a problem with date fields and needs some default. Alessandro ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: TUNE You got it built. Now make it sing. Tune shows you how. http://goparallel.sourceforge.net _______________________________________________ Openupload-devel mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/openupload-devel ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Openupload-devel mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/openupload-devel |
|
From: gmartin <gm...@gm...> - 2012-12-11 02:08:28
|
It appears MySQL support is not loading. Can you work to clear the error: "PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\php\\ext\\php_pdo_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0" \\Greg On Mon, Dec 10, 2012 at 8:17 PM, Leonel Ibarra < Leo...@co...> wrote: > I forgot to mention what I am including in PHP.ini > > extension_dir = "c:\php\ext" > > extension=php_mysql.dll > extension=php_mysqli.dll > extension=php_pdo_mysql.dll > > > Thanks > > -----Original Message----- > From: Leonel Ibarra [mailto:Leo...@co...] > Sent: Monday, December 10, 2012 5:11 PM > To: OpenUpload Delvel and General talk > Subject: [openupload-devel] Can't create users in open upload > > Hi: > > I am running open upload on a windows server 2003, using apache 2.2, PHP > 5.2.17 and MySQL Server 5.5 > > I am able to use the program, upload files etc, but I still can't create > users. > > Here's what I get from the access.log in Apache when I try to create a > user: > > [10/Dec/2012:16:56:46 -0800] "GET / HTTP/1.1" 200 3640 > 10.0.100.113 - - [10/Dec/2012:16:56:49 -0800] "GET /index.php?action=admin > HTTP/1.1" 200 2756 > 10.0.100.113 - - [10/Dec/2012:16:56:51 -0800] "GET > /index.php?action=adminusers HTTP/1.1" 200 6071 > 10.0.100.113 - - [10/Dec/2012:16:57:05 -0800] "GET > /index.php?action=adminusers&step=2&id= HTTP/1.1" 200 3116 > 10.0.100.113 - - [10/Dec/2012:16:57:29 -0800] "POST /index.php HTTP/1.1" > 302 - > 10.0.100.113 - - [10/Dec/2012:16:57:29 -0800] "GET > /index.php?action=adminusers&step=1 HTTP/1.1" 200 6071 > > > When I restart my apache server I get this warning in error.log PHP > Warning: PHP Startup: Unable to load dynamic library > 'c:\\php\\ext\\php_pdo_mysql.dll' - The specified module could not be > found.\r\n in Unknown on line 0 > > I am able to create the users directly in the DB, once created, I can edit > them in openupload, I just still can't create new ones. I am using the root > accout (admin) so I have all access there. > > Any ideas? > > > -----Original Message----- > From: Alessandro Briosi [mailto:ts...@br...] > Sent: Friday, November 30, 2012 5:12 AM > To: OpenUpload Delvel and General talk > Subject: Re: [openupload-devel] Warnings > > Il 2012-11-29 01:00 Leonel Ibarra ha scritto: > > I forgot to mention that I can edit the users from upenupload, like > > change the password, name, etc, and it works, I just can't add new > > users. > > > > I'd be checking the mysql version, as maybe there is a problem with date > fields and needs some default. > > Alessandro > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > TUNE You got it built. Now make it sing. Tune shows you how. > http://goparallel.sourceforge.net > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel > > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support Improve > your efficiency, and focus on delivering more value-add services Discover > what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel > > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel > |
|
From: gmartin <gm...@gm...> - 2012-12-11 02:54:58
|
Take a look at this thread: http://board.phpbuilder.com/showthread.php?10325178-RESOLVED-Unable-to-load-dynamic-library \\Greg On Mon, Dec 10, 2012 at 8:17 PM, Leonel Ibarra < Leo...@co...> wrote: > I forgot to mention what I am including in PHP.ini > > extension_dir = "c:\php\ext" > > extension=php_mysql.dll > extension=php_mysqli.dll > extension=php_pdo_mysql.dll > > > Thanks > > -----Original Message----- > From: Leonel Ibarra [mailto:Leo...@co...] > Sent: Monday, December 10, 2012 5:11 PM > To: OpenUpload Delvel and General talk > Subject: [openupload-devel] Can't create users in open upload > > Hi: > > I am running open upload on a windows server 2003, using apache 2.2, PHP > 5.2.17 and MySQL Server 5.5 > > I am able to use the program, upload files etc, but I still can't create > users. > > Here's what I get from the access.log in Apache when I try to create a > user: > > [10/Dec/2012:16:56:46 -0800] "GET / HTTP/1.1" 200 3640 > 10.0.100.113 - - [10/Dec/2012:16:56:49 -0800] "GET /index.php?action=admin > HTTP/1.1" 200 2756 > 10.0.100.113 - - [10/Dec/2012:16:56:51 -0800] "GET > /index.php?action=adminusers HTTP/1.1" 200 6071 > 10.0.100.113 - - [10/Dec/2012:16:57:05 -0800] "GET > /index.php?action=adminusers&step=2&id= HTTP/1.1" 200 3116 > 10.0.100.113 - - [10/Dec/2012:16:57:29 -0800] "POST /index.php HTTP/1.1" > 302 - > 10.0.100.113 - - [10/Dec/2012:16:57:29 -0800] "GET > /index.php?action=adminusers&step=1 HTTP/1.1" 200 6071 > > > When I restart my apache server I get this warning in error.log PHP > Warning: PHP Startup: Unable to load dynamic library > 'c:\\php\\ext\\php_pdo_mysql.dll' - The specified module could not be > found.\r\n in Unknown on line 0 > > I am able to create the users directly in the DB, once created, I can edit > them in openupload, I just still can't create new ones. I am using the root > accout (admin) so I have all access there. > > Any ideas? > > > -----Original Message----- > From: Alessandro Briosi [mailto:ts...@br...] > Sent: Friday, November 30, 2012 5:12 AM > To: OpenUpload Delvel and General talk > Subject: Re: [openupload-devel] Warnings > > Il 2012-11-29 01:00 Leonel Ibarra ha scritto: > > I forgot to mention that I can edit the users from upenupload, like > > change the password, name, etc, and it works, I just can't add new > > users. > > > > I'd be checking the mysql version, as maybe there is a problem with date > fields and needs some default. > > Alessandro > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > TUNE You got it built. Now make it sing. Tune shows you how. > http://goparallel.sourceforge.net > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel > > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support Improve > your efficiency, and focus on delivering more value-add services Discover > what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel > > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel > |
|
From: Alessandro B. <ts...@br...> - 2012-12-11 20:13:16
|
Il 2012-12-11 02:17 Leonel Ibarra ha scritto:
> I forgot to mention what I am including in PHP.ini
>
> extension_dir = "c:\php\ext"
>
> extension=php_mysql.dll
> extension=php_mysqli.dll
> extension=php_pdo_mysql.dll
>
The error comes out as the php_pdo_mysql.dll is not installed. Simply
comment that out, it's not needed by openupload.
The fact that the users cannot be created I think it has something to
do with mysql.
Probably some query is failing 'cause mysql does not accept some value.
There was a problem from some mysql version up that was related to
datetime columns.
Try setting the default value to "now()" or enable null values in the
reg_date field of the users table.
or change the useradd function in lib/modules/auth/default.inc.php
(line 45)
from
function useradd($user) {
$user['password']=crypt($user['password']);
$this->db->insert('users',$user,$this->userfields);
}
to
function useradd($user) {
$user['password']=crypt($user['password']);
if (!isset($user['reg_date']) or ($user['reg_date']==''))
$user['reg_date']=date('Y-m-d H:i:s');
$this->db->insert('users',$user,$this->userfields);
}
Alessandro
|
|
From: Leonel I. <Leo...@co...> - 2012-12-13 16:12:31
|
Thanks Alessandro, changing the adduser function solved the problem.
-----Original Message-----
From: Alessandro Briosi [mailto:ts...@br...]
Sent: Tuesday, December 11, 2012 12:13 PM
To: OpenUpload Delvel and General talk
Subject: Re: [openupload-devel] Can't create users in open upload
Il 2012-12-11 02:17 Leonel Ibarra ha scritto:
> I forgot to mention what I am including in PHP.ini
>
> extension_dir = "c:\php\ext"
>
> extension=php_mysql.dll
> extension=php_mysqli.dll
> extension=php_pdo_mysql.dll
>
The error comes out as the php_pdo_mysql.dll is not installed. Simply comment that out, it's not needed by openupload.
The fact that the users cannot be created I think it has something to do with mysql.
Probably some query is failing 'cause mysql does not accept some value.
There was a problem from some mysql version up that was related to datetime columns.
Try setting the default value to "now()" or enable null values in the reg_date field of the users table.
or change the useradd function in lib/modules/auth/default.inc.php (line 45) from
function useradd($user) {
$user['password']=crypt($user['password']);
$this->db->insert('users',$user,$this->userfields);
}
to
function useradd($user) {
$user['password']=crypt($user['password']);
if (!isset($user['reg_date']) or ($user['reg_date']==''))
$user['reg_date']=date('Y-m-d H:i:s');
$this->db->insert('users',$user,$this->userfields);
}
Alessandro
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Openupload-devel mailing list
Ope...@li...
https://lists.sourceforge.net/lists/listinfo/openupload-devel
|