Picon

Keep having problem with tmp/cache

I Keep having the same problem, with the newest spip instal. ( on an  
existing database)
The problem, is that the tmp/cache folder have a problem with rights..
After a few days of working, the rights cmod 777 stops working..
When it stop working, i cant get in to the private area /ecrire
Anybody have any idea what to do..
Is it my isp, is it me, or is it somethin else ?

Could there be any hidden/ new httases files that "fucks up", or is  
there another problem..

btw
have solved it several times .. deleting the intire content of /tmp  
folder, and it works again..
also have tried new install upon old.. sometimes this helps to..

would love NOT to have this problem..

kindly
Tom

Attachment (smime.p7s): application/pkcs7-signature, 1934 bytes
Picon

The problem is the cache.. getting to big ?

It looks as if my cache is getting big to fast..
it goes to  around 60MB in 2-4 days..
Altså I can not chmod tmp/cache/sessions..
Think the problem is in this folder..?
Tom

Attachment (smime.p7s): application/pkcs7-signature, 1934 bytes
Gilles Vincent | 10 Sep 02:24
Picon
Gravatar

Re: [Spip] How to get data with spip FORMS loops in public site ?

Hi,

The documentation of the form plugin is here :
http://www.spip-contrib.net/plugin-Forms-creation-de

