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 Uploading .wav, .zip, .mp3  (Read 8444 times)

0 Members and 1 Guest are viewing this topic.

SquireRob

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • Squiredeck Web Services
Problem Uploading .wav, .zip, .mp3
« on: April 20, 2010, 07:22:59 am »

Hi, I get this in the debug for any of the subject filetypes. Pics work just fine:

<b>Fatal error</b>:  Call to undefined function mb_strlen() in <b>/home/cuerecordings/cpg153/include/functions.inc.php</b> on line <b>6260</b><br />

This is using with or without flash option. Batch uploads are just fine. Gallery at www.cuerecordings.com
Logged
Regards
Robin

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem Uploading .wav, .zip, .mp3
« Reply #1 on: April 20, 2010, 07:34:46 am »

« Last Edit: April 20, 2010, 08:35:13 am by Joachim Müller »
Logged

SquireRob

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • Squiredeck Web Services
Re: Problem Uploading .wav, .zip, .mp3
« Reply #2 on: April 20, 2010, 08:08:57 am »

Joachim,
Thanks for quick reply.

I have:

Linux eServer 2.6.30.10-105.2.23.fc11.x86_64 #1 SMP Thu Feb 11 07:06:34 UTC 2010 x86_64

PHP Version 5.2.13

Hope this helps

Robin
Logged
Regards
Robin

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4843
    • Windsurf.me
Re: Problem Uploading .wav, .zip, .mp3
« Reply #3 on: April 20, 2010, 08:36:24 am »

Please read and do everything outlined in the docs Joachim linked to.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem Uploading .wav, .zip, .mp3
« Reply #4 on: April 20, 2010, 08:38:31 am »

OK, so this answers the first question; sounds hard to believe though, as the function mb_strlen() is part of PHP5 and I can see no reason why a webhost should disable that function. What about the second part of my question
Upload troubleshooting -> Asking for support on upload issues
Logged

SquireRob

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • Squiredeck Web Services
Re: Problem Uploading .wav, .zip, .mp3
« Reply #5 on: April 20, 2010, 09:04:30 am »

Sorry guys, did not try to ignore instructions, hopefully you have what you need now. Login as test and pswrd test and there is an album called test with a jpg uploaded into it. I tried a large mp3 and got the error. If I need to enable a php function then please let me know what it is, many thanks.
Logged
Regards
Robin

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem Uploading .wav, .zip, .mp3
« Reply #6 on: April 20, 2010, 09:34:35 am »

A test user account is so much more usefull if you have an URL where one can enter that test user account. When clicking on the link you posted in your initial posting all I get is
Quote
Website coming soon please go to our myspace and/or facebook for all information.
(see attached screenshot). Behaving difficult usually makes supporters reluctant to look into your issues.
Taking a second look at the error message you posted, your gallery URL probably is http://www.cuerecordings.com/cpg153/
Regular http uploads work as expected (see http://www.cuerecordings.com/cpg153/displayimage.php?pid=5)
Uploading some of the files you report issues with (mp3, wav, zip) works as expected as well, so I guess you're just uploading files that are too big for http uploads (you run into timeouts). Do as suggested per documentation and use FTP uploads plus batch-add to upload larger files.
« Last Edit: April 20, 2010, 09:46:41 am by Joachim Müller »
Logged

SquireRob

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • Squiredeck Web Services
Re: Problem Uploading .wav, .zip, .mp3
« Reply #7 on: April 20, 2010, 09:54:29 am »

Joachim,
Thanks for replying and you guessed right for the URL, apologies for that. Ok, that was how I got the files there eventually so we will continue on with that method, thanks again.
Logged
Regards
Robin

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

SquireRob

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • Squiredeck Web Services
Re: Problem Uploading .wav, .zip, .mp3
« Reply #9 on: April 20, 2010, 11:39:09 am »

Joachim,
I kept going with this and as suggested, for the benefit of others, this has all to do with the php.ini settings, specifically:

post_max_size
upload_max_filesize

I changed these to suite and bounced my web server and away we go.
Logged
Regards
Robin
Pages: [1]   Go Up
 

Page created in 0.095 seconds with 21 queries.