1
stelaras1
Failed to open file - Unable to write to main menu.
  • 2005/8/29 11:56

  • stelaras1

  • Just popping in

  • Posts: 15

  • Since: 2005/4/12


When i am trying to install amodule i get the following message: Failed to open file (i think that referes to "http://xxx/modules/system/admin.php" because this is the current url in address bar in IE.
Then is says that module installed successfully and message "Unable to write to main menu."

The issue here is that the icon of the module is not diplayed in the menu in the left side with the other icons.

Keep in mind that cache. templates_c and upload directory is set to 777 permissions..

thanx for your time...

2
Mithrandir
Re: Failed to open file - Unable to write to main menu.

the cache directory cannot be written to by the webserver.

Why this is, I don't know, if the directory does have 777 permissions.
Perhaps contact your host to know if there is something special?
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

3
stelaras1
Re: Failed to open file - Unable to write to main menu.
  • 2005/8/29 12:08

  • stelaras1

  • Just popping in

  • Posts: 15

  • Since: 2005/4/12


i moved my site (to the same web server) from
directory www/xoops/....
to www/ *by copying all files to the www directory)
and then i changed the mainfile.php...

everything seem to run properly except the problem with the modules.


do u think that the problem has to do with this?

4
Mithrandir
Re: Failed to open file - Unable to write to main menu.

Double-check that the cache directory really IS writeable by the server.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

5
stelaras1
Re: Failed to open file - Unable to write to main menu.
  • 2005/8/29 12:27

  • stelaras1

  • Just popping in

  • Posts: 15

  • Since: 2005/4/12


the file adminmenu.php inside cache folder has permissions:
-rw-r--r--

is that correct?

6
Mithrandir
Re: Failed to open file - Unable to write to main menu.

No, it should be rw-rw-rw (on most usual configurations)
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

7
stelaras1
Re: Failed to open file - Unable to write to main menu.
  • 2005/8/29 13:03

  • stelaras1

  • Just popping in

  • Posts: 15

  • Since: 2005/4/12


i also changed menu.php which is in the same folder with the same rights as admin.php and now there are no annoying messages..

thanx Mithrandir

Login

Who's Online

121 user(s) are online (59 user(s) are browsing Support Forums)


Members: 0


Guests: 121


more...

Donat-O-Meter

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

Latest GitHub Commits