1
robin_hood
lexikon no admin!! error
  • 2009/2/7 19:54

  • robin_hood

  • Just popping in

  • Posts: 51

  • Since: 2008/12/6


Hello
I installed lexikon module but in admin i get a blank page with this error

Quote:

Fatal error: Call to a member function prefix() on a non-object in C:\xampp\htdocs\modules\lexikon\admin\menu.php on line 66
All errors (1) queries (6) blocks (0) extra (0) timers (3)
Errors
Notice: Undefined variable: xoopsDB in file /modules/lexikon/admin/menu.php line 66


http://dev.xoops.org/modules/xfmod/project/showfiles.php?group_id=1371

I use XOOPS latest version

please help

2
zyspec
Re: lexikon no admin!! error
  • 2009/2/7 21:33

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


You might try changing line 8 from
global $xoopsModule;

to:
global $xoopsModule$xoopsDB;


3
robin_hood
Re: lexikon no admin!! error

Works!! Thank you Zyspec, i still have one problem, when i click on the blocks tab i get this error
Quote:

Fatal error: Call to undefined function lx_fieldexists() in C:\xampp\htdocs\modules\lexikon\admin\menu.php on line 66
All errors (0) queries (7) blocks (0) extra (0) timers (3)
Errors

4
zyspec
Re: lexikon no admin!! error
  • 2009/2/8 13:50

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Somewhere near the top of the ./admin/menu.php file (like after line 8) add this line:
include_once './functions.php';

5
robin_hood
Re: lexikon no admin!! error
  • 2009/2/8 14:46

  • robin_hood

  • Just popping in

  • Posts: 51

  • Since: 2008/12/6


Done, but now when i click on the blocks tab it shows a redirect message "you don't have permissions to access..."

Login

Who's Online

292 user(s) are online (210 user(s) are browsing Support Forums)


Members: 0


Guests: 292


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits