phpmyfaq 160

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

jazcyk
Posts: 385
Joined: Wed Sep 07, 2005 1:32 pm

phpmyfaq 160

Post by jazcyk »

I briefly tested in on my local (I am running a test-mirror here).

Update from 1.5.5 displayed no error. And the basic FAQ user-functionality seemed OK. However I have these issues/questions.

1) Privilege. The user that I use to use when accessing the admin panel did not have access to configuration. Only a few items showed up in the left hand menu. In the database rights displayed as '1111111111111111111111' . Adding one '1' to become '11111111111111111111111' (same as the 'SUPER-admin' user) gave access. Now created a dummy user and checked all fields. In database rights are shown as '11111111111111111111111' (same as SUPER). Is this a bug or a new privilege system or a bug? Or did you forget an SQL like UPDATE set ... = '1111111111111111111111' Where ... = '1111111111111111111111' in the update.php?

2) Ask question:
I tried to 'Ask Question'. Browser displayed "your name, your email address and your question is required." (orsomething like it) and nothing was created. I had provided a reasonable name email and question.

3) Add content:
I tried to 'Add Content'. Browser statusbar displays 'Done' but page is totally blank after that and nothing is inserted to database.

3a) Same thing happened when adding a comment.

4) Captcha: where?? Nothing like it shows up if I 'Ask Question' or 'Add Content'. A little bit of explanation, please!

5) Where is the 'bad word' blocker ?? Don't find anything like it in admin panel. Is it hard-coded into some .php-file?


Tested with Opera 9 TP2 and Firefox 1.5.1. Configuration php 5.1.2, Apache 2.0.53, php_mysql extension, MySQL 5.1.6. I CAN create new entries with all three users (SUPER, myself and dummy), so I don't believe that MySQL is a problem (though phpmyfaq on this version is undocumented)

Installation procedure:
Unzipped the download, renamed the folder to faq16 (where it is parallel to faq155), copied attachments, XML, PDF, data directories, data.php, config.php from 1.5.5 version, renamed _.htacces to .htaccess. The 'mods' to index.tpl were not ported. Ran the update.php script. No errors reported by update script. Deleted backup-files. This is the procedure I always follow - I never overwrite old version before new one has proved to function!

Now did the tests as described.
jazcyk
Posts: 385
Joined: Wed Sep 07, 2005 1:32 pm

additional info

Post by jazcyk »

1) I reimported a database backup to compared privleges in user table and compared the database for 1.5.6 nd 1-5-0. They are both '1111111111111111111111' for a user with all privileges. I don't understand how one '1' has disappeared!

2)
From the change-notes:
"adds a unique solution id to every FAQ record and adds support for a wiki-like revision system."

now I can see the two new database columns: solution-id and revision_id in faqdata table.

I also can see the 'Create new revision' option in 'edit record'. It increments revision_id with 1 if checked. So far so good. But should it not be integrated with the changelogs (faq_changes table)? It is of little use that revision is '7' if it is not described at all. It is just a number. Did I miss sosmething? Can you explain?

I also can see that all my old entries have solution-id = '0'. The first new one I create after update has '1000' next '1001'. More numbers! Some more explanation here needed too! do the two columns integrate somehow? How to use it? Or is just because the feature is not complete yet.

Believe it or not - I did quite a lot of program development 15 years ago. And I was taught: Development is 40% specification, 40% coding and and 40% documentation. (that is overtime - lots of it in that business! :) ). I don't see much documentation here. What is Thorsten's version of 40/40/40 ??
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

this alpha release was just a snapshot of the current development. The captcha support and the badword blocker are not finished yet.
1) Privilege. The user that I use to use when accessing the admin panel did not have access to configuration.
The update routine for the permission isn't finished yet and there's a known bug in the current permission lookup method.
2) Ask question:
...
3) Add content:
This won't work because of the unfinished captcha support.

I'm planning to release a second alpha in about two weeks there the captcha and badword blocker support will be fully implemented.

Thanks for testing the buggy alpha release!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,
I also can see the 'Create new revision' option in 'edit record'. It increments revision_id with 1 if checked. So far so good. But should it not be integrated with the changelogs (faq_changes table)? It is of little use that revision is '7' if it is not described at all. It is just a number. Did I miss sosmething? Can you explain?
The changelog won't be logging in each revision but in the global scope of the entry. I don't know if we need the revisions in the chanelog as well...
I also can see that all my old entries have solution-id = '0'. The first new one I create after update has '1000' next '1001'. More numbers! Some more explanation here needed too! do the two columns integrate somehow? How to use it? Or is just because the feature is not complete yet.
If you look at the frontend to the FAQ entry you'll the the solution ID and the revision. If you enter the solution ID into the search input field you'll jump right to FAQ entry.

