Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
6 - 2 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Modules can't be deactivated.....
by Themis_T on 2009/7/2 17:38:51

My hosting provider sent me this message:

"We have no restriction on php.ini usage. just make sure they not have permission 777 or 666. Thanks
Best Regards
mike"

The problem is that I have 2 sites
1. based on XOOPS 2.0.16 (6 groups of users - 37 modules)
2. based on XOOPS 2.3 (3 groups of users - 15 modules)

I tried creating a php.ini file in both of them -with the right permissions- and for both sites I get the same error (500 error, login errors, etc.)

Maybe the php.ini file syntax is wrong
le="color: #000000"><?php [PHP] suhosin.post.max_vars = 400

Any idea?

Themis
Re: Modules can't be deactivated.....
by ghia on 2009/7/1 12:42:14

As I said before:
- It seems you may not override the values with .htaccess, that's why the 500 error.
- For the php.ini it is possible that it must be in the execution directories. See the hosters documentation. (Possibility is that the servers configuration doesn't allow a custom override of php.ini)
Re: Modules can't be deactivated.....
by Themis_T on 2009/7/1 9:34:40

Well, I have a .htaccess file just to use the allow-deny parameters and I have entered the php values you advised me but then, I can not log in and the server shows an error (internel server error and a 500 error).
I believe that this is a hosting provider matter.
Also they send me a php.ini file to upload and it didn't work.
Anyone knows why php.ini is not accepted?

Themis
Re: Modules can't be deactivated.....
by ghia on 2009/6/30 16:36:15

How did you create it? Did you copy the original and then changed the values?
Read carefuly the hosters documentation on having these alternative php.ini files (how and where to create and what to put in).
(In some configurations this file need to be in all directories (can be simulated with .htaccess).)

You may also try to add this to your .htaccess file:
le="color: #000000"><?php php_value suhosin.post.max_vars 1024 php_value suhosin.cookie.max_vars 1024 php_value suhosin.get.max_vars 1024 php_value suhosin.request.max_vars 1024
(This is not always permitted.)
Re: Modules can't be deactivated.....
by Themis-T on 2009/6/30 15:19:33

OK...
Here's another answer:
Quote:
You just need to put the following value "suhosin.post.max_vars = value you want to set" on your custom php.ini file. Best Regards mike

My problem now is that if I create a php.ini file, I don't have access to the Administration section, the welcome screen appears but after that it shows me as not logged in.
Any advice on this too?
I'm really going mad....
I've worked hard for this site (I'm not a php genius) and I would really like to keep it the way it is.

Themis

Who's Online

203 user(s) are online (160 user(s) are browsing Support Forums)


Members: 0


Guests: 203


more...

Donat-O-Meter

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

Latest GitHub Commits