Jump to content
Sign in to follow this  
adgrafics

[Contribution] FAQ system v.1.0

Recommended Posts

I've installed that last contrib version http://www.oscommerce.com/community/contributions,1948 but I can't get it to work on the admin side.

 

I can see the link to the FAQ in my Information info box and the FAQ page it links to, but there's no trace of it in the admin panel. So basically, I can't do any of the creating, editing, deleting, activating, deactivating and what not from the admin side at all.

 

 

Anna

Share this post


Link to post
Share on other sites

Sorry, I spoke too soon. I was an idiot and added code to the wrong file. I added code meant for admin/includes/column_left.php into includes/column_left.php.

 

I can now see it on the admin side and the contrib works like a charm.

 

 

 

Anna

Share this post


Link to post
Share on other sites

I can not get the FAQ links to show in the Admin side.. the customer side is working fine.. I have made my edits for now in phpMyAdmin but I need to get this in the admin side!!

 

Everything is uploaded..

I made these changes:

ADMIN AREA
admin/includes/configure.php
// include local zz_configure.php
 require('includes/local/zz_configure.php');
 define('DIR_WS_LOCAL_BOXES', DIR_WS_INCLUDES . 'local/boxes/');
 define('DIR_WS_LOCAL_FUNCTIONS', DIR_WS_INCLUDES . 'local/functions/');
 define('DIR_WS_LOCAL_LANGUAGES', DIR_WS_INCLUDES . 'local/languages/');  
 define('DIR_WS_LOCAL_IMAGES', DIR_WS_INCLUDES . 'local/images/');

--------------------------------------------------------------
admin/includes/application_top.php
// include local zz_application_top.php
 require('includes/local/zz_application_top.php');
-------------------------------------------------------------
admin/includes/column_left.php
//mafro - zzFAQ
 require('includes/local/zz_column_left.php');
-------------------------------------------------------------
admin/configuration.php
 require('includes/application_top.php');
 require('includes/local/zz_configure.php');

 

If I call the FAQ manager direct from the browser I get an error:

 

browse_faq: Table 'eznails_osc1.TABLE_FAQ' doesn't exist

now I know this is not correct as the FAQ's come up in the customer side just fine and I know it is ther because I just edited it in phpMyAdmin and ecause it is defined:

define('TABLE_FAQ', 'zz_faq');

 

Calling zz_faq_view.php I get this error:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/eznails/public_html/ezshop/admin/zz_faq_view.php on line 22


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/eznails/public_html/ezshop/admin/zz_faq_view.php on line 37


Fatal error: Call to undefined function: tep_local_image_button() in /home/eznails/public_html/ezshop/admin/zz_faq_view.php on line 97

 

and it justgets worse from there :)

 

I hope someone can help me fix this!


Debbie D
Franklin County, VA "Moonshine Capitol of the World"
osCmax Mobile Template oscmaxtemplates.com

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×