At least it seems out of punbb sipirit, it doesn't have its style!
I think it sould be more user-satisfaction oriented hmm

Well:

The problem: a useless/mystery error message:

Unable to connect to MySQL server. MySQL reported: Access denied for user 'user'@'localhost' (using password: YES)"<

The Solution: simply, a useful message!!, just like:

How do you plan to automate adding a user to a MySQL server that you don't have correct login information for

!!

Smartys wrote:

Windows has nothing to do with it

Then why it works in Linux properly?

Smartys wrote:

Seriously, I've explained what the problem was tongue

I think it was about how to solve the problem, and the solution was kind of "manual".
Not about what is the exact reason beyond it, so that we could find an AUTOMATED solution.

I think that there IS a solution out there that makes this boring error message DISAPPEAR for ever!!

You know? I've been thinking.. if it was a permission problem as I guess, we may need some conditional PHP code, that could change the permissions for windows platform hmm !?

Just an idea for the next punbb version.

Thank you!
Now here's the comoplete line-58-error solution:
1- if you have a config.php file in /upload folder remove it.
2- Use phpMyAdmin to create an empty database (charset for ver1.2: latin1_swedish_ci, for ver1.3: utf8-unicode-ci). let's call it "myDB". also check the mySQL username from overthere (let's say it was root@localhost).
3- run install.php and give the database the same name "myDB". and the mySQL username as "root".

Well, I did.
1- I removed config.php file.
2- created a db called 'fDB'
3- ran install.php and filled the form with fDB as the db name.
The result was:

An error was encountered

Unable to connect to MySQL server. MySQL reported: Access denied for user 'ODBC'@'localhost' (using password: NO)
The error occurred on line 58 in C:\Program Files\xampp\htdocs\punbb13\upload\include\dblayer\mysql.php

I mean: the step2 didn't work in ver1.3. what can I do then?

I have the following config.php file:

<?php

$db_type = 'mysql';
$db_host = 'localhost';
$db_name = 'rDB';
$db_username = 'root';
$db_password = '';
$db_prefix = 'table_';
$p_connect = false;

$base_url = 'http://localhost/punbb13/upload';

$cookie_name = 'punbb_cookie_ee7f53';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;

define('PUN', 1);

So i created an empty db called rDB, and i've got this:

An error was encountered

The error occurred on line 242 in C:\Program Files\xampp\htdocs\punbb13\upload\include\functions.php
Database reported: Table 'rdb.table_users' doesn't exist (Errno: 1146).

How can i guess the db structure?!

?

I've tried 1.3, the "error msg v1.3" was:

An error was encountered

Unable to select database. MySQL reported: Unknown database 'rdb'
The error occurred on line 55 in C:\Program Files\xampp\htdocs\punbb13\upload\include\dblayer\mysql.php

without even the installation step!

so what if i used utf8 in db then? with replacing iso references with utf-8 references in all php files?

Giga thanxxx !! cool

It works now...
but i stil worry about the charset..

what charset sould i use from phpMyAdmin? there's no iso?

well:
- Atually I'm not familiar with command line. could u tell me what exactly i should write?
- and is there any problem if i replased iso encoding with utf8 in all php files?

u mean ver1.3?

and how can i create the database firs?

Hi all

please could someone write an ULTIMATE complete solustion for this age-old trouble:

An error occured on line 58 in file C:\Program Files\xampp\htdocs\punbb-1.2.6\upload\include\dblayer\mysql.php.
PunBB reported: Unable to connect to MySQL server. MySQL reported: Access denied for user 'user'@'localhost' (using password: YES)

(please stick it)

Hi All,
Couple of days ago I've posted a list of ideas and suggestions for next version; here's an optimized version of it smile

