forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 upload => Topic started by: SquireRob 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
-
- What PHP version are you using?
- Upload troubleshooting -> Asking for support on upload issues (http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm#upload_support)
-
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
-
Please read and do everything outlined in the docs Joachim linked to.
-
OK, so this answers the first question; sounds hard to believe though, as the function mb_strlen() (http://www.php.net/manual/de/function.mb-strlen.php) 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 (http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm#upload_support)
-
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.
-
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
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.
-
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.
-
- Upload troubleshooting -> Server-sided restrictions (http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm#upload_trouble_server-sided_restrictions)
- Common policies: Resolve your threads (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631)
-
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.