spip 3.0 just dont roll here

Have been chmodding for more then 6 hours now.. still there is no acces to /ecrire since spip 3.0 can not see that I DID chmod all ( including all folders in the entire install ) folders..
Is spip 3.0 a dev version or is my server just plain stupid ?

kindly
Tom

btw
I allways have trhe problem witrh new versions os spip.. ususally just spend 5 15 hours chmodding all files and quiote often it works..
Usually I have to chmod the /tmp folder ( and all folder conten ) 25 to 100 times.. then do the same with /local
Unfortunately I did chmod Local 500 times now + tmp got chmod / deleted re-used etc.. 800 times..

And it still doesnt work..

the site/frontend it self have been up and running.. still no luck with the private part..

keep getting UID errors ( so I make new folders chmod them 777 and after some time SPIP see that they are 777..

what to do ??

On 19/05/12 21:44, tom wrote:

Is spip 3.0 a dev version or is my server just plain stupid ?

It sounds painful. Never had any problems like that.
Is it a clean install? And do you have ssh access to the server?

If so, you can use svn (well, if you have svn installed) to install the system, and thereafter to keep it up-to-date:
svn checkout svn://trac.rezo.net/spip/branches/spip-3-stable

Paolo

Maybe it’s not only a matter of permissions on files, but a problem of owner. (« chmod » not enough, « chown » needed)
It may depends on the configuration of your server, and the the type of hosting you’re using (dedicated server or shared hosting package).
In some configurations, the files and directories have to belong to the server, or the server group in order to work properly. Typically « www-data » on debian / ubuntu systems, with default configuration.

Try to investigate this on a working configuration with the « ls -lsa » command, before using « chown ».

2012/5/19 tom@mir.dk <tom@mir.dk>

Have been chmodding for more then 6 hours now… still there is no acces to /ecrire since spip 3.0 can not see that I DID chmod all ( including all folders in the entire install ) folders…
Is spip 3.0 a dev version or is my server just plain stupid ?

kindly
Tom

btw
I allways have trhe problem witrh new versions os spip… ususally just spend 5 15 hours chmodding all files and quiote often it works…
Usually I have to chmod the /tmp folder ( and all folder conten ) 25 to 100 times… then do the same with /local
Unfortunately I did chmod Local 500 times now + tmp got chmod / deleted re-used etc… 800 times…

And it still doesnt work…

the site/frontend it self have been up and running… still no luck with the private part…

keep getting UID errors ( so I make new folders chmod them 777 and after some time SPIP see that they are 777…

what to do ??


spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

Gave up 4now… tried newest 2.1xxxx
Looks like the 3.xx changed the SQL so now I have to make it work..
Keeps getting (in 2.09 & in 2.1xx ) "header already send .. can not send header..)
Will come backwith more specifics 2morrow.. ( sunday )

Den 19/05/2012 kl. 23.42 skrev Augustin Chassine:

Maybe it's not only a matter of permissions on files, but a problem of owner. ("chmod" not enough, "chown" needed

I think I just have to chmod in a specific order, since SPIP first demand that the tmp folder must be CHMoD.. then Local.. then a certain folder in Local then a folder in tmt etc..
thanx for help etc..
Tom
  

Hi,

sometimes such thing appears with spip_loader.php :
SPIP is installed with the Apache uid:guid - and sometimes your sftp user can’t change properly the access rights.
You shouldn’t have to do more than 5 chmod for a fresh install (IMG, tmp, local, config and eventually plugins/auto)
How did you upgrade your server ?
can you share a phpinfo() result ?

Regards,

.Gilles

On Sat, May 19, 2012 at 9:44 PM, tom@mir.dk <tom@mir.dk> wrote:

Have been chmodding for more then 6 hours now… still there is no acces to /ecrire since spip 3.0 can not see that I DID chmod all ( including all folders in the entire install ) folders…
Is spip 3.0 a dev version or is my server just plain stupid ?

kindly
Tom

btw
I allways have trhe problem witrh new versions os spip… ususally just spend 5 15 hours chmodding all files and quiote often it works…
Usually I have to chmod the /tmp folder ( and all folder conten ) 25 to 100 times… then do the same with /local
Unfortunately I did chmod Local 500 times now + tmp got chmod / deleted re-used etc… 800 times…

And it still doesnt work…

the site/frontend it self have been up and running… still no luck with the private part…

keep getting UID errors ( so I make new folders chmod them 777 and after some time SPIP see that they are 777…

what to do ??


spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

Hello,
I have just upgraded to new SPIP version. It is much better than previous versions. Thanks SPIP hackers and developers.
I have just 2 questions for now.
1: I find all authors can edit news items. If an author submit a news item, another author can easily change it. How to limit authors access to news items?
2: Authors can track petitions inside back-office. How to limit access to see only petitions on public site?
Thank you
Kamran

And I got this when I wanted to repair the database using the tool inside back-office:
SQL 2006: MySQL server has gone away

It checks all tables and when I accept the results, it returns to previous step to repair database again.


From: kamran Mir Hazar kamran_mirhazar@yahoo.com
To: spip-en spip-en@rezo.net
Sent: Tuesday, May 22, 2012 12:39 AM
Subject: [Spip-en] spip 3.0 +News items awaiting validation and petition

Hello,
I have just upgraded to new SPIP version. It is much better than previous versions. Thanks SPIP hackers and developers.
I have just 2 questions for now.
1: I find all authors can edit news items. If an author submit a news item, another author can easily change it. How to limit authors access to news items?
2: Authors can track petitions inside back-office. How to limit access to see only petitions on public site?
Thank you
Kamran


spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

In fact it’s due to your database configuration. You have a huge database, and even with shell command the CHECK TABLE sometimes create a problem :

mysql> CHECK TABLE spip_articles;
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect…
Connection id: 3535380
Current database: xxxxxxxxxxxxxxx

±------------------------------±------±---------±---------+
| Table | Op | Msg_type | Msg_text |
±------------------------------±------±---------±---------+
| xxxxxxxxxxxxxxx.spip_articles | check | status | OK |
±------------------------------±------±---------±---------+

I will check all your tables and correct them.
The builtin option inside SPIP seems too much light for your DB

.Gilles

On Tue, May 22, 2012 at 1:30 AM, kamran Mir Hazar <kamran_mirhazar@yahoo.com> wrote:

And I got this when I wanted to repair the database using the tool inside back-office:
SQL 2006: MySQL server has gone away

It checks all tables and when I accept the results, it returns to previous step to repair database again.


From: kamran Mir Hazar <kamran_mirhazar@yahoo.com>
To: spip-en <spip-en@rezo.net>
Sent: Tuesday, May 22, 2012 12:39 AM
Subject: [Spip-en] spip 3.0 +News items awaiting validation and petition

Hello,
I have just upgraded to new SPIP version. It is much better than previous versions. Thanks SPIP hackers and developers.
I have just 2 questions for now.
1: I find all authors can edit news items. If an author submit a news item, another author can easily change it. How to limit authors access to news items?
2: Authors can track petitions inside back-office. How to limit access to see only petitions on public site?
Thank you
Kamran


spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en


spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

Le 22/05/2012 00:39, kamran Mir Hazar a écrit :

all authors can edit news items. If an author submit a news item, another author can easily change it. How to limit
authors access to news items?

i reproduce this problem on grml.eu

I filed 3 bug reports about this and other news problems :
http://core.spip.org/projects/plugins-dist/issues

JLuc

Le 22/05/2012 11:51, JLuc a écrit :

Le 22/05/2012 00:39, kamran Mir Hazar a écrit :

all authors can edit news items. If an author submit a news item, another author can easily change it. How to limit
authors access to news items ?

AMOF this is the way it has to be, since news have no author by design.

You could change this to the opposite (no author can edit a news)
in editing authorisations :
http://programmer.spip.org/-Authorisation-management-

JLuc

Thanks


From: JLuc jluc@no-log.org
To: spip-en@rezo.net
Sent: Tuesday, May 22, 2012 7:25 PM
Subject: Re: [Spip-en] spip 3.0 +News items awaiting validation and petition

Le 22/05/2012 11:51, JLuc a écrit :

Le 22/05/2012 00:39, kamran Mir Hazar a écrit :

all authors can edit news items. If an author submit a news item, another author can easily change it. How to limit
authors access to news items ?

AMOF this is the way it has to be, since news have no author by design.

You could change this to the opposite (no author can edit a news)
in editing authorisations :
http://programmer.spip.org/-Authorisation-management-

JLuc


spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en