cd demo problems

Problems with the Windows version of XAMPP, questions, comments, and anything related.

cd demo problems

Postby soulcollecter » 23. April 2009 08:13

im haveing problems trying to open this demo. when i click on the tab i get this error.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\xampp\cds.php on line 77
Could not connect to database!
Is MySQL running or did you change the password?

also if i click CD list as PDF document i get a these errors?
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\xampp\cds.php on line 17

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\xampp\cds.php on line 18

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in C:\xampp\htdocs\xampp\cds.php on line 18

Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\xampp\cds.php on line 28

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\xampp\htdocs\xampp\cds.php on line 28

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\xampp\cds.php on line 31

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\xampp\cds.php:17) in C:\xampp\php\PEAR\class.pdf.php on line 1916

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\xampp\cds.php:17) in C:\xampp\php\PEAR\class.pdf.php on line 1917

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\xampp\cds.php:17) in C:\xampp\php\PEAR\class.pdf.php on line 1919
%PDF-1.3 %âãÏÓ 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R /Font << /F1 8 0 R >> >> /MediaBox [0.000 0.000 595.280 841.890] >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj << /Creator (R and OS php pdf writer, http://www.ros.co.nz) /CreationDate (D:20090423) >> endobj 6 0 obj << /Type /Page /Parent 3 0 R /Contents 7 0 R >> endobj 7 0 obj << /Filter /FlateDecode /Length 140 >> stream xœmͱ Â0Fá½Oñ %½M£©›X«ƒ‚÷B“j$4’ >“o©¢ƒËÙ>N¶bT$ˆz1šæ`‹bS¢T‚À=0iÖhb®»ù8LÁ´œý¸Z‰R}}Ü’H¯T؏£ó6¸”#ŽwìÒ\Mwv}òn°£ˆé”c{ØÿhR«÷ å'-5 endstream endobj 8 0 obj << /Type /Font /Subtype /Type1 /Name /F1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> endobj xref 0 9 0000000000 65535 f 0000000015 00000 n 0000000080 00000 n 0000000126 00000 n 0000000280 00000 n 0000000309 00000 n 0000000414 00000 n 0000000477 00000 n 0000000690 00000 n trailer << /Size 9 /Root 1 0 R /Info 5 0 R >> startxref 797 %%EOF

i dont have problems accessing any admin panels however
soulcollecter
 
Posts: 1
Joined: 23. April 2009 08:06

Re: cd demo problems

Postby Sharley » 23. April 2009 08:23

Is MySQL started?

I get all those error messages exactly when I don't have MySQL running.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: cd demo problems

Postby Wiedmann » 23. April 2009 08:28

im haveing problems trying to open this demo. when i click on the tab i get this error.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\xampp\cds.php on line 77

You have changed the MySQL "root" password (in the secuity page). In this case, MySQL demos stop to work.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: cd demo problems

Postby ScaryFast » 27. April 2010 04:01

I know this is old but I found this post via Google. I just installed XAMPP 1.7.3 in WinXP SP3 and came across the "Is MySQL running or did you change the password?" error when trying to use the CD Collection demo. I thought I'd have to hunt down and start editing files when I noticed in the PHP errors it kept referring to a password text file. During the password change screen of the XAMPP Security runthrough I failed to check the 2 boxes for creating those text files. I merely went back to that page, "changed" the passwords again while checking both boxes, and now it works. Hope this helps.
ScaryFast
 
Posts: 1
Joined: 27. April 2010 03:54


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 64 guests