New Zenner
- Join Date:
- Mar 2006
- Posts:
- 23
- Plugin Contributions:
- 0
FAQ Manager
Or not...
That isn't the solution after all.
Views: 88,845
New Zenner
Or not...
That isn't the solution after all.
Zen Follower
I'm getting this error on the sidebox .. any ideas ? :(
Fatal error: Class 'faq_category_tree' not found in /includes/modules/sideboxes/faq_categories.php on line 22
Zen Follower
Go back and make sure you uploaded all the files properly, if its not been added to the correct folder the class may not be getting loaded, hence the system can't find it.
Hope this helps
Derek
New Zenner
I am running Zen Cart 1.3.8a and have installed the FAQ Manager on www.myposprinter.com.
I am able to enter an FAQ through the admin. The question displays but not the answer.
The answer shows in the input box but does not display in Preview or on the store. The only place it displays is in the input box in the admin.
It does save, because I am able to recall it for editing. It just won't display on Preview or in the store.
Any ideas?
Zen Follower
Hi,
I've just installed this mod on my store 1.3.8 and got most of the issues sorted thanks to the posts on this thread.
I just have a few tiny issues I would like to fix if anyone can help me:
The ask a question button only appears on the new and all pages not the actual catagories pages
When you go to the ask a question page the question box is prefilled with the number 5 for no apparent reason
When you click on a catagory it displays the list of questions, when you click a question I would like it to go straight to the question and answer page rather than having to then click the question again.
I hope all that makes sense to everyone.
Thanks
Zen Follower
Doesn't matter, I've sorted it out.
For anyone who's interested this is what I done:
I done away with the ask a question form so that when someone clicks the ask a question button they are taken to the standard zen cart contact us form I achieved this by changing the following:
In file includes/modules/faqs_all_listing.php
<td colspan="2" align="right" class="main"><?php echo '<a href="' . zen_href_link(FILENAME_FAQ_SUBMIT, '', 'NONSSL') . '">' . zen_image_button(BUTTON_IMAGE_SUBMIT_FAQ, BUTTON_SEND_ALT) . '</a>'; ?></td>
</tr>
changed to
<td colspan="2" align="right" class="main"><?php echo '<a href="' . zen_href_link([B]FILENAME_CONTACT_US[/B], '', 'NONSSL') . '">' . zen_image_button(BUTTON_IMAGE_SUBMIT_FAQ, BUTTON_SEND_ALT) . '</a>'; ?></td>
</tr>
I repeated this for includes/modules/faqs_new_listing.php
Then to add the button to the catagory pages I added this code
<table border="0" width="100%" cellspacing="2" cellpadding="2">
<tr>
<td colspan="2" align="right" class="main"><?php echo '<a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'NONSSL') . '">' . zen_image_button(BUTTON_IMAGE_SUBMIT_FAQ, BUTTON_SEND_ALT) . '</a>'; ?></td>
</tr>
</table>
to the bottom of file includes/modules/faq_listing.php
Then the final step to make the page jump straight to the answer page when question is clicked:
in file includes/modules/faq_listing.php changed this:
case 'FAQ_LIST_NAME':
$lc_align = '';
$lc_text = ' <a href="' . zen_href_link(FILENAME_FAQS, 'fcPath=' . $fcPath . '&faqs_id=' . $listing->fields['faqs_id']) . '">' . $listing->fields['faqs_name'] . '</a> ';
to this:
case 'FAQ_LIST_NAME':
$lc_align = '';
$lc_text = ' <a href="' . zen_href_link([B]FILENAME_FAQ_INFO[/B], 'fcPath=' . $fcPath . '&faqs_id=' . $listing->fields['faqs_id']) . '">' . $listing->fields['faqs_name'] . '</a> ';
Totally Zenned
for anyone who can't get submit image going:-
add this:-
define('BUTTON_IMAGE_SUBMIT_FAQ', 'button_ask_a_question.gif');
to includes/extra_datafiles/faq_manager_file_names.php
:smile:
Zen Follower
Hi,
I am having a little trouble with my sub catagories. If I click on a catagory that has sub catagories the main homepage is displayed with the subcatagories below it. Someone said that by removing the file open-operations/faq_application_top.php the problem would be solved but if I do that I lose the faq sidebox and all sideboxes after it.
Does anyone know how I can solve this issue?
Thanks
Zen Follower
I'm getting this error when I turn on the FAQ sidebox
Fatal error: Cannot instantiate non-existent class: faq_category_tree in /home/divabou/public_html/Catalog/includes/modules/sideboxes/faq_categories.php on line 22
I can I correct this so that it can work?:frusty:
Zen Follower
Originally Posted by divaboutiques
How do I clear this error for my FAQ manager I have installed all the file into the right folders, but when Iturn on the sidebox I am getting the following error.
Fatal error: Cannot instantiate non-existent class: faq_category_tree in /home/divabou/public_html/Catalog/includes/modules/sideboxes/faq_categories.php
on line 22
Looks like you haven't followed the instructions fully, you need to add the extra code to your application top, you'll find the code within the instructions.
Derek
I have looked in the instructions and there is not any codes within the instruction to place anywhere: thi is what I am getting for the instructions.
WHAT IS REQUIRED?
INSTALLATION:
Step 1: Upload files to server
Step 2: Run .sql file
=== Step 1 ===
All files are arranged in the correct Zen Cart v1.3.7 structure.
Just upload to your server as they are without any editing required.
(Is prefered to change the template_default folder in this release to the foldername of your template. In this way you leave intact the template_default folder for future updates)
=== Step 2 ===
New database tables need to be created to store your new FAQs and FAQ categories.
New configuration options are added to the zen_configuration table.
Upload the included faq_manager.sql using the Zen-Cart Admin Sql Patches tool.
NOTE: This contribution was originally created by www.perfectdesigning.net. All credit goes to them. I just updated this great contribution to be compatible with Zen-Cart Version 1.3.5 and modified the instructions.
There is nothing in here to replace any codes, so again how do I clear this error
Fatal error: Cannot instantiate non-existent class: faq_category_tree in /home/divabou/public_html/Catalog/includes/modules/sideboxes/faq_categories.php on line 22
Zen Follower
Okay I have restore my application_top file, but I went to turn on the faq sidebox and all my categories item and pages where blank. Now what to do?
Zen Follower
Hello,
The error is telling you that it can't find the class, can you make sure that you add all required files, theres no reason for it not to work provided the files are all available on the server, also make sure the file permisins are correct.
I hope tis helps
Derek
Zen Follower
I having problems with being able fckeditor with this mod. please if anyone can give help im getting this error.
Warning: Missing argument 1 for FCKeditor::__construct(), called in /home/dscott19/public_html/dealzrus2/admin/includes/modules/faq/collect_info.php on line 198 and defined in /home/dscott19/public_html/dealzrus2/admin/includes/fckeditor_php5.php on line 42
Fatal error: Call to undefined method FCKeditor::CreateFCKeditor() in /home/dscott19/public_html/dealzrus2/admin/includes/modules/faq/collect_info.php on line 200
can someone tell me how to fix this or point me in the right direction.
Zen Follower
Hello,
The editor your using must be expecting an additional parameter which is not currently being received.
The best thing to do is have a look at the code where the editor works on a text area and copy the code, remember of course and make sure you change the name of it so it continues to work with the faq manager tables.
I hope this helps
Derek
Zen Follower
Hi Everybody
I have installed this mod on 1.3.7 .. but I get this error on the sidebox
1054 Unknown column 'p.products_date_available' in 'where clause'
in:
[select p.faqs_id from faqs p where p.faqs_status = '1' and p.products_date_available >=20080413 limit 1]
Any ideas ?
Zen Follower
NullMind:
Hi Everybody
I have installed this mod on 1.3.7 .. but I get this error on the sidebox
Any ideas ?
Theres a fix for this i think in this thread.
Regards
Derek
Zen Follower
delia:
attached is the corrected sql file. I don't have the time to do more right now but if I get a chance, I'll make the necessary corrections to the mod and upload the corrected version. If that is, someone has a completely working faq manager (any version) that I can look at from both catalog side and admin so I can figure out this is supposed to work. Anybody?
Is there a way to drop all previous FAQ related entries to re-install this one ? I get duplicate errors, my installation is botched :/
Zen Follower
duplicate .. question above
Zen Follower
NullMind:
duplicate .. question above
You could either write a script for uploading via admin or simply go int your database via phpmyadmn or something similar and take care of the problem.
Regards
Derek
New Zenner
Hi guys -
I have updated the FAQ Manager and fixed a number of issues with it that I perceived as bugs. Some of the things I did are:
Fields marked required must be completed.
Tell staff why this post should be reviewed.