you can also insert your form in specific templates with
#CACHE{0}
[(#MODELE{form}{id_form=1})]

and include it in article-10.html, or call it with such rl :
spip.php?page=myForm

More exactly the documentation is a little old-dated because it was
for an old version of the plugin. But it's the more complete I know.

.Gilles
--
2007/8/31, Frédéric URBAIN <fredurb1@...>:
>
> Le 30 août 07 à 23:21, Martín Gaitán a écrit :
>
> > Hello. I need get data sent in forms made with Spip Forms & table in
> > the public site,
> >
> > I've tried to understand the article
> > http://www.spip-contrib.net/Forms-tables-carnet-de-notes
> >
> > but the example of loop included didn't work for me.
> >
> > Actually, I need to do something like this, but with data from a
(Continue reading)

Gilles Vincent | 10 Sep 02:32
Picon
Gravatar

Re: Keep having problem with tmp/cache

Hi,

> I Keep having the same problem, with the newest spip instal. ( on an
> existing database)
> The problem, is that the tmp/cache folder have a problem with rights..
> After a few days of working, the rights cmod 777 stops working..

which version exactly do you use ?
do you have enough space one your hosting ?
which version of PHP is installed (this may help) ?
If you want to decrease the cache size, you can try to disable the
option of cache for the images (in your private area :
"donfiguration/advanced option").
You can also adjust it with parameters that you can find in
ecrire/inc_version.php

.Gilles
---
2007/9/9, tom@... <tom@...>:
> When it stop working, i cant get in to the private area /ecrire
> Anybody have any idea what to do..
> Is it my isp, is it me, or is it somethin else ?
>
> Could there be any hidden/ new httases files that "fucks up", or is
> there another problem..
>
> btw
> have solved it several times .. deleting the intire content of /tmp
> folder, and it works again..
> also have tried new install upon old.. sometimes this helps to..
(Continue reading)

Picon

Re: Keep having problem with tmp/cache

Im using spip SPIP 1.9.2b ( no extra numbers etc)
Lots of space +10GB
MySQL 4.1.21 / PHP Version 4.4.7

Did just chech my cache again.. in 8 hours +12MB cache..

It says 

La taille du cache est actuellement de 29.5 kb. ( after cleaning it !!)( 11,9MB after 8 hours)

SPIP essaie de limiter la taille du répertoire du cache de ce site à environ 10 Mb de données. (Ce paramètre est modifiable par le webmestre du site.)


How do I modify this to eg 100MB, and is it a good idea/bad idea to make it bigger ?

( my french is not so good)...


Did just look into the inc_version.php file.. looks as if I can modify quite a bit..

Tom




Den 10/09/2007 kl. 2.32 skrev Gilles Vincent:

Hi,

I Keep having the same problem, with the newest spip instal. ( on an
existing database)
The problem, is that the tmp/cache folder have a problem with rights..
After a few days of working, the rights cmod 777 stops working..

which version exactly do you use ?
do you have enough space one your hosting ?
which version of PHP is installed (this may help) ?
If you want to decrease the cache size, you can try to disable the
option of cache for the images (in your private area :
"donfiguration/advanced option").
You can also adjust it with parameters that you can find in
ecrire/inc_version.php

.Gilles
---
When it stop working, i cant get in to the private area /ecrire
Anybody have any idea what to do..
Is it my isp, is it me, or is it somethin else ?

Could there be any hidden/ new httases files that "fucks up", or is
there another problem..

btw
have solved it several times .. deleting the intire content of /tmp
folder, and it works again..
also have tried new install upon old.. sometimes this helps to..

would love NOT to have this problem..

kindly
Tom


_______________________________________________
spip-en-JM9gtpQu/Ho@public.gmane.org - http://listes.rezo.net/mailman/listinfo/spip-en



_______________________________________________
spip-en-JM9gtpQu/Ho@public.gmane.org - http://listes.rezo.net/mailman/listinfo/spip-en


Attachment (smime.p7s): application/pkcs7-signature, 1934 bytes
Gilles Vincent | 10 Sep 13:05
Picon
Gravatar

Re: Keep having problem with tmp/cache

Hi ,

you can overwrite the variable $quota_cache in config/mes_options.php
ex. $quota_cache = 100;
the value is in Mb, it's calculated approx. every hour, and 0 means no limit.

can you look wich part of you cache is huge ?
it's all in /tmp/cache
is it images or templates ?

.Gilles
---
2007/9/10, tom@... <tom@...>:
>  Im using spip SPIP 1.9.2b ( no extra numbers etc)
> Lots of space +10GB
> MySQL 4.1.21 / PHP Version 4.4.7
>
> Did just chech my cache again.. in 8 hours +12MB cache..
>
> It says
>
>
> La taille du cache est actuellement de 29.5 kb. ( after cleaning it !!)(
> 11,9MB after 8 hours)
>
> SPIP essaie de limiter la taille du répertoire du cache de ce site ŕ environ
> 10 Mb de données. (Ce paramčtre est modifiable par le webmestre du site.)
>
>
>
>
> How do I modify this to eg 100MB, and is it a good idea/bad idea to make it
> bigger ?
>
> ( my french is not so good)...
>
>
>
>
> Did just look into the inc_version.php file.. looks as if I can modify quite
> a bit..
>
> Tom
>
>
>
>
>
>
>
>
> Den 10/09/2007 kl. 2.32 skrev Gilles Vincent:
>
>
> Hi,
>
>
> I Keep having the same problem, with the newest spip instal. ( on an
> existing database)
> The problem, is that the tmp/cache folder have a problem with rights..
> After a few days of working, the rights cmod 777 stops working..
>
> which version exactly do you use ?
> do you have enough space one your hosting ?
> which version of PHP is installed (this may help) ?
> If you want to decrease the cache size, you can try to disable the
> option of cache for the images (in your private area :
> "donfiguration/advanced option").
> You can also adjust it with parameters that you can find in
> ecrire/inc_version.php
>
> .Gilles
> ---
> 2007/9/9, tom@... <tom@...>:
> When it stop working, i cant get in to the private area /ecrire
> Anybody have any idea what to do..
> Is it my isp, is it me, or is it somethin else ?
>
> Could there be any hidden/ new httases files that "fucks up", or is
> there another problem..
>
> btw
> have solved it several times .. deleting the intire content of /tmp
> folder, and it works again..
> also have tried new install upon old.. sometimes this helps to..
>
> would love NOT to have this problem..
>
> kindly
> Tom
>
>
> _______________________________________________
> spip-en@... -
> http://listes.rezo.net/mailman/listinfo/spip-en
>
>
>
>
> _______________________________________________
> spip-en@... -
> http://listes.rezo.net/mailman/listinfo/spip-en
>
>
>
> _______________________________________________
> spip-en@... -
> http://listes.rezo.net/mailman/listinfo/spip-en
>
>
>
Picon

Re: Keep having problem with tmp/cache

Guess I found it..
Its now around 2,5 hours since my last mail.
The cache is at 8MB, and allmost all the files is at:
tmp/cache/cache ( guess its invicible )
Finds around 1600 files in this folder..
Still not a lot of "action" on the server ( visits) ( around 400 for the last 3 hours )

Maybe I just have to clear it every second hour..

Just checked my statistic..
server is only moving 3-500MB a day ( files , average 413MB ) and there is a round 800-1300 IP/visits pr day ) ( spip stastic)

Something starnge just happend..
did try to empty my image cache..
it cleaned out "both" caches img + "the other" cache.. its now 27kb..
all the time the img cache writes: ( hope it means empty..?)

Guess that I could change mes_options.php but I think there is something "wrong" somewhere else..!?
Hope this helps..
Kindly

Tom

info images auto
taille cache image



Den 10/09/2007 kl. 13.05 skrev Gilles Vincent:

Hi ,

you can overwrite the variable $quota_cache in config/mes_options.php
ex. $quota_cache = 100;
the value is in Mb, it's calculated approx. every hour, and 0 means no limit.

can you look wich part of you cache is huge ?
it's all in /tmp/cache
is it images or templates ?

.Gilles
---
 Im using spip SPIP 1.9.2b ( no extra numbers etc)
Lots of space +10GB
MySQL 4.1.21 / PHP Version 4.4.7

Did just chech my cache again.. in 8 hours +12MB cache..

It says


La taille du cache est actuellement de 29.5 kb. ( after cleaning it !!)(
11,9MB after 8 hours)

SPIP essaie de limiter la taille du répertoire du cache de ce site ŕ environ
10 Mb de données. (Ce paramčtre est modifiable par le webmestre du site.)




How do I modify this to eg 100MB, and is it a good idea/bad idea to make it
bigger ?

( my french is not so good)...




Did just look into the inc_version.php file.. looks as if I can modify quite
a bit..

Tom








Den 10/09/2007 kl. 2.32 skrev Gilles Vincent:


Hi,


I Keep having the same problem, with the newest spip instal. ( on an
existing database)
The problem, is that the tmp/cache folder have a problem with rights..
After a few days of working, the rights cmod 777 stops working..

which version exactly do you use ?
do you have enough space one your hosting ?
which version of PHP is installed (this may help) ?
If you want to decrease the cache size, you can try to disable the
option of cache for the images (in your private area :
"donfiguration/advanced option").
You can also adjust it with parameters that you can find in
ecrire/inc_version.php

.Gilles
---
When it stop working, i cant get in to the private area /ecrire
Anybody have any idea what to do..
Is it my isp, is it me, or is it somethin else ?

Could there be any hidden/ new httases files that "fucks up", or is
there another problem..

btw
have solved it several times .. deleting the intire content of /tmp
folder, and it works again..
also have tried new install upon old.. sometimes this helps to..

would love NOT to have this problem..

kindly
Tom


_______________________________________________




_______________________________________________



_______________________________________________




Attachment (smime.p7s): application/pkcs7-signature, 1934 bytes
Paolo | 10 Sep 09:39
Picon
Favicon

Re: The problem is the cache.. getting to big ?

tom wrote:
> It looks as if my cache is getting big too fast..

Hello, I have the same problem and have not managed yet to find out what causes 
it. It happened with SPIP 1.9.2 and also now (we are running a 1.9.3 dev 
version). Our service provider thinks it may be something to do with the 
interaction between PHP 5.2.2 and Apache 2, but we have not seriously looked yet.

If you find anything out, please let me know - and I will do the same.

Paolo

Christoph Stahl | 17 Sep 18:45
Picon
Favicon

Section and Articles vanished in backend

Hello everyone,

i'm building a website with spip 1.92 and while people are putting 
content into the backend i noticed a section missing in the backend.
when i tried to access it with its id like this 
ecrire/?exec=naviguer&id_rubrique=1 i got a memory allocation error, 
same with try to edit any article in it with this 
ecrire/?exec=articles&id_article=1.

I found out that somehow the id_parent entry for that section was set to 
the section itself. When i manually set it to 0 all was ok again. Now i 
know not even an author with admin rights in the backend can move a 
section into itself, so does anyone have any clue how this could have 
happened?

best regards from germany
Chris
Christoph Stahl | 20 Sep 14:44
Picon
Favicon

Restrict numbers of shown articles

Hello everyone, i got another problem.

This is what i want to do. On an article page i want to show linked 
articles that have the same keywords from certain groups

Now i got
<BOUCLE_main_article(ARTICLES) {id_article} {doublons}>
    #TITRE
</BOUCLE_main_article>

<BOUCLE_words(MOTS) {id_groupe=1} {id_article}>
    <BOUCLE_linked_articles(ARTICLES) {id_mot}{doublons}>
       #TITRE
    </BOUCLE_linked_articles>
</BOUCLE_words>

this works ok. now i would like to restrict the output to 4 linked 
articles. how could i do that?

also i dont want to have the main article show among the linked ones, so 
i put in the doublons criteria. is there another way?
im asking because if i want to do this:

<BOUCLE_words(MOTS) {id_groupe=1} {id_article}>
    <BOUCLE_linked_articles(ARTICLES) {id_mot}{doublons}>
       #TITRE
    </BOUCLE_linked_articles>
    </B_linked_articles>
       no articles with this keyword
    <//B_linked_articles>
</BOUCLE_words>

the "no article with this keyword" is never shown because even i tho do 
the doublons criteria the loop is not empty - it is just not showing any 
article.

Thanks in advance
Chris

Gmane