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

and ...

Post by jazcyk »

where is that 'Bad Word Blocker' ???
I still can't find it!
Last edited by jazcyk on Sat Mar 11, 2006 2:13 pm, edited 1 time in total.
jazcyk
Posts: 385
Joined: Wed Sep 07, 2005 1:32 pm

now .. what is this

Post by jazcyk »

when I run the local phpmyfaq from Firefox
adress http://localhost/faq16/index.php or http://localhost/10.0.0.3/index.php 'Ask Questions' And Open questions' point to :

http://faq16/index.php?action=ask
http://faq16/index.php?action=open
(the are valid links !!!)

similar from the other links in menu!
I did not test from other hosts.

what happend to 'localhost' and '10.0.0.3'? Does not happen with Opera and IE will NEVER EVER run on any of my computers!
jazcyk
Posts: 385
Joined: Wed Sep 07, 2005 1:32 pm

captcha's

Post by jazcyk »

I seems that it always displays the same text in the captcha. Will it be different on different systems, or change with time or what and how?

Could you explain?
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Re: Beta: 1) Unable to submit data

Post by matteo »

jazcyk wrote: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?
Hi jazcyk,
these 3 features are regularly running on my PMF 1.6.0 beta fresh installation though I agree with you that in PMF 1.6.0 alpha captcha support was broken and causing the same issue on "Ask question".
Because of you fall into the issue whenever you are requested to provide an email address I fear you are providing a wrong one for PMF email validation. E.g.: sometimes I'm used to write a local account in my test machine, <account>@localhost, and this is not a valid email address for PMF email validation. Can you post the syntax of the email address submitted?
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Re: Beta: 2) Issue on stat color

Post by matteo »

jazcyk wrote:2) Coloring of statistics broken in Opera and firefox
Hi jazcyk,
I'm not sure to have correclty understood your issue 'cause the stats bars are simple images built at runtime. Can you test these raw urls below and give us a feedback about the result?

Code: Select all

1. http://<PMF_Hostname>/<path_TO_PMF>/admin/stat.bar.php?num=1.00. Expected: Red
2. http://<PMF_Hostname>/<path_TO_PMF>/admin/stat.bar.php?num=2.00. Expected: Grey
3. http://<PMF_Hostname>/<path_TO_PMF>/admin/stat.bar.php?num=3.00. Expected: Grey
4. http://<PMF_Hostname>/<path_TO_PMF>/admin/stat.bar.php?num=4.00. Expected: Green
5. http://<PMF_Hostname>/<path_TO_PMF>/admin/stat.bar.php?num=5.00. Expected: Green
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Re: Beta ...

Post by matteo »

jazcyk wrote: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).
Hi jazcyk,
those info are retrieved using the PMF db class:

Code: Select all

db::client_version()
db::server_version()
and the implementation of these methods depends on the selected DB during the installation phase.
Can you post the value of your current

Code: Select all

$DB["type"]
from your

Code: Select all

[PATH_TO_PMFINSTALL]/inc/data.php
?
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

the database information from the admin backend is taken from the functions mysql_server_version() and mysql_client_version(). It should be the same as they are displayed in a phpinfo() page.

The captcha support is working here for me. Have you a fresh install or an updated version? The captcha code changes on my systems with every reload.

The colors of the statistics are not broken for me and I touched no code there in 1.6.

You don't see the bad word blocker. The "bad words" are in the file inc/blockedwords.txt. If you use a word from this file, you'll can't add a record, ask a question or add a comment.

I cannot reproduce your problems with the links. I didn't changed there something between 1.5.x and 1.6.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Re: and ...

Post by matteo »

jazcyk wrote:where is that 'Bad Word Blocker' ???
I still can't find it!
Currently it checks for the content submitted through a public PMF form such as "Ask question", using

Code: Select all

[PATH_TO_PMFINSTALL]/inc/blockedwords.txt
as the reference for those words that are banned from your PMF installation.
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
jazcyk
Posts: 385
Joined: Wed Sep 07, 2005 1:32 pm

answer ...

Post by jazcyk »

fresh or updated ...

half/half I would say

I unzipped the download, renamed it to /faq16 and placed the folder in the webroot. Next took my old config.php and data.php from webroot/faq157 folder. Executed the update script no errors reported.

So code is fresh. Database is old - but updated by the script.

I cannot either reproduce the issue with links now. Firefox has been restarted - that is the only thing ???

But captchas allways display 'follow the white rabbit' and any attempt to enter user data returns "You must ..." etc. and nothing is inserted.


I DO NOT have php_mod_rewrite enabled on my local. Did you try without that?

You are right. php_info() also says client 5.1.7. So that must be what the client .dll from MySQL AB says.
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: answer ...

Post by Thorsten »

Hi,
jazcyk wrote:But captchas allways display 'follow the white rabbit' and any attempt to enter user data returns "You must ..." etc. and nothing is inserted.
what happens if you call the captcha image directly: http://localhost/path/to/your/faq/index ... dd&gen=img

Which version of PHP and which OS do you use?

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

what happens.

Post by jazcyk »

a blank page is returned then.

does it depend on certain php modules?
My local PHP configuration is rather 'minimal' ?
jazcyk
Posts: 385
Joined: Wed Sep 07, 2005 1:32 pm

versions

Post by jazcyk »

php 5.1.2 Winx XP SP2 Home Danish.

I check with a few other PHP's now
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

it needs the GD library. Can you post your phpinfo() here? Can you post your error configuration in your php.ini file here, too.

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

4.3.11

Post by jazcyk »

with php 4.3.9 the link to the captcha image returns

"Fatal error: Call to undefined function: imagecreate() in d:\webside\faq16\inc\captcha.php on line 322"
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

okay, then you don't have the GD library enabled and the captcha and the statistic bars can't work!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply