Issues with 2.6.2

Please report bugs here!

Moderator: Thorsten

Post Reply
kjusupov
Posts: 36
Joined: Fri Jul 03, 2009 2:06 am

Issues with 2.6.2

Post by kjusupov »

phpMyFAQ version: 2.6.2
Apache/2.2.12 (Ubuntu)
PHP Version 5.2.10-2ubuntu6.4
PostgreSQL 8.3.9 on i486-pc-linux-gnu, compiled by GCC gcc-4.3.real (Ubuntu 4.3.3-5ubuntu4) 4.3.3

1. After successful installation I've submitted the form, but it does not do anything - remains on the same page as if nothing happened. I would expect that user will be redirected to a new page (maybe the default page or admin page)
2. Translation of an FAQ as an anonymous user cannot be submitted, the only message it shows (I did fill-in all required fields): Required fields are your name, your email address, category, headline, your Record and, when requested, the Captcha code!
3. Add a new user with an e-mail = "xaxa", no error - successfully added, but email address is NOT committed to database. Expect some sort of validation?
4. Can't view the FAQ as PDF file: You tried to access the address http://faq.deimos/pdf.php?cat=2&id=2&artlang=en, which is currently unavailable. Please make sure that the Web address (URL) is correctly spelled and punctuated, then try reloading the page.
5. Some error logs from apache logs file:
root@deimos:/var/www# tail -f /var/log/apache2/faq.deimos-error.log
[Tue Feb 02 14:36:13 2010] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyfaq/admin/editor/plugins/internalfaqlinkbox, referer: http://faq.deimos/admin/index.php?action=editentry
[Tue Feb 02 14:36:13 2010] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyfaq/admin/editor/plugins/imagemanager, referer: http://faq.deimos/admin/index.php?action=editentry
[Tue Feb 02 14:36:13 2010] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyfaq/admin/editor/plugins/filemanager, referer: http://faq.deimos/admin/index.php?action=editentry
[Tue Feb 02 14:36:13 2010] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyfaq/admin/editor/plugins/internalfaqlinkbox, referer: http://faq.deimos/admin/index.php?action=editentry
[Tue Feb 02 14:36:18 2010] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyfaq/admin/editor/plugins/imagemanager, referer: http://faq.deimos/admin/index.php?actio ... =1&lang=en
[Tue Feb 02 14:36:18 2010] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyfaq/admin/editor/plugins/filemanager, referer: http://faq.deimos/admin/index.php?actio ... =1&lang=en
[Tue Feb 02 14:36:18 2010] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyfaq/admin/editor/plugins/internalfaqlinkbox, referer: http://faq.deimos/admin/index.php?actio ... =1&lang=en
[Tue Feb 02 14:36:18 2010] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyfaq/admin/editor/plugins/imagemanager, referer: http://faq.deimos/admin/index.php?actio ... =1&lang=en
[Tue Feb 02 14:36:18 2010] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyfaq/admin/editor/plugins/filemanager, referer: http://faq.deimos/admin/index.php?actio ... =1&lang=en
[Tue Feb 02 14:36:18 2010] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyfaq/admin/editor/plugins/internalfaqlinkbox, referer: http://faq.deimos/admin/index.php?actio ... =1&lang=en
http://faq.deimos/pdf.php?cat=2&id=2&artlang=en
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Issues with 2.6.2

Post by Thorsten »

Hi,

thanks for the feedback!
1. After successful installation I've submitted the form, but it does not do anything - remains on the same page as if nothing happened. I would expect that user will be redirected to a new page (maybe the default page or admin page)
The form data is submitted by an Ajax call, so you don't get any new page.
2. Translation of an FAQ as an anonymous user cannot be submitted, the only message it shows (I did fill-in all required fields): Required fields are your name, your email address, category, headline, your Record and, when requested, the Captcha code!
Yes, there's a bug. I fixed it in my git repo.
3. Add a new user with an e-mail = "xaxa", no error - successfully added, but email address is NOT committed to database. Expect some sort of validation?
Where do you add the user? Registration in frontend or administration backend?
4. Can't view the FAQ as PDF file: You tried to access the address http://faq.deimos/pdf.php?cat=2&id=2&artlang=en, which is currently unavailable. Please make sure that the Web address (URL) is correctly spelled and punctuated, then try reloading the page.
Do you have any entries in your error log for that? I cannot reproduce this issue.
5. Some error logs from apache logs file:
No critical issue, I still have to investigate why TinyMCE has such a stupid behaviour.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
kjusupov
Posts: 36
Joined: Fri Jul 03, 2009 2:06 am

