Problem Uploading .wav, .zip, .mp3 Problem Uploading .wav, .zip, .mp3
 

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

Main Menu

Problem Uploading .wav, .zip, .mp3

Started by SquireRob, April 20, 2010, 07:22:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SquireRob

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
Regards
Robin

Joachim Müller

#1

SquireRob

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
Regards
Robin

phill104

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

Joachim Müller

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
Quote from: Joachim Müller on April 20, 2010, 07:34:46 AMUpload troubleshooting -> Asking for support on upload issues

SquireRob

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.
Regards
Robin

Joachim Müller

#6
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
QuoteWebsite 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.

SquireRob

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.
Regards
Robin


SquireRob

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.
Regards
Robin