Zen Cart Logo
Forums / All Other Contributions/Addons / FAQ Module not working in my v1.5.0

FAQ Module not working in my v1.5.0

Views: 2,577

Results 1 to 7 of 7
28 Jul 2012, 11:10 AM
#1
phil020782 avatar

phil020782

Zen Follower

Join Date:
Jul 2007
Posts:
158
Plugin Contributions:
0

FAQ Module not working in my v1.5.0

Hi,
I have just installed a fresh instal of zen cart 1.5.0 and I am adding plugins to it. I downloaded the FAQ module from the plugin section, uploaded all the files (except template_default), I changed the name of the admin folder to match the name of my admin folder and changed the MY_TEMPLATE folder to match the name of my override folder.

When running the sql file there were problems, it said the was a syntax error around TYPE=MYISAM. I deleted TYPE=MYISAM and everything seemed to go through fine.

I loged into my admin enabled the sidebox which is all fine but when I goto Admin-Extras there is nothing there for FAQ so I can't get onto the FAQ pages in my admin.

Please can someone tell me is this module compatible with v1.5.0 and if so what I have done wrong or how I can fix the issue?

Thanks

28 Jul 2012, 12:54 PM
#2
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: FAQ Module not working in my v1.5.0

TYPE=MyISAM is deprecated.

ENGINE=MyISAM is the correct SQL statement.

Instead of deleting the statement, just change it to the correct one and rerun your SQL statements.

28 Jul 2012, 1:13 PM
#3
phil020782 avatar

phil020782

Zen Follower

Join Date:
Jul 2007
Posts:
158
Plugin Contributions:
0

Re: FAQ Module not working in my v1.5.0

I reran the sql file using ENGINE=MYISAM instead of TYPE=MYISAM but I still cannot see the FAQ manager in the admin-extras list.

Does anybody have any other ideas how I can get this to work?

Thanks

28 Jul 2012, 2:04 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: FAQ Module not working in my v1.5.0

I just tried to install it to a test site with the same result. it looks like this mod needs to be updated to work with Zencart version 1.5.0.

3 Aug 2012, 5:54 PM
#5
phil020782 avatar

phil020782

Zen Follower

Join Date:
Jul 2007
Posts:
158
Plugin Contributions:
0

Re: FAQ Module not working in my v1.5.0

Does anyone know how I can get the FAQ manager to work on v1.5.0?

3 Aug 2012, 6:17 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: FAQ Module not working in my v1.5.0

The module requires rewriting in several components:

  • installation code/instructions are required to link it into the new admin menu system used in v1.5. The new menu system now allows per-user control. But the only way to grant admin-user-specific control to modules is to tell the admin menu system about those modules, and then say which users can use them.
  • every admin file that uses a <form> to collect data needs to be adjusted to use zen_draw_form() properly, else the forms will not work: every time you click submit you'll be redirected to the admin home page.
  • and all the module's files, admin and non-admin, should be reviewed for security and efficiency. It looks like the module was based on very old Zen Cart code, and copied a lot of that older code to adapt it to other purposes; any old bugs in the old code that it was built upon will still be present in that adapted code. This really should be done even if using the module on v1.3.9 too.
  • and of course the SQL things mentioned already
3 Aug 2012, 6:30 PM
#7
phil020782 avatar

phil020782

Zen Follower

Join Date:
Jul 2007
Posts:
158
Plugin Contributions:
0

Re: FAQ Module not working in my v1.5.0

Thanks for the quick reply DrByte, I'll delete the files from my server and drop the table from my database. I'll just have to use an EZ page for my FAQ's

Thanks