Re: Issues with 2.6.2

Post by kjusupov »

3. Add a new user with an e-mail = "xaxa", no error - successfully added, but email address is NOT committed to database. Expect some sort of validation?
Where do you add the user? Registration in frontend or administration backend?
Added from admin back-end.
kjusupov
Posts: 36
Joined: Fri Jul 03, 2009 2:06 am

Re: Issues with 2.6.2

Post by kjusupov »

4. Can't view the FAQ as PDF file: You tried to access the address http://faq.deimos/pdf.php?cat=2&id=2&artlang=en, which is currently unavailable. Please make sure that the Web address (URL) is correctly spelled and punctuated, then try reloading the page.
Do you have any entries in your error log for that? I cannot reproduce this issue.
Got this from "access" log file:
127.0.0.1 - - [02/Feb/2010:16:03:19 +0800] "GET /pdf.php?cat=1&id=1&artlang=en HTTP/1.1" 500 300 "http://faq.deimos/index.php?sid=31&lang ... artlang=en" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7"

nothing else...
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Issues with 2.6.2

Post by Thorsten »

Hi,

confirmed and fixed in my git repo: http://github.com/thorsten/phpMyFAQ/com ... 97c17db4d2

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

Re: Issues with 2.6.2

Post by Thorsten »

Hi,

which language do you have in the FAQ entry you try to export?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
kjusupov
Posts: 36
Joined: Fri Jul 03, 2009 2:06 am

Re: Issues with 2.6.2

Post by kjusupov »

which language do you have in the FAQ entry you try to export?
English
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Issues with 2.6.2

Post by Thorsten »

Hi,

this is really strange... I cannot reproduce this. :-(

Could you please try to enable the DEBUG mode in inc/Init.php and try it again?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
kjusupov
Posts: 36
Joined: Fri Jul 03, 2009 2:06 am

Re: Issues with 2.6.2

Post by kjusupov »

Thorsten wrote:Hi,

this is really strange... I cannot reproduce this. :-(

Could you please try to enable the DEBUG mode in inc/Init.php and try it again?

bye
Thorsten
Hi, I've tried as you suggested and still no success:

1. Now, when I click on PDF icon - browser saves an empty pdf.php file
2. The page shows few SQLs used - all are OK (I copy/paste them to run against my DB from the psql command line
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Issues with 2.6.2

Post by Thorsten »

Hi,

that's really strange... I'll have to investigate this. Did this worked with 2.6.1?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
kjusupov
Posts: 36
Joined: Fri Jul 03, 2009 2:06 am

Re: Issues with 2.6.2

Post by kjusupov »

Thorsten wrote:Hi,

that's really strange... I'll have to investigate this. Did this worked with 2.6.1?

bye
Thorsten
I have not tried 2.6.1 (previously have used 2.6.0, but not sure as I didn't test on it)...
mocker
Posts: 2
Joined: Wed Feb 03, 2010 10:36 pm

Re: Issues with 2.6.2

Post by mocker »

kjusupov wrote: Got this from "access" log file:
127.0.0.1 - - [02/Feb/2010:16:03:19 +0800] "GET /pdf.php?cat=1&id=1&artlang=en HTTP/1.1" 500 300 "http://faq.deimos/index.php?sid=31&lang ... artlang=en" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7"

nothing else...
Try increasing your memory_limit in php.ini
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Issues with 2.6.2

Post by Thorsten »

Hi,

what's the size of your PHP memory limit?

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