1
Themis-T
Modules can't be deactivated.....
  • 2009/6/28 11:41

  • Themis-T

  • Just popping in

  • Posts: 8

  • Since: 2008/5/3 7


Hello,

Last month I noticed that I can't deactivate any of the installed modules.
Also I can't uninstall any of them.
With every action I return at the system module screen (with the preferences, modules, avatars, etc).
I have activated the debug option to see the errors, but no error shows up.
I tried and updated the system module, but nothing happened.
Any idea what's going on?
Anybody had ever this kind of problem?
Any suggestions are appreciated.
PS:
I have a XOOPS 2.0.16 version which, by the way, is severely hacked (xoops multilanguage hack 2.0.7 by Smartfactory) and I don't want to update it to 2.3 or any other version, because some modules won't work. Also, last month I changed hosting provider. Could it be because of php5?


Thanks

Themis

2
webmystar
Re: Modules can't be deactivated.....
  • 2009/6/28 12:34

  • webmystar

  • Friend of XOOPS

  • Posts: 415

  • Since: 2008/6/23


Quote:
Also, last month I changed hosting provider. Could it be because of php5?


I think here is your problem ... Many old modules versions don't work with php5 and XOOPS 2.0.16 is also very old. Check the modules and upgrade to xoops-2.3.3 ...

Which modules do you have install on your site?

3
trabis
Re: Modules can't be deactivated.....
  • 2009/6/28 12:37

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Moving to php5 is bigger problem than moving to XOOPS 2.3 lol.

So, I think you should consider in upgrade XOOPS and fix all you need to fix now.

4
Themis-T
Re: Modules can't be deactivated.....
  • 2009/6/28 13:30

  • Themis-T

  • Just popping in

  • Posts: 8

  • Since: 2008/5/3 7


Thank you for your answers.
In the time being, I transfered my site to a local server (I used WAMP 1.6.5 - it is an older version) with:

Apache version: Apache/2.0.59 (Win32)
PHP version: 5.1.6
MySQL version: 5.0.24a-community-nt

So, I tried to deactivate and uninstall a few modules and it worked just fine.
I just can't understand where is the problem.
My actual hosting server's configuration is:
Apache version 2.2.9 (Unix)
PHP version 5.2.5
MySQL version 5.0.77-community

Is there such a big difference between PHP 5.1.6. and PHP 5.2.5?
Is Apache my problem?
Or maybe the server's configuration?
Any idea?

Thanks

Themis

5
webmystar
Re: Modules can't be deactivated.....
  • 2009/6/28 13:39

  • webmystar

  • Friend of XOOPS

  • Posts: 415

  • Since: 2008/6/23


Quote:
Is there such a big difference between PHP 5.1.6. and PHP 5.2.5?

Yes, it can be the big difference.

6
Themis-T
Re: Modules can't be deactivated.....
  • 2009/6/28 13:59

  • Themis-T

  • Just popping in

  • Posts: 8

  • Since: 2008/5/3 7


I also noticed that even if I copy a module at the modules directory, when I go to Admin-System-Modules to install it, I can't because it can't be seen at the lower section where all the uninstalled modules are.My mistake...

As for the modules, it is a really big list. The problem is that I use this Job Listings module, which is severely hacked (thanks to John -jlmzone- for his help), and it doesn't work with XOOPS 2.3.
My site is about translation jobs and the module is modified/hacked for these kind of listings with many extra fields and options, etc.
Do you think that there is another solution except updating Xoops?
Anybody encountered the same problem before?

Thanks

Themis

7
ghia
Re: Modules can't be deactivated.....
  • 2009/6/28 14:23

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I don't think you suffer from the difference in PHP versions. I think you have some problems because of the transfert from one hoster to the other. Did the domain name stayed the same?
After the transfert you should delete the rows in the session table with phpMyadmin and clear the cache en template_c directories (keep index.html!).

8
Themis-T
Re: Modules can't be deactivated.....
  • 2009/6/28 15:36

  • Themis-T

  • Just popping in

  • Posts: 8

  • Since: 2008/5/3 7


Well, yes, I did all the above using xoopscare (sessions were deleted and the templates_c is empty except the index.html).
And the domain is the same.
Any other ideas?
Anybody encountered the same problem in the past?
I'm ready to try everything (...except the upgrade).

Themis

9
ghia
Re: Modules can't be deactivated.....
  • 2009/6/28 21:21

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Take a backup from your new site (files and db) and do a full compare of the unpacked files with the backup from the old site.
There will some obvious additions, but everything else should be the same. If not, the differences could learn us something.

10
skenow
Re: Modules can't be deactivated.....
  • 2009/6/30 3:25

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


I would look at your PHP installation on your new server and see if suhosin is installed - it probably is and it limits the number of post vars to 200, by default.
From another forum - Quote:
The modules admin form has 7 variables for each installed module, which means when you pass 28 installed modules, the form will not work unless you change the suhosin.post.max_vars directive to allow more post variables. The other actions on the page (install, update and show information) were working because they use get variables

Login

Who's Online

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


Members: 0


Guests: 138


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