Author Topic: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!  (Read 37805 times)

0 Members and 1 Guest are viewing this topic.

Offline psygno

  • Newbie
  • *
  • Posts: 12
    • View Profile
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)



et c'est la que le probleme commence

si je fais click droit sur ma pseudo vignette
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



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


Offline psygno

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
« Reply #1 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

Offline psygno

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
« Reply #2 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:

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
« Reply #3 on: November 03, 2005, 05:10:45 PM »
try to tell us it in english...

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
« Reply #4 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
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline psygno

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
« Reply #5 on: November 04, 2005, 08:44:52 AM »
16mb its the full limit of my hosting !!!

Offline Vincent

  • Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
« Reply #6 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
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline psygno

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
« Reply #7 on: November 04, 2005, 09:42:00 AM »
merci vincent

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

a+

Offline Vincent

  • Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
« Reply #8 on: November 04, 2005, 01:58:59 PM »
si tu le me en public tout person va t'aide!
vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
« Reply #9 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:

Offline psygno

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
« Reply #10 on: November 04, 2005, 02:24:46 PM »
si qqun veut voir

-> phpinfo

-> http://www.chez-mizo.com/phpinfo.php

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
« Reply #11 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...

Offline psygno

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
« Reply #12 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


Offline psygno

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Problème louche: "Allowed memory size of 16777216 bytes exhausted" !!!
« Reply #14 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.""