1
bennymeister
can´t upload new modules

Hi there,
I have got a real big problem using Xoops. When I upload a new module it isn´t shown in the admin-menue. Usually "fresh uploaded" modules are shown as uninstalled modules. But it isnt. That happend with all modules i tried to upload/install. Is there another way to install a module, than in the admin-menue? Or does someone has an answer?
Don´t know whats wrong...

greetings Benny

2
irmtfan
Re: can´t upload new modules
  • 2007/1/12 21:54

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


1- turn php debug on and see if there is any error in "module admin" page.

2- Did you upload to yourxoops/modules directory, the module folder with the module files inside? there is a xoops_version.php file inside each module.

3- provide us more information about your XOOPS , php, MySQL version.

3
bennymeister
Re: can´t upload new modules

1- turn php debug on and see if there is any error in "module admin" page.



3- provide us more information about your XOOPS , php, MySQL version.

1. ok i turned on the debugger. it shows me these errors:
Notice: Only variables should be assigned by reference in file /modules/system/admin/modulesadmin/modulesadmin.php line 46
Warning: main() [function.main]: open_basedir restriction in effect. File(/cache/config.php) is not within the allowed path(s): (:/tmp) in file /modules/gsdownloads/xoops_version.php line 2
Warning: main(/cache/config.php) [function.main]: failed to open stream: Operation not permitted in file /modules/gsdownloads/xoops_version.php line 2
Warning: main() [function.include]: Failed opening '/cache/config.php' for inclusion (include_path='.:/usr/share/php') in file /modules/gsdownloads/xoops_version.php line 2
Notice: Only variables should be assigned by reference in file /class/xoopslists.php line 200
Notice: Use of undefined constant ol_videos - assumed 'ol_videos' in file /modules/ol_videos/xoops_version.php line 4
Notice: Use of undefined constant ol_DESC - assumed 'ol_DESC' in file /modules/ol_videos/xoops_version.php line 6
Notice: Use of undefined constant _MI_INCBLOCKS_TRIBLOCKS_BNAME - assumed '_MI_INCBLOCKS_TRIBLOCKS_BNAME' in file /modules/incblocks/xoops_version.php line 62
Notice: Constant _AC_MODULE_NAME already defined in file /modules/archcontact1/language/english/modinfo.php line 2
Notice: Constant _AC_MODULE_DESC already defined in file /modules/archcontact1/language/english/modinfo.php line 3
Notice: Constant _AC_MESSAGE already defined in file /modules/archcontact1/language/english/modinfo.php line 4

All these modules that are listed in the errorlog work like they should. It seems as if XOOPS doesnt check whether there is a new module in the module-directory

2. Yes I uploaded it in the modules directory and of course it had a xoops_version.php



3. XOOPS versin is 2.0.16 and php5 dont know the MySQL version

I hope these information are helpful

4
irmtfan
Re: can´t upload new modules
  • 2007/1/13 4:13

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


maybe someone with more skill can help you better.
but you should check that "open_basedir" with your hosting provider

use phpinfo and look for "open_basedir" to find if there is other than "no value" set for it so that is your problem.

Login

Who's Online

479 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 479


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