4images Forum & Community

International => Français => Topic started by: psygno on November 03, 2005, 03:55:05 PM

Title: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: psygno on November 03, 2005, 03:55:05 PM
bonjour,

voila y a quasi 1 an je decide de mettre des photos en lignes pour la famille eloignée
je decide de prendre un bon hebergeur, je part chez infomaniak (d'apres des avis positifs vu sur le net)

j'utilise depuis le debut le script 4 images, actuellement et depuis longtemps je suis en 1.7.1 (+ fix de securite de juin)

j'ai aussi depuis le debut plusieurs categories, jai quasi 800 images (99% sont des jpg en 2048x1536 la plus grosse est de 700ko)
mais toujours aucun probleme

hier je decide de rajouter une jpg de taille tres correct (160ko comme d'habitude en 2048x1536)
je fais la procedure comme d habitude (en quasi 1 an on y est rode)
upload ftp dans la categorie voulue puis validation dans le control panel

menu de gauche "Visualiser les nouvelles images" --> puis click sur le bouton "Visualiser les nouvelles images"
deja la d'habitude j obtient une vignette (miniature) la rien (voir capture d ecran ci-dessous)

(http://www.chez-mizo.com/prob-1.jpg)

et c'est la que le probleme commence

si je fais click droit sur ma pseudo vignette (http://www.chez-mizo.com/prob-2.jpg)
et que je fais affiche l'image j'obtient ceci

"Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1536 bytes) in /home/web/galerie/includes/image_utils.php on line 81"

si je continue ma procedure comme d'habitude je validrais par le bouton "Ajouter"
j'obtient la meme chose comme erreur

(http://www.chez-mizo.com/prob-3.jpg)

d'apres la hot-line d'infomaniak ce serait le script 4images qui prendrait trop de memoire

perso. j'y crois pas sinon ca ferait depuis bien longtemps que j'aurais eu ce genre de probleme

de plus avec 16mb pour le script c est deja beaucoup vu que la pluspart c 'est limite a 8mb de consomation

si qqun a une idee ou une solution je suis super preneur

PS_1: je precise que pour la creation des vignettes je passe depuis toujours par "GD Graphics Library" ceci est bien installe sur le serveur en v2.0.28 & PHP est en v4.3.10

PS_2: bien sur je n'ai pas depasse mon quota de traffic mensuel ni mon espace disque !

au secours

merci

a bientot j espere

Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: psygno on November 03, 2005, 04:28:44 PM
dans la control panel de la gallerie

si je ne selectionne aucune bibilotheque pour les vignettes c est a dire que j annule GD
la tout marche mais bien evidement je nai aucune vignette

et apparement chez infomaniak il n y a rien d autre que GD d installe, aucune trace de ImageMagick ou NetPBm

si qqun a une solution....

merci
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: psygno on November 03, 2005, 04:33:16 PM
email recu de la hot-line de infomaniak



" .. J'ai vérifié celle disponible sur votre site dans le control panel et elle ne semble pas déraisonnable (160k) mais votre script doit faire quelque chose avec elle qui nécessite plus que 16Mb de mémoire, ce qui est tout à fait innacceptable ... "

suis je le seul a avoir ce probleme ?????????? o_O  :cry:
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: Acidgod on November 03, 2005, 05:10:45 PM
try to tell us it in english...
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: V@no on November 04, 2005, 12:14:51 AM
try to tell us it in english...
Its french forum ;)

@psygno:
sorry for english responce, but there is nothing you can do about it unless you have root access to the server, you should contact your host administrator and ask them to increase memory limit per script in php.ini
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: psygno on November 04, 2005, 08:44:52 AM
16mb its the full limit of my hosting !!!
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: Vincent on November 04, 2005, 09:34:21 AM
tu peu faire un file  phpinfo.php avec ce code!

Code: [Select]
<?php
phpinfo
();
?>

apres tu copie ce file dans le root et tu nous donne le URL correct

merci
vincent
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: psygno on November 04, 2005, 09:42:00 AM
merci vincent

je fais faire ca et te donner l URL en message prive

a+
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: Vincent on November 04, 2005, 01:58:59 PM
si tu le me en public tout person va t'aide!
vincent
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: Acidgod on November 04, 2005, 02:10:56 PM
try to tell us it in english...
Its french forum ;)

I know... *g*
But without any French Skills i can´t help in this Forum.
And when i see that he have make three Postings without any reply i want to help... (o:
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: psygno on November 04, 2005, 02:24:46 PM
si qqun veut voir

-> phpinfo

-> http://www.chez-mizo.com/phpinfo.php
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: Acidgod on November 04, 2005, 02:33:40 PM
i think this is also a Problem:
pense cela ceci représente aussi un problème:

max_execution_time   10   10

10 sec is very few
10 sec est très peu.

EDIT:
When you dont have access to the php.ini try to make a .htaccess File in the root Folder with following Content:
si tu aucun accéda sur le php.ini as, essaye de faire un fichier de .htaccess avec le contenu suivant.

memory_limit 32M
max_execution_time 60

Or try this:
Thanks! It worked for me, when I increased the upload file size. For other users with 'CPanel' based hosting, it is possible to put an overriding 'php.ini' file to some directory. It affects in that dir and all subfolders.

I created php.ini -file with the following content:

Code: [Select]
;----------------------------------
;php.ini override
;----------------------------------
max_execution_time = 60  ; Maximum execution time of each script, in seconds (7secs)
memory_limit = 32M  ; Maximum allowed size for uploaded files.


Hope this is what your are searching for...
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: psygno on November 04, 2005, 02:52:15 PM
thanks Acidgod

mais qqun de sympa pourrait me dire ce que raconte Acidgod
je ne comprend pas un mot d'anglais  :oops:

dsl

a bientot
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: Acidgod on November 04, 2005, 03:03:51 PM
ai essayé de le traduire. *g*

http://www.worldlingo.com/en/products_services/worldlingo_translator.html
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: psygno on November 04, 2005, 03:19:46 PM
thx again  Acidgod

1) I do not have access to the php.ini
2) when I make a file.htaccess that I move in the root of the site I obtains this

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@chez-mizo.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.""

Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: Acidgod on November 04, 2005, 03:29:07 PM
@psygno:
sorry for english responce, but there is nothing you can do about it unless you have root access to the server, you should contact your host administrator and ask them to increase memory limit per script in php.ini

désolé pour le responce anglais, mais il n'y a rien que vous pouvez faire à son sujet à moins que
vous ayez accès de racine au serveur, vous devriez contacter votre administrateur de centre serveur et les
demander d'augmenter la limite de mémoire par manuscrit dans le php.ini

)o:
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: psygno on November 04, 2005, 03:42:10 PM
in made it it is already done passed from 8mb has 16mb, but they cannot make more
 :cry:
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: psygno on November 08, 2005, 09:58:16 AM
bon ben merci a tous

mais comme y a rien a faire

poste clos
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: TheOracle on December 25, 2005, 10:55:59 PM
Comment s'est déroulé cette histoire ici finalement ?

Joyeux Noël.
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: Azzedine on February 16, 2006, 09:13:54 PM
J'ai le meme probleme avec une limite à 8Mo et mon administrateur refuse de monter au dela, il m'a donné le path pour ImageMagick qui marche bien avec un autre script selon lui mais j'ai une erreur qui me dit que le path est mauvais ou alors que le script n'est pas installé (l'admin assure que le script marche sur un SPIP).
Merci d'avance pour toute aide.

Try to translate in english :

I got same problem with 8Mo limit and the administrator of my website refuse to move up the limit, he gived me the path fo ImagMagick but 4image said me that it's wrong path or ImageMagick is not installed (the admin said that this path work perfectly with a SPIP gallery he use...).
Thanks for helping.
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: TheOracle on February 16, 2006, 09:40:11 PM
Quote

mon administrateur refuse de monter au dela


Si votre fournisseur internet refuse de monter la limite, vous devriez songer à changer de serveur pour de meilleur services car, en ce moment, vous êtes sous son contrôle. ;)
Title: Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
Post by: satine88 on August 17, 2008, 10:50:56 AM
Salut tous le monde,

Essayer ceci :

Placer dans le fichier .htaccess ceci :

Code: [Select]
<FilesMatch "\.(php|html?)$">
php_value memory_limit 24M
</FilesMatch>

Logiquement ça doit marcher :)