1
MS-2001
Admin menu
  • 2004/11/23 18:12

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


ok, now i've defenitly a big problem. when i came home to continue work on my xoopsproject the admin menu was killed.

just the message at the bottom:

Notice [PHP]: Undefined variable: xoops_admin_menu_js in file include/cp_functions.php line 72
Notice [PHP]: Undefined variable: xoops_admin_menu_dv in file include/cp_functions.php line 160

there are no buttons in the adminmenu. where have they gone? i dont know who had done that or why or ....

is there a way to fix that?
i searched all files for $xoops_admin_menu_js but its not defined. please help me

2
MS-2001
Re: Admin menu
  • 2004/11/23 18:39

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


ok. some researches helped me out. i found out that apache is able to create adminmenu.php in the cache folder but is not able to write to it. so the file has 0 byte and the cannot be any adminmenu.

to fix that (well, it's propably not a fix) you create any file in the root-dir with the following content:

include "mainfile.php";
include 
"include/cp_functions.php";
echo 
xoops_module_get_admin_menu();
?>


upload it to your ftp and run it. then get the sourcecode of the side and save it to /cache/adminmenu.php

now upload the file. your adminmenu works again ;).



another question: why does that problem occure from one day to the other?

Login

Who's Online

395 user(s) are online (86 user(s) are browsing Support Forums)


Members: 0


Guests: 395


more...

Donat-O-Meter

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

Latest GitHub Commits