![]() |
setup.php install problem - Printable Version +- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com) +-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html) +--- Forum: OpenDocMan Support - Community Based (https://forum.opendocman.com/forum-6.html) +--- Thread: setup.php install problem (/thread-121.html) |
setup.php install problem - Stephen - 01-13-2010 rainbowfc 2006-11-16 07:01:06 PST I have Windows XP SP2 IIS and MYSQL... When i try to run setup.php i give this error message.. installing... PHP Fatal error: Call to undefined function mysql_connect() in C:\Inetpub\wwwroot\makaleler\setup.php on line 123 Does anyone know how to fix this issue?? jonathanwminer 2006-11-16 07:08:10 PST I have no experience with Windows, but it sounds like your version of PHP is not aware of your MySQL instation. logart 2006-11-16 08:02:47 PST Looks like you need to install the php-mysql library. rainbowfc 2006-11-17 01:35:47 PST Can you help me how to get these files? I have PHP 5.2.. I guess there is no PHP-MYSQL library for this version.. logart 2006-11-17 07:25:41 PST There is a note about that here: <!-- m --><a class="postlink" href="http://us2.php.net/mysql">http://us2.php.net/mysql</a><!-- m --> rainbowfc 2006-12-02 01:43:04 PST Now the error message changed a bit .. Unable to connect!PHP Warning: mysql_connect() [function.mysql-connect]: Access denied for user: '[email protected]' (Using password: YES) Any idea? rainbowfc 2006-12-02 02:18:49 PST NOW i reinstalled mysql.. I get this error message.. Unable to connect: PHP Warning: mysql_connect() [function.mysql-connect]: Access denied for user: '[email protected]' (Using password: YES) in C:\Inetpub\wwwroot\makaleler\config.php on line 129 rainbowfc 2006-12-02 03:28:20 PST ok its working now.. i can see the login page.. ![]() but i get this error message when i try to logon with admin username without password.. There is a problem with your dataDir. Check to make sure it exists and is writeablePHP Warning: session_start() [function.session-start]: open(C:\DOCUME~1\rain\LOCALS~1\Temp\php\upload\sess_5au3ioa3njqp63cieju9nf89r6, O_RDWR) failed: No such file or directory (2) in C:\Inetpub\wwwroot\makaleler\index.php on line 23 PHP Warning: Unknown: open(C:\DOCUME~1\rain\LOCALS~1\Temp\php\upload\sess_5au3ioa3njqp63cieju9nf89r6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\DOCUME~1\rain\LOCALS~1\Temp\php\upload) in Unknown on line 0 rainbowfc 2006-12-02 04:15:35 PST Finally its working ![]() Thank you for all who send responds.. A last error message ![]() When i try to change some user attribute like admin password i get this error message.. Error in query: INSERT INTO dept_reviewer (dept_id,user_id) VALUES('A', '')Out of range value adjusted for column 'dept_id' at row 1PHP Notice: Undefined variable: id in C:\Inetpub\wwwroot\makaleler\commitchange.php on line 197 PHP Notice: Undefined index: in C:\Inetpub\wwwroot\makaleler\commitchange.php on line 197 PHP Notice: Array to string conversion in C:\Inetpub\wwwroot\makaleler\commitchange.php on line 202 PHP Notice: Undefined variable: id in C:\Inetpub\wwwroot\makaleler\commitchange.php on line 206 rainbowfc 2006-12-02 04:45:22 PST When i try to add a document PHP Fatal error: Cannot re-assign $this in C:\Inetpub\wwwroot\makaleler\add.php on line 375 logart 2006-12-02 09:43:25 PST Hmm, this issue should be fixed already. You can fix it in your file by changing all the $this to $thistype logart 2006-12-02 09:44:13 PST What version are you running? |