Easyphp on windows: Entries not displayed

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
burak
Posts: 23
Joined: Tue Dec 28, 2010 1:03 pm

Easyphp on windows: Entries not displayed

Post by burak »

Hi,

I have installed EasyPHP-5.3.4.0 on my xp notebook.
I have extracted phpmyfaq-2.6.13.zip to the web\faq folder of the web root of easyphp installation.
Later using phpmyadmin , created a UTF-8 bin database named test.
I have installed the phpmyfaq by using install/setup.php , everthing seems ok.
I have created categories, removed spam capcht check, set new entries to active immediately.

However, when I add a new entry using add faq, I can not see the added entry in the category...
I am making a search no result. I click to the category, no entries displayed.
I can see the number of entries, but nothing comes up when I click to the category.

What could be wrong, would you please help?

Thanks,
Burak
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Easyphp on windows: Entries not displayed

Post by Thorsten »

Hi,

do you see the entries in the admin backend?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
burak
Posts: 23
Joined: Tue Dec 28, 2010 1:03 pm

Re: Easyphp on windows: Entries not displayed

Post by burak »

yes, I can see the 2 entries... I can edit them...
They are currently marked Active, one of them is marked sticky ( I guess , I am using Turkish language )

One more thing, when I change language in the user gui, all the categories gets lost , when I select Turkish language , they come back.
It is as if a category only supports one language?
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Easyphp on windows: Entries not displayed

Post by Thorsten »

Hi,

if you switch the language, the category language switch. For example, you need category 1 in Turkish and German to see it in Turkish and German. But you don't see a category in e.g. French.

Is it possible to send me your database dump to investigate what's wrong with your database?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
burak
Posts: 23
Joined: Tue Dec 28, 2010 1:03 pm

Re: Easyphp on windows: Entries not displayed

Post by burak »

How do I dump it?

I could not find the setting for the category language? Where I can add languages to the category?
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Easyphp on windows: Entries not displayed

Post by Thorsten »

Hi,

you can dump them with a tool like phpMyAdmin or with the backup functionality of phpMyFAQ.

There's a link called "overview" in the category administration there you can see the state of the categories and the translations.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
burak
Posts: 23
Joined: Tue Dec 28, 2010 1:03 pm

Re: Easyphp on windows: Entries not displayed

Post by burak »

Hi,

Yes, I can see the state of the categories, however, how do you define more than one language for a category?
I could not find a place to set language for categories...

Thanks,
Burak
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Easyphp on windows: Entries not displayed

Post by Thorsten »

Hi,

I found the issue why your entries are not displayed:

Code: Select all

INSERT INTO faqdata_user (record_id,user_id) VALUES (-1,0);
I'll check the code.

This is how the category overview looks like:
Bildschirmfoto 2010-12-29 um 10.57.48.png
If you click on this icon
Bildschirmfoto 2010-12-29 um 10.59.10.png
you can add a translated category.

bye
Thorsten
You do not have the required permissions to view the files attached to this post.
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Easyphp on windows: Entries not displayed

Post by Thorsten »

Hi,

this is the fix for your issue: https://github.com/thorsten/phpMyFAQ/co ... 3aaa43307e

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
burak
Posts: 23
Joined: Tue Dec 28, 2010 1:03 pm

Re: Easyphp on windows: Entries not displayed

Post by burak »

Hi,

Thank you for the fix, but I can not download the save.php from the git. I see download buttun but there is a zip file 3.52 mb. Should I not download and copy save.php only?

Burak
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Easyphp on windows: Entries not displayed

Post by Thorsten »

Hi,

just open the file save.php with a text editor and change the line of code. :)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
burak
Posts: 23
Joined: Tue Dec 28, 2010 1:03 pm

Re: Easyphp on windows: Entries not displayed

Post by burak »

Regarding the categories.

When there is only one category, you do not see those clickable ones. I translated one category to another language , then the second language appeared and got clickable.

However, there are 3 more problems now :)

1. I made a wrong move and translated to a language that I do not want to. How can you delete the translation? I select that language in main settings, but nothing seems changed... I can only delete for current language...
2. Lets say I deleted for all languages and created the category again, I can not move it to top, the MOVE button only replaces with the top category, causing it to be last one... When I try to move using the CUT button , category gets into the top one as a branch.
Here it comes, when you cut paste a category into its branch, categories gets LOST !
Example: There are 2 categories, item A has a branch called item B, when I cut item A, paste it to item B, items A and B both gets lost...
3. When the categories are lost, the entries , can be seen in administration screen, but can not be deleted...

How about being able to select, which language to delete, in category deletion screen?

Thanks,
Burak
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Easyphp on windows: Entries not displayed

Post by Thorsten »

Hi,
burak wrote:How about being able to select, which language to delete, in category deletion screen?
right... deleting only one translation is missing. I'll add it for the next release.

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