1
yknoad
Error: Unable to write to main menu
  • 2005/2/15 11:32

  • yknoad

  • Just popping in

  • Posts: 4

  • Since: 2005/2/15


When I install a new module. There is an error occur that Unable to write to main menu. How do I do to fix that problem. Thanks for your help.

2
dilbert166
Re: Error: Unable to write to main menu
  • 2005/2/15 12:09

  • dilbert166

  • Just popping in

  • Posts: 74

  • Since: 2004/6/4 1


i once had that problem while using norton internet security´s firewall. i configured it to allow the referrer for my site and it was gone. maybe that´s the problem?

3
yknoad
Re: Error: Unable to write to main menu
  • 2005/3/8 13:06

  • yknoad

  • Just popping in

  • Posts: 4

  • Since: 2005/2/15


Oh ! I don't thinks so. Because I have installed the same module on the two different hosts. 1 has error, but the other hasn't.

Thanks for your helping and reading

4
yknoad
Re: Error: Unable to write to main menu
  • 2005/3/8 13:10

  • yknoad

  • Just popping in

  • Posts: 4

  • Since: 2005/2/15


This error occurs when I transfer all the data files of XOOPS system to one host to another host. So would you please show me how do I do to solve that problem ??

5
leon0804
Re: Error: Unable to write to main menu
  • 2005/3/8 14:56

  • leon0804

  • Just popping in

  • Posts: 1

  • Since: 2003/4/5 1


I knew the answer.
Try to
chmod 777 cache
But I think you have not changed your templates_c & uploads this 2 floder's permission to 777(rwxrwxrwx).

I think this answer might be help. Good luck!

6
yknoad
Re: Error: Unable to write to main menu
  • 2005/3/14 5:57

  • yknoad

  • Just popping in

  • Posts: 4

  • Since: 2005/2/15


I've done it before I had recieved your answer. But the problem still occur... I really don't know why.

7
twitaman
Re: Error: Unable to write to main menu
  • 2005/3/22 20:15

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


I'm getting this error too when I try to upgrade the News 1.3 module. I've tried all of these solutions but I still get the error.

Quote:

yknoad wrote:
I've done it before I had recieved your answer. But the problem still occur... I really don't know why.

8
twitaman
Re: Error: Unable to write to main menu
  • 2005/3/22 20:33

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Specifically here's the error I saw when I upgraded:

Quote:

failed open fileModule data updated.
Updating templates...
Template news_item.html inserted to the database.
Template news_archive.html inserted to the database.
Template news_article.html inserted to the database.
Template news_index.html inserted to the database.
Template news_by_topic.html inserted to the database.
Template news_by_this_author.html inserted to the database.
Template news_ratenews.html inserted to the database.
Template news_rss.html inserted to the database.

Unable to write to main menu.

