1
vincem118
Why can't see new module in Module Admin page?
  • 2006/1/18 3:36

  • vincem118

  • Just popping in

  • Posts: 17

  • Since: 2005/12/21


I just move all files from one site to a new site. Everything seems working ok. But when I add a new module (copied all files under the modules directory) and then go to the Modules Administration page, I can not see the newly added module there.

Please point out what's wrong. I guess may be database got screwup?

Thanks in advance.

VM

P.S. I turned on the debugger and got these:
Notice [PHP]: Undefined index: xoops_module_header in file templates_c/%%67^678^678C4299%%themeadmin.html.php line 38
Notice [PHP]: Undefined index: xoops_showlblock in file templates_c/%%67^678^678C4299%%themeadmin.html.php line 86
Notice [PHP]: Undefined index: xoops_showcblock in file templates_c/%%67^678^678C4299%%themeadmin.html.php line 104
Notice [PHP]: Undefined index: xoops_showrblock in file templates_c/%%67^678^678C4299%%themeadmin.html.php line 165

2
JMorris
Re: Why can't see new module in Module Admin page?
  • 2006/1/18 4:32

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


First, try emptying the contents of the templates_c/ and cache/ directories.

Make sure that, when you upload a module, you upload it so that the xoop_version.php file is in the root of the module folder, like so...

%xoops-root-directory%/modules/%module-name%/xoops_version.php

You said everything seemed to be working well, so I'm assuming that you got your mainfile.php configuration correct. The only thing I can think of, of the top of my pointed head, is that you've got some outdated cache or an improperly uploaded module.

Hope this helps.

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

3
vincem118
Re: Why can't see new module in Module Admin page?
  • 2006/1/18 14:58

  • vincem118

  • Just popping in

  • Posts: 17

  • Since: 2005/12/21


Thank you James.
I cleaned up "Cache" and "Template_c" directories and the following msgs keep coming back:

Notice [PHP]: Undefined index: xoops_module_header in file templates_c/%%67^678^678C4299%%themeadmin.html.php line 38
Notice [PHP]: Undefined index: xoops_showlblock in file templates_c/%%67^678^678C4299%%themeadmin.html.php line 86
Notice [PHP]: Undefined index: xoops_showcblock in file templates_c/%%67^678^678C4299%%themeadmin.html.php line 104
Notice [PHP]: Undefined index: xoops_showrblock in file templates_c/%%67^678^678C4299%%themeadmin.html.php line 165

Who generates these files and what is the purpose of throw things to the template_c directory anyway.

Thanks,
Vincent

4
bluenova
Re: Why cant see new module in Module Admin page?

Quote:
what is the purpose of throw things to the template_c directory anyway
It's where your compiled templates are stored for quick access, so it helps to speed up your site.

Have you made sure that all the permissions are set correctly for the templates_c uploads and cache directories? They should be chmod 777 on linux (sometimes you can get away with 704 on some configurations, but try 777 first) or Read-only should be unticked on windows.

5
vincem118
Re: Why cant see new module in Module Admin page?
  • 2006/1/19 14:49

  • vincem118

  • Just popping in

  • Posts: 17

  • Since: 2005/12/21


The directory is in 777 and the problem still exists. Any other config will cause this problem?

Vincent

6
bluenova
Re: Why cant see new module in Module Admin page?

I think your de-bug messages are unrelated to the not seeing a new module (but could be wrong) Do you see any kind of message, like 'module file not found'?

Note that the name of the module directory must be exactly the same as it is listed in the xoops_version.php file for the module.

7
Stewdio
Re: Why cant see new module in Module Admin page?
  • 2006/1/19 14:54

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Just for the heck of it, change your admin theme. Also go to main settings and turn on the automatic update for templates thinger-dinger. (Yes, thats a highly technical term)

Oh, and one more thing, go to your modules admin and update the system modules and other modules as needed. Just for kicks.

Good luck.
XOOPS Community Support

8
vincem118
Re: Why cant see new module in Module Admin page?
  • 2006/1/19 20:13

  • vincem118

  • Just popping in

  • Posts: 17

  • Since: 2005/12/21


Tried all above. Not helping

9
davidthomas1
Re: Why cant see new module in Module Admin page?

I have the same problem.

My module doesn't appear in the admin page

The xoops_version file appears correct.

Did anyone have and solve this problem?
みんなちがってみんないい。

XOOPS 2.0.13.2

10
davidthomas1
Re: Module install problem -solved!

PROBLEM SOLVED!

I turned on PHP Debug and got this error:

Fatal errorCannot redeclare WfsArticle::$groupid in /home/ajet/public_html/modules/wfsection/class/wfsarticle.php on line 61


Because I'm not even using wfsection, I deleted the module folder and all is peachy.

cheers,

D.
みんなちがってみんないい。

XOOPS 2.0.13.2

Login

Who's Online

225 user(s) are online (158 user(s) are browsing Support Forums)


Members: 0


Guests: 225


more...

Donat-O-Meter

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

Latest GitHub Commits