Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Uploading Big files... HELP  (Read 6149 times)

0 Members and 1 Guest are viewing this topic.

heyimkay

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Uploading Big files... HELP
« on: June 21, 2006, 01:19:47 am »

For some reason the version cpg1.4.8 won't let me upload big files. Like 1000x1000. It says something about the file include/picmgmt.inc.php

HELP PLEASE!
Logged

Vargha

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 223
  • Persian Soldier
    • Rangarang
Re: Uploading Big files... HELP
« Reply #1 on: June 21, 2006, 04:04:48 am »

if u want to upload a big file
u have to get access to ur php.ini
and find
post_max_size
and
upload_max_filesize
and set the values to higher
try and see if that works for u  :)
Logged
Haalaa Boro Ye Chayi Vasam Dorost Kon Ta Man Ye Fekri Be Halet Bokonam ;) Ye Hendooneye Shotoriham Biyar Bizahmat :)
Visit My Site www.Rangarang.co.nr
Check Out My Gallery
www.Rangarang.co.nr/buddies
(http://img157.imageshack.us/img157/838/rangarang4xn.jpg)

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Uploading Big files... HELP
« Reply #2 on: June 21, 2006, 04:19:00 am »

@Vargha: That's not the first thing to do.  It may be necessary, but there are a few other things to check first.

@heyimkay: Post the error message here.  And check your configuration settings for "Files and Thumbnails" - ensure you that you are allowing large files in the configuration.  A link to your site with a test user account (with upload privileges) may be helpful as well.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Uploading Big files... HELP
« Reply #3 on: June 21, 2006, 06:42:28 am »

In fact you should read the sticky thread on this sub-board and do as suggested in the upload troubleshooting section of the docs.
Logged

heyimkay

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Uploading Big files... HELP
« Reply #4 on: June 21, 2006, 07:28:23 pm »

thanks for your help! i'm still confused... this is what i get when i try uploading big files:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 6528 bytes) in /home/heyimkay/public_html/brendasong/pictures/include/picmgmt.inc.php on line 262
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Uploading Big files... HELP
« Reply #5 on: June 21, 2006, 07:53:13 pm »

Re-read the sticky I told you about - it contains details on your particular error message.
Logged

heyimkay

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Uploading Big files... HELP
« Reply #6 on: June 21, 2006, 08:23:41 pm »

where is the php.ini?
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Uploading Big files... HELP
« Reply #7 on: June 21, 2006, 08:50:12 pm »

where is the php.ini?

If you are asking that question, you most likely cannot edit it.  It is the PHP server configuration file.  You only have access to it if you are the server administrator, as the sticky thread says.
Logged

heyimkay

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Uploading Big files... HELP
« Reply #8 on: June 21, 2006, 09:09:48 pm »

i am the server administrator.
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Uploading Big files... HELP
« Reply #9 on: June 21, 2006, 09:20:16 pm »

Then it should be in the main PHP directory.
Logged

heyimkay

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Uploading Big files... HELP
« Reply #10 on: June 21, 2006, 09:22:37 pm »

would i find it in my files or like the actual place where my gallery is?
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Uploading Big files... HELP
« Reply #11 on: June 21, 2006, 09:32:59 pm »

Are you sure you are the server administrator? 

I think you are thinking that being the Coppermine administrator is the same thing - it's not.

If I'm wrong, then you should know where your PHP directory is.  I cannot tell you for certain where it is on your server.
Logged

heyimkay

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Uploading Big files... HELP
« Reply #12 on: June 21, 2006, 09:38:53 pm »

okay. my mistake. Is the server administrator have anything to do with whos hosting the site and such?
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Uploading Big files... HELP
« Reply #13 on: June 21, 2006, 09:53:51 pm »

Yes.  PHP is run as an extension or module on the webserver, which is run by your webhost.
Logged

heyimkay

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Uploading Big files... HELP
« Reply #14 on: June 23, 2006, 05:24:10 am »

i'm so sorry for my stupidity, but i never had this problem before. and I do host the gallery and such. i'm still unclear.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Uploading Big files... HELP
« Reply #15 on: June 23, 2006, 07:50:51 am »

So you're self-hosted? The server is yours to administer? Then you should know where php.ini resides. If you don't, then I strongly suggest reviewing the whole concept of self-hosting. It's not recommended to run your own webserver publicly if you have little idea what you're actually doing.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Uploading Big files... HELP
« Reply #16 on: June 23, 2006, 09:21:35 am »

- if you are not self hosted , there is a option chance for you
you can create a php.ini file and copy it to your gallery folder


[edit]:as GauGau suggested below
« Last Edit: June 23, 2006, 09:29:51 am by bmossavari »
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Uploading Big files... HELP
« Reply #17 on: June 23, 2006, 09:22:39 am »

This only applies if your webhost allows you to do that. Most webhosts don't.
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Uploading Big files... HELP
« Reply #18 on: June 23, 2006, 01:36:28 pm »

@heyimkay: You mentioned this didn't happen before.  If you are sure files of this size were fine before, then something happened to increase the memory footprint of Coppermine.  I'm not sure what would do this.  Have you installed any plugins?  You could try the classic theme, although I don't think the theme would create a much larger footprint unless you define a lot of user variables.

If you mean that this didn't happen in earlier versions before 1.4.8, then I'm also not sure what would have changed in 1.4.8 to give this larger memory footprint.  The changes are small - although they are large in impact having to do with security fixes - but I cannot think of one change that would do this.
Logged
Pages: [1]   Go Up
 

Page created in 0.034 seconds with 19 queries.