SmartFAQ is developed by The SmartFactory (, a division of InBox Solutions (

Why am I getting "Unable to install ???Error(s): Unable to write to main menu."?
  Requested and Answered by Carnuke on 2004/12/25 14:16:29     10699  reads 
You need to make sure that the script has writable access to the xoops cache folder, this is where the mainmenu file is stored and written.

That error message is generated if:

1) The request method is not POST; or
2) The HTTP_REFERER check fails; or
3) The file cache/adminmenu.php cannot be written to.


1) The request method is not POST.

This is a security check. This should never occur with the standard XOOPS code. It could result from faulty third-party code.

2) The HTTP_REFERER check fails.

This is another security check. It means that that the client (browser, firewall, popup blocker, etc) is blocking the HTTP_REFERER header from being sent.

3) The file cache/adminmenu.php cannot be written to.

Ensure that the cache directory and the file cache/adminmenu.php are writable. The file cache/adminmenu.php may be safely deleted.

The comments are owned by the author. We aren't responsible for their content.



Lost Password? Register now!

Who's Online

77 user(s) are online (1 user(s) are browsing XOOPS FAQ)

Members: 0

Guests: 77



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

Did you know ?

You can turn off the part of your XOOPS site that checks for the HTTP referrer information.

Random question

EXPLAIN: Warning [PHP]: Cannot modify header information - headers already sent by (output started at /home/myname/public_html/mainfile.php:101) in file user.php line 59