|
|
#1 |
![]() Join Date: Dec 2005
Posts: 18
![]() |
I have just installed Simpleboard and configured it to allow file and image attached. I assumed this is an option when you post a message you can choose to upload or not. But when I submit the post (without a file to upload), I get an error message that says:
"Please select a file before uploading. Your file has not been uploaded. Try posting again or editing the post". Then I get: Warning: unlink(/usr/home/mnhim2/public_html/components/com_simpleboard/uploaded/files/a8c25bc7428853cc0732231a9be34c26.): No such file or directory in /usr/home/mnhim2/public_html/components/com_simpleboard/file_upload.php on line 41 Warning: unlink(/usr/home/mnhim2/public_html/components/com_simpleboard/uploaded/images/013d1e8242c6d7171636e6915ce69a93.): No such file or directory in /usr/home/mnhim2/public_html/components/com_simpleboard/image_upload.php on line 40 So I turned off the uploading feature, and I still get the same error message. How do I fix this problem? Posting it with a file will work fine, but most of the time you post with out a file. How do I post it without a file and not get the error. Last edited by mnhim : December 10th, 2005 at 01:56. |
|
|
|
|
|
#2 |
![]() Join Date: Mar 2005
Posts: 27
![]() |
I having the same problem and haven't been able to find a solution.
Any help would be appreciated. Thanks Rabble |
|
|
|
|
|
#3 |
![]() Join Date: Mar 2005
Posts: 27
![]() |
I'm still having this problem. Is there a solution?
Thanks Rabble |
|
|
|
|
|
#4 |
![]() Join Date: Dec 2005
Posts: 1
![]() |
I changed some in components\com_simpleboard\post.php
Change PHP Code:
to PHP Code:
|
|
|
|
|
|
#5 |
![]() Join Date: Dec 2005
Location: San Diego, CA
Posts: 43
![]() |
This worked wonders!!! Thank you.
New problem! User can't update signature. Notice: Undefined variable: sbConfig in C:\Inetpub\vhosts\sdgaybowling.org\httpdocs\admini strator\components\com_mamboboard\admin.mamboboard .html.php on line 1219 check this box to delete this signature Notice: Undefined variable: sbConfig in C:\Inetpub\vhosts\sdgaybowling.org\httpdocs\admini strator\components\com_mamboboard\admin.mamboboard .html.php on line 1235
__________________
"Never, Never, Never give up!" - Winston Churchill |
|
|
|
|
|
#6 |
![]() Join Date: Apr 2005
Posts: 8
![]() |
dun forget to do it for the edit portion too...
![]() |
|
|
|
|
|
#7 |
![]() Join Date: Feb 2006
Posts: 4
![]() |
Invalid Fix, see below...
Last edited by iancaz : May 5th, 2006 at 10:38. |
|
|
|
|
|
#8 |
![]() Join Date: Nov 2005
Location: Rochester, NY
Posts: 310
![]() |
Are you running simpleboard or mamboboard. I see errors from both in this post!
__________________
Team Mambo Member -- Custom Mambo Websites Builder TourneySpec Designs |
|
|
|
|
|
#9 |
![]() Join Date: Oct 2005
Posts: 11
![]() |
The editing trick worked for my installation!
|
|
|
|
|
|
#10 |
![]() Join Date: Feb 2006
Posts: 4
![]() |
My previously posted fix does not work. It actually caused no attachments to be uploaded at all.
I also have a site running Joomla! & the new version of simpleboard, called JoomlaBoard. JoomlaBoard doesn't have the issues that the most recent version of SimpleBoard has. So, here's what I did, I downloaded the JoomlaBoard v1.1.2 & started comparing the file_upload.php & image_upload.php files. These files we extremely similar, but the new version had fixes in place for this problem, plus handling for spaces & special characters in the file name! So, I tried replacing the existing SimpleBoard file_upload.php & image_upload.php files, with those from JoomlaBoard v1.1.2 and it worked!!! YMMV ![]() |
|
|
|
|
|
#11 |
![]() Join Date: May 2006
Posts: 1
![]() |
Hmmm. I tried the Joomlaboard patch and I still get four popup error message with each post.
1. Please select a file before uploading. Your file has not been uploaded. Try posting again or editing the file. 2. You are only allowed to upload files of type:\n zip, txt, pdf. Your file has not been uploaded. Try posting again or editing the file. 3. Please select a file before uploading. Your file has not been uploaded. Try posting again or editing the file. 4. Please use only jpeg, gif, or png files. Your file has not been uploaded. Try posting again or editing the file. |
|
|
|
|
|
#12 |
![]() Join Date: Oct 2005
Posts: 11
![]() |
I followed your advice and now it does in fact let me upload files with no errors. Thanks again!
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Failure: Upload and Install Components | stjeanm | Administration Questions | 9 | October 21st, 2006 05:55 |
| Upload zip component failed Upload zip component - Upload Failed | domitune | Installation Questions | 3 | January 23rd, 2006 00:18 |
| PROBLEMS - PHP-Shop / Simple Machines Forum / Simpleboard / Image URLs (PollsXT/Noah) | fidelgonzales | Components | 0 | November 12th, 2005 14:33 |
| About Upload Image! | DANG_BLUE | Administration Questions | 1 | August 31st, 2005 03:35 |
| Simpleboard 0.9 released | JdG | Open Source Products for Mambo | 3 | November 12th, 2003 12:54 |