Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: problem with HQ pictures  (Read 5882 times)

0 Members and 1 Guest are viewing this topic.

yeaaa

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
problem with HQ pictures
« on: May 28, 2008, 07:25:07 pm »

i installed coppermine to my host but i found out that i cant uplaod big pictures even if i have space and i have made all the settings correct!when i uplaod them it says that message:::

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 9448 bytes) in /www/yoyohost.com/y/e/a/yeaaa/htdocs/gallery/include/picmgmt.inc.php on line 262

some other times when i upload big pictures eevrything is ok but when i try tosave the picture it doesnt appear the picture!please someone help!

thanks in advance!
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: problem with HQ pictures
« Reply #1 on: May 28, 2008, 07:35:49 pm »

Support > cpg1.4.x Support > cpg1.4 upload > Topic: Trouble-shooting the upload process.

There it's the FAQ and a direct link for it: http://forum.coppermine-gallery.net/index.php/topic,24088.msg110690.html#msg110690

Hope this helps you...  ;)
Logged
Read Docs and Search the Forum before posting. - Soporte en espaņol
--*--
Fabricio Ferrero's Website

Catching up! :)

yeaaa

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: problem with HQ pictures
« Reply #2 on: May 28, 2008, 07:47:52 pm »

thats helps much!but where is the php.ini and where do i have to paste that code?
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: problem with HQ pictures
« Reply #3 on: May 28, 2008, 08:02:52 pm »

Read carefully what I wrote or the links I quote. There is no place when it says that you have to paste some code. Indeed, it says
Quote
You must be the server's administrator to do this.
  Are you? If not, you can't change the php ini setting if you are in a shared server.

At last but not leats, did you bother to search this question before posting? I think not. Please, do it the next time.  ;)
Logged
Read Docs and Search the Forum before posting. - Soporte en espaņol
--*--
Fabricio Ferrero's Website

Catching up! :)

yeaaa

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: problem with HQ pictures
« Reply #4 on: May 28, 2008, 08:41:33 pm »

oh!sorry!i had so stress that i had so many pictures and i couldnt upload them!soory! :-\

well, i didnt uploaded the gallery!it was on the "ADDONS" in my host!but i think that i am an administrator!
Logged

yeaaa

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: problem with HQ pictures
« Reply #5 on: May 28, 2008, 09:18:53 pm »

now the problem is that i cant find the php.ini :-X :-[ :-\
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: problem with HQ pictures
« Reply #6 on: May 29, 2008, 04:05:19 am »

You can't ask about 2 issues in the same thread. And this has been answered several times. Please, search it on the forum next time. I know it's easier to pots, but it's not fair for us, the guys who helps you.

Just go to: http://www.your-site.com/you-gallery-folder/phpinfo.php

But, I told you, if you're on shared server you can't modify the settings..
Logged
Read Docs and Search the Forum before posting. - Soporte en espaņol
--*--
Fabricio Ferrero's Website

Catching up! :)

yeaaa

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: problem with HQ pictures
« Reply #7 on: May 29, 2008, 10:03:04 am »

am i in a shared server?i think i am not!
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: problem with HQ pictures
« Reply #8 on: May 29, 2008, 10:48:19 am »

You would have to ask your host to confirm if you are shared or not, if you are allowed to modify php.ini then look at the "Configuration File (php.ini) Path" field in your phpinfo.php. Have you done the steps outlined in the documentation - http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble? Also, "host addon" versions (I guess you used fantastico?) are not recommended.
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

yeaaa

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: problem with HQ pictures
« Reply #9 on: May 29, 2008, 12:53:42 pm »

i use yoyohost
Logged

yeaaa

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: problem with HQ pictures
« Reply #10 on: May 29, 2008, 12:59:00 pm »

Code: [Select]
<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2006 Coppermine Dev Team
  v1.1 originally written by Gregory DEMAR

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
  ********************************************
  Coppermine version: 1.4.9
  $Source$
  $Revision: 3125 $
  $Author: gaugau $
  $Date: 2006-06-16 08:48:03 +0200 (Fr, 16 Jun 2006) $
**********************************************/

error_reporting (E_ALL E_NOTICE);
define('IN_COPPERMINE'true);
define('PHPINFO_PHP'true);
require(
'include/init.inc.php');

$CONFIG['debug_mode']=0;

if (!
GALLERY_ADMIN_MODEcpg_die(ERROR$lang_errors['access_denied']);

pageheader($lang_cpg_debug_output['phpinfo']);

ob_start();
phpinfo();
$string ob_get_contents();
$string strchr($string'</style>');
$string str_replace('</style>','',$string);
$string str_replace('class="p"','',$string);
$string str_replace('class="e"','class="tableb"',$string);
$string str_replace('class="v"','class="tablef"',$string);
$string str_replace('class="h"','class="tableh2"',$string);
$string str_replace('class="center"','',$string);
ob_end_clean();

print 
'<div align="left" style="overflow:hidden;width:800px;text-align:left;">';
starttable('100%'$lang_phpinfo_php['php_info'], 1);
print 
'<tr><td class="tableb">';
print 
$lang_phpinfo_php['explanation'];
print 
'<br />';
print 
$lang_phpinfo_php['no_link'];
print 
'</td></tr>';
endtable();
print 
'<br />';


print 
$string;
print 
"</div>\n";


pagefooter();
ob_end_flush();

?>

that is the code that is included to php.info!do i have to paste the other code here?
« Last Edit: May 29, 2008, 06:54:13 pm by Joachim Müller »
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: problem with HQ pictures
« Reply #11 on: May 29, 2008, 02:05:20 pm »

No, you open the file in your browser and look for the "Configuration File (php.ini) Path"  directive; this will tell you where the php.ini file is. I assume that you have now read the FAQ thread and the documentation posted to you earlier and that you understand that this problem is being caused by a restriction on your server and not in coppermine. Therefore, if you still wish to upload these images that your server currently cannot handle, then you would need to adjust the settings in php.ini as outlined above, or resize the images and upload them. If none of those are suitable then you would need to follow the other step in the FAQ/Documentation and that is to FTP the larger files to your gallery. Also, if you have a look at the Coppermine Home Uploader mod as this would prove a good alternative and could bypass the PHP restriction.
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: problem with HQ pictures
« Reply #12 on: May 29, 2008, 06:55:04 pm »

Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: problem with HQ pictures
« Reply #13 on: May 29, 2008, 07:05:18 pm »

I think 'yeaaa ' is ahead you devs..  :D :D

yeaaa: If you are using Fantastico, try not to use it... My advise is if you're not sure about what you're doing, just e-mail your web server support and let them do the modification.  ;)
Logged
Read Docs and Search the Forum before posting. - Soporte en espaņol
--*--
Fabricio Ferrero's Website

Catching up! :)

yeaaa

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: problem with HQ pictures
« Reply #14 on: May 29, 2008, 08:58:17 pm »

ok!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: problem with HQ pictures
« Reply #15 on: May 30, 2008, 06:48:43 am »

cpg1.4.18 > cpg1.4.9 (by 9 versions)
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.