miniBB Support Forums | 16 years on The Web
miniBB ® 


 | Begin | Register | Reply | Search | Statistics | File Bank | Manual |
Specific miniBB Support Forums / Specific /   

file upload doesn't work after transferring to another domain

Author floraforum
#1 | Posted: 16 Dec 2012 14:06 | Edited by: floraforum 
I have my forum moved to another domain.
But now works fileupload not.

I get the following error

Warning: mkdir() [function.mkdir]: Permission denied in /home/.sites/4/site38/web/forum/bb_plugins2.php on line 34
Can not create separate topic directory. Check your hosting settings and be sure PHP script is able to create directories. Contact miniBB support if you want this feature, but can not get it to work. Else set $dirsTopic=FALSE; in addon_fileupload.php

I don't know where to put $dirsTopic=FALSE; in addon_fileupload.php

Author Jaime
#2 | Posted: 16 Dec 2012 17:14 
Look at $uploadDir in addon_fileupload_options.php. There you have certainly provided a path in which the files can be stored. (Mostly /yourForums/shared_files/uploaded) You have to make the folder writeable. Read the readme again :)

Author floraforum
#3 | Posted: 17 Dec 2012 17:26 | Edited by: floraforum 
problem is solved.
I have put the uploadedfolder to 0777
and put $dirsTopic=FALSE; in fileupload.php.

Thanks for your help.


Author Jaime
#4 | Posted: 18 Dec 2012 08:00 
and put $dirsTopic=FALSE; in fileupload.php.

I think this is not necessary if your upload folder has the proper permissions (777). Then, for each upload automatically creates a subfolder in the uploadfolder to match the uploaded file in the topic.

Look again what Paul writes in the readme under: Only if you would like to achieve that "little thumbnails" are displayed near each topic's title ... I think this will not work if you have $dirsTopic now set to FALSE. But when it goes the way you want it, so all is well. Sorry, my English is not so good and I just wanted to give you a hint.

debloemenhal ? Then look at the source code of your forums page. In the last table, an link to miniBB, is missing a enclosing <td></td> ;-)

Author floraforum
#5 | Posted: 18 Dec 2012 16:34 
Thanks for the tips, but if I remove $dirsTopic=FALSE; uploaden doesn't work anymore.
I do no why, but i will leave it this way.

Author Jaime
#6 | Posted: 18 Dec 2012 22:22 
Then see what Paul has already written to, here, and ask your provider how you can turning off php save_mode on your server.

And look again at the source code of your page, line 458 and 460 :)

Author Paul
Lead Developer
#7 | Posted: 18 Dec 2012 23:19 
If you were having this setting equal to TRUE earlier, it is better to investigate and keep it with that value on the new hosting, too. Else you will not be able to view / download the files uploaded earlier.

Specific miniBB Support Forums / Specific /
 file upload doesn't work after transferring to another domain
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message

Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.


miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.