This can be used for better costumer help. Maybe your callcenter say this problem is described in #1234, you just have to open you FAQ, enter 1234 into the search box and you see the entry.

Since this is a alpha release there is a lack of documentation. :-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jazcyk
Posts: 385
Joined: Wed Sep 07, 2005 1:32 pm

Post by jazcyk »

If you look at the frontend to the FAQ entry you'll the the solution ID and the revision. If you enter the solution ID into the search input field you'll jump right to FAQ entry.

nope! does not work. I have two new entries. #1000 and #1001.

Searching with '1000' or '1001' returns "Forbidden - You don't have permission to access /faq16/ on this server." Well .. yes I have disabled directory listing with this Apache configuration!

Searching with '#1000' returns one of my old entries from before the update (#0). Searching with '#1001' returns "No entries available.".

Mod_rewrite inactive on this 'test mirror'.
Last edited by jazcyk on Sun Feb 26, 2006 8:04 am, edited 1 time in total.
jazcyk
Posts: 385
Joined: Wed Sep 07, 2005 1:32 pm

documentation.

Post by jazcyk »

And ...

I really would appreciate if each new release had a complete list of files that have been added, removed and changed since last release. EVERY SINGLE ONE with just the change of a comma!
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

well it works here on my test box. But I try to reproduce your error. Since this is just an alpha release please stay tuned for the next version.

Why do you need a list of changed files?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jazcyk
Posts: 385
Joined: Wed Sep 07, 2005 1:32 pm

changed files

Post by jazcyk »

Why do you need a list of changed files?
Simply to be sure that I don't overlook something. If I have 'modded' a template, a style-sheet, a language-file, a php-file or .htaccess I must remember to port those 'mods' to the new version. I have overlooked a few changes over the last halft year.

Those files that have not changed, can just be copied from old installation (only needed if 'modded' of course, if not I will of course just use the new files wheter changed or not))

And why not use the file 'properties' for that? There is a 'version number' available here! A fille having version number 1.5.4 has been unchanged since then. But still I'd like a changelog for each version! 40/40/40 :D

Coding is not the most important thing. Communicating is!
Last edited by jazcyk on Sun Feb 26, 2006 10:27 pm, edited 1 time in total.
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

okay... I try to add something for you. :-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jazcyk
Posts: 385
Joined: Wed Sep 07, 2005 1:32 pm

hi ..

Post by jazcyk »

Please not that I edited a little bit.

It is no big issue for me as of now. We have only changed a littled in the english language file, the index.tpl and the start page. Google adds, removing 'Ask question etc, adding a few menuitems etc. We decided to wait for version 2 before changing overall design. Also because we will be very busy with other issues from now till MySQL Users Conference (where we will have a booth). The multilingual and fully Unicode compliant (including double-byte and BIDI) SQLyog 5.2 MUST be stable and functional at that time for demonstration!

But all those people that do move things around from one -css or -tpl to another extensively must have problems with each new release I guess. And I believe the phpmyfaq now is so complex that you will need it for yourself too! At least if you shall be able to have others working with you.
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

hm, when I think it would be good to add a @version PHPDoc tag in every file.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

the next release will include a documentation about using the solution ID.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jazcyk
Posts: 385
Joined: Wed Sep 07, 2005 1:32 pm

look at this

Post by jazcyk »

an update description like this for each release would be really nice!
http://forums.invisionpower.com/index.p ... pic=208568

This is the Forums software that we use.
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

I will try to do that. :-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jazcyk
Posts: 385
Joined: Wed Sep 07, 2005 1:32 pm

Beta ...

Post by jazcyk »

1) I still cannot

* Ask question
* Comment
* Add content

.. as a user. It displays "required are your namen, email adress ..." etc. I did provide all this. Also Typed the Captcha. No change as compared to last months alpha, where I reported th same thing. Did I miss something?

2) Coloring of statistics broken in Opera and firefox

3) A small issue: In the Opera browser (8.53) there are some cosmetics with the forms control in admin panel.


Issues with search as I reported last time are fixed.


BTW: the info about database client version displayed by phpmyfaq .. where does it get that from? I have installed this beta on mySQL 5.0.19, but it displays client version 5.1.7 beta. The php_mysql connector is the one for mySQL 5.0.18 distributed by MySQL - not the one distributed by php.net. But I have had phpmyfaq 1.5.7 installed on MySQL 5.1.7 previously. So it should display client version 5.0.18 I guess! (with the php_mysql php.net it should display something like 4.1.10).
Post Reply