Rebuilding blocks...
Block News Topics updated. Block ID: 32
Template news_block_topics.html updated.
Block Big Story updated. Block ID: 33
Template news_block_bigstory.html updated.
Block Top News updated. Block ID: 34
Template news_block_top.html updated.
Block Recent News updated. Block ID: 35
Template news_block_top.html updated.
Block Moderate News updated. Block ID: 36
Template news_block_moderate.html updated.
Block Navigate thru topics updated. Block ID: 37
Template news_block_topicnav.html updated.
Block Random news updated. Block ID: 128
Template news_block_randomnews.html updated.
Deleting module config options...
Config data deleted from the database. Config ID: 1014
Config data deleted from the database. Config ID: 1015
Config data deleted from the database. Config ID: 1016
Config data deleted from the database. Config ID: 1017
Config data deleted from the database. Config ID: 1018
Config data deleted from the database. Config ID: 1019
Config data deleted from the database. Config ID: 1020
Config data deleted from the database. Config ID: 1021
Config data deleted from the database. Config ID: 1022
Config data deleted from the database. Config ID: 1023
Config data deleted from the database. Config ID: 1024
Config data deleted from the database. Config ID: 1025
Config data deleted from the database. Config ID: 1026
Config data deleted from the database. Config ID: 1027
Config data deleted from the database. Config ID: 1028
Config data deleted from the database. Config ID: 1029
Config data deleted from the database. Config ID: 1030
Config data deleted from the database. Config ID: 1031
Config data deleted from the database. Config ID: 1032
Config data deleted from the database. Config ID: 1033
Config data deleted from the database. Config ID: 1034
Config data deleted from the database. Config ID: 1035
Config data deleted from the database. Config ID: 1036
Config data deleted from the database. Config ID: 1037
Config data deleted from the database. Config ID: 1038
Config data deleted from the database. Config ID: 1039
Config data deleted from the database. Config ID: 1040
Config data deleted from the database. Config ID: 1041
Adding module config data...
Config storyhome added to the database.
Config option added. Name: 5 Value: 5
Config option added. Name: 10 Value: 10
Config option added. Name: 15 Value: 15
Config option added. Name: 20 Value: 20
Config option added. Name: 25 Value: 25
Config option added. Name: 30 Value: 30
Config dateformat added to the database.
Config displaynav added to the database.
Config autoapprove added to the database.
Config newsdisplay added to the database.
Config option added. Name: _MI_NEWSCLASSIC Value: Classic
Config option added. Name: _MI_NEWSBYTOPIC Value: Bytopic
Config displayname added to the database.
Config option added. Name: _MI_DISPLAYNAME1 Value: 1
Config option added. Name: _MI_DISPLAYNAME2 Value: 2
Config option added. Name: _MI_DISPLAYNAME3 Value: 3
Config columnmode added to the database.
Config option added. Name: 1 Value: 1
Config option added. Name: 2 Value: 2
Config option added. Name: 3 Value: 3
Config option added. Name: 4 Value: 4
Config option added. Name: 5 Value: 5
Config storycountadmin added to the database.
Config option added. Name: 5 Value: 5
Config option added. Name: 10 Value: 10
Config option added. Name: 15 Value: 15
Config option added. Name: 20 Value: 20
Config option added. Name: 25 Value: 25
Config option added. Name: 30 Value: 30
Config option added. Name: 35 Value: 35
Config option added. Name: 40 Value: 40
Config uploadgroups added to the database.
Config option added. Name: _MI_UPLOAD_GROUP1 Value: 1
Config option added. Name: _MI_UPLOAD_GROUP2 Value: 2
Config option added. Name: _MI_UPLOAD_GROUP3 Value: 3
Config maxuploadsize added to the database.
Config restrictindex added to the database.
Config newsbythisauthor added to the database.
Config showprevnextlink added to the database.
Config showsummarytable added to the database.
Config authoredit added to the database.
Config ratenews added to the database.
Config topicsrss added to the database.
Config metadata added to the database.
Config form_options added to the database.
Config option added. Name: DHTML Value: dhtml
Config option added. Name: Compact Value: textarea
Config option added. Name: Spaw Editor Value: spaw
Config option added. Name: HtmlArea Editor Value: htmlarea
Config option added. Name: Koivi Editor Value: koivi
Config option added. Name: FCK Editor Value: fck
Config keywordshighlight added to the database.
Config highlightcolor added to the database.
Config infotips added to the database.
Config sitenavbar added to the database.
Config tabskin added to the database.
Config option added. Name: Bar Style Value: 1
Config option added. Name: Beveled Value: 2
Config option added. Name: Classic Value: 3
Config option added. Name: Folders Value: 4
Config option added. Name: MacOs Value: 5
Config option added. Name: Plain Value: 6
Config option added. Name: Rounded Value: 7
Config option added. Name: ZDnet style Value: 8
Config com_rule added to the database.
Config option added. Name: _CM_COMNOCOM Value: 0
Config option added. Name: _CM_COMAPPROVEALL Value: 1
Config option added. Name: _CM_COMAPPROVEUSER Value: 2
Config option added. Name: _CM_COMAPPROVEADMIN Value: 3
Config com_anonpost added to the database.
Config notification_enabled added to the database.
Config option added. Name: _NOT_CONFIG_DISABLE Value: 0
Config option added. Name: _NOT_CONFIG_ENABLEBLOCK Value: 1
Config option added. Name: _NOT_CONFIG_ENABLEINLINE Value: 2
Config option added. Name: _NOT_CONFIG_ENABLEBOTH Value: 3
Config notification_events added to the database.
Config option added. Name: Global : New Topic Value: global-new_category
Config option added. Name: Global : New Story Submitted Value: global-story_submit
Config option added. Name: Global : New Story Value: global-new_story
Config option added. Name: Story : Comment Added Value: story-comment
Config option added. Name: Story : Comment Submitted Value: story-comment_submit
Config option added. Name: Story : Bookmark Value: story-bookmark

Module News updated successfully.

9
ackbarr
Re: Error: Unable to write to main menu

in addition to having the /cache folder set to 777 permissions, any files inside it must also be writable, in this instance, the file needed is adminmenu.php. Make sure that this file has 666 permissions.

10
twitaman
Re: Error: Unable to write to main menu
  • 2005/3/22 22:47

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Thanks so much! That was it. It appears that the files/folders automatically go back to their 644 and 755 settings, eh? I didn't know that -- interesting.

Login

Who's Online

185 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 185


more...

Donat-O-Meter

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

Latest GitHub Commits