As a "Content Management System":

    * A Complete AJAX BB:
      Ajax Menu: the whole site-map in 1 XML menu file.
      Each topic should have a (posts.xml) file and a (members.xml) file.
    * A JavaScript calendar support: something like http://www.dynarch.com/projects/calendar/.
    * user/visitors statistics: in the status bar, and/or in additional artificial buttonface-color status bar.
      Something like: Visitors: (# online/ # total) - Members: (# online / # total)
      I've wrote a code like this in a scripts.js.php
     

      window.status = "Visitors: (<?php echo count($guests) ?> online/ # total) - Members: (<?php echo count($users) ?> online / # total)";

but it didn't work sad
    * Imagine some kind of compatibility between punbb and mailman (GNU mailing list)
      The idea is: providing two ways to send and receive posts/messages: web browser, and mail client.

Multilingual:

    * Encoding: utf-8, with Unicode font (Tahoma).
      Utf-8 and Tahoma are better for non-Latin characters.
    * Text Boxes <Input>: LTR attribute for filename, username & password fields.
      It's is necessary to prevent inheriting RTL attribute in RTL pages, since filename, username & password are usually LTR texts.

Format:

    Some of the fallowing ideas are here: http://www.upload-images.net/imagen/502a468edc.png
    * Header Footer: width:100% across the whole page width.
    * Buttons: Flat borders, themes color.
    * Replacing "online/offline" texts in member-profile pane with a blink-maroon-gif for "online" and a gray-png for "offline".

    * Printing: client side (see http://www.richstyle.org: hiding the header, menu, sidebar -if any-, and footer blocks)
    * Footer: text-align: center.
    * Title box: white lines up and down.
    * Menu blocks: links should be blocks, not simple underlined texts.
    * Font size: 10px
    * Colorizing Scroll bar (for IE5.5+ users) - I wish if it was w3c standard hmm
    * OS Colors in The Control Panel/Administration pages (Buttonface..etc) and bigger padding.

Regarding CSS files I prefer coding like this:

DIV>DIV>DIV.postfootleft,
DIV>DIV>DIV.postfootright {
    PADDING-TOP: 1px;
    MARGIN-TOP: -1px
}

rather than:

DIV>DIV>DIV.postfootleft, DIV>DIV>DIV.postfootright {PADDING-TOP: 1px; MARGIN-TOP: -1px}

The first one is much readable.


Giga thanx..

17

(11 replies, posted in Feature requests)

I'm not exactly sure what you mean by "unlike the main punbb principles"

I mean

I looked around quite a lot, but all the boards I found were either "over-featured" or too graphic for the purpose they would be filling.

(no images as much as possible)

18

(11 replies, posted in Feature requests)

Also imagine some kind of compatibility between punbb and mailman (GNU mailing list) - the idea is: providing two ways to send and receive posts/messages: web browser, and mail client.

And one more thing: since smiles are allowed unlike the main punbb principles, I think it might be a idea good to replace "online/offline" texts in member-profile pane with a blink-maroon-gif for "online" and a gray-png for "offline".

19

(11 replies, posted in Feature requests)

What kind of statistics? An extension could do this nicely and let you customize exactly what data you want to see

Something like: Visitors: (# online/ # total) - Members: (# online / # total) - Alexa Rank: #

UTF-8 support is already planned and Verdana, the font we're using, does support Unicode characters.

* Text Boxes <Input>: LTR attribute for filname, username & passward fields.

Why?

UTF-8 and Tahoma are better for non-Latin characters. LTR attribute is necessary to prevent inheriting RTL attribute in RTL pages, since filname, username & password are usually LTR texts.

20

(11 replies, posted in Feature requests)

Hi All,
I've some ideas and suggestions for next version

Content Managmet:

    * Complete AJAX CMS:
      Ajax Menu: the whole site-map in 1 XML menu file.
      DB2XML tool.
    * Printing: client side (see http://www.richstyle.org: hiding the header, menu, sidebar -if any-, and footer blocks)
    * A javascript calender support: something like http://www.dynarch.com/projects/calendar/.
    * user/visitors statistics: in the statusbar, and/or in additional artificial buttonface-color statusbar.

MultLingual:

    * Encoding: utf-8, with unicode font (tahoma).
    * Text Boxes <Input>: LTR attribute for filname, username & passward fields.

Format:

    Some of the falloewing ideas are here: http://www.upload-images.net/imagen/502a468edc.png
    * Header+Footer: width:100% across the whole page width.
    * Footer: text-align: center.
    * Title box: white lines up and down.
    * Menu blocks: links should be blocks, not simple underlined texts
    * Font size: 10px
    * Buttons: Flat borders, themes color.
    * Colorizing Scroll bar (for IE5.5+ users) - I wish if it was w3c standard hmm
    * OS Colors in The Control Panel/Administration pages (Buttonface..etc) and bigger padding.

Thanx..