Search found 46 matches

by mikovchain
Wed Mar 07, 2007 4:12 am
Forum: [3.0/Olympus] New features discussion
Topic: More powerful attachment management?
Replies: 27
Views: 77822

Re: More powerful attachment management?

I think it could be simpler to create one directory for each user id... No need to have the attachment date. It would be easier to calculate the disk quota if storing files according username, and current function body won't be changed too much ... We only assign folders to the users who have attac...
by mikovchain
Tue Mar 06, 2007 2:06 am
Forum: [3.0/Olympus] New features discussion
Topic: More powerful attachment management?
Replies: 27
Views: 77822

Re: More powerful attachment management?

Yup I know there are too many requests for dev team. This feature is requested by some of the Chinese phpBB2 users, and I think it would be a common problem for a forum which has been running for more than 3 years and has topics more than 100,000. Have you met such problems? I don't know whether it ...
by mikovchain
Mon Mar 05, 2007 6:08 am
Forum: [3.0/Olympus] New features discussion
Topic: More powerful attachment management?
Replies: 27
Views: 77822

Re: More powerful attachment management?

Hi all, Nobody answered my question... maybe one of you know where is the MOD I need. I want the uploaded files being stored in different folders by date. It is a popular feature of current forum programs. I had planned making it myself, but after looking into the code I found it would be too large ...
by mikovchain
Sun Mar 04, 2007 8:15 am
Forum: [3.0/Olympus] New features discussion
Topic: More powerful attachment management?
Replies: 27
Views: 77822

More powerful attachment management?

I found there is no much improvement in the attachment management system of phpBB3. Once it was a MOD of phpBB2 and then immigrated to phpBB3. I have to considered it because the forum may be used for a large scale of visitors. If there are millions of attached files, it is not a good idea putting t...
by mikovchain
Mon Feb 26, 2007 12:55 am
Forum: [3.0/Olympus] Discussion
Topic: Strange errors "Duplicate entry '送'"...
Replies: 8
Views: 5809

Re: Strange errors "Duplicate entry '送'"...

To naderman & DavidMJ:

Thank you so much for your kindly help!
by mikovchain
Sun Feb 25, 2007 7:33 pm
Forum: [3.0/Olympus] Discussion
Topic: Strange errors "Duplicate entry '送'"...
Replies: 8
Views: 5809

Re: Strange errors "Duplicate entry '送'"...

I currently modified the function sql_multi_insert($table, &$sql_ary) to avoid the problem...
Using "INSERT IGNORE INTO", so no duplicate warning will be thrown out

But the search function will meet trouble when searching any keys that contain "老“...
by mikovchain
Sun Feb 25, 2007 5:48 pm
Forum: [3.0/Olympus] Discussion
Topic: Strange errors "Duplicate entry '送'"...
Replies: 8
Views: 5809

Re: Strange errors "Duplicate entry '送'"...

Yes I know, but seems there is no such setting in mysql-4.0.26. Untitled-2.gif And, I am sorry I have made a mistake in the former post. The mysql version of another server is not 4.0.26, it is 4.1.20. in the phpinfo() the figure 4.0.26 only shows the version of "mysql Client API". Will this errro o...
by mikovchain
Sun Feb 25, 2007 5:25 pm
Forum: [3.0/Olympus] Discussion
Topic: Strange errors "Duplicate entry '送'"...
Replies: 8
Views: 5809

Re: Strange errors "Duplicate entry '送'"...

Do you mean the link "Show MySQL system variables" on the first page of phpMyAdmin? I didn't find the collation information. It shows: Variable Session value / Global value back log 50 basedir / binlog cache size 32,768 bulk insert buffer size 8,388,608 character set latin1 character sets latin1 big...
by mikovchain
Sun Feb 25, 2007 4:52 pm
Forum: [3.0/Olympus] Discussion
Topic: Strange errors "Duplicate entry '送'"...
Replies: 8
Views: 5809

Strange errors "Duplicate entry '送'"...

I met a strange error when posting in my test forum, error description: SQL ERROR [ mysql4 ] Duplicate entry '送' for key 2 [1062] SQL INSERT INTO phpbb3dev_search_wordlist (word_text) VALUES ('送') BACKTRACE FILE: includes/db/mysql.php LINE: 132 CALL: dbal_mysql->sql_error() FILE: includes/db/dbal.ph...
by mikovchain
Fri Feb 02, 2007 2:58 am
Forum: [3.0/Olympus] Discussion
Topic: Which tool are you using in devlp the PHP project of sourcfo
Replies: 0
Views: 1403

Which tool are you using in devlp the PHP project of sourcfo

I want to create a project in Sourceforge.net, so that My friends can share the code modification of each other. Sourceforge.net will give me a CVS project and some accounts for cvs/ssh login, but I don't know how to use it. I am used to developing my project in WinCVS(local cvsnt) and ultraEdit, ca...