Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
4 registered (Dunny, id242, KuKuKaChu, FordDoctor), 54 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 05/13/08
Posts: 596
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 14
SteveS 14
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#188316 - 06/22/07 07:25 PM Hot to make attachments work ?
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
Is set and tested directory for file attachments and that passes.
Question is how do you turn that function on for I do not see it anywhere when creating a new post ?

Thanks, JR
_________________________
JR
Team ZR-1 Corvette Racer's
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#188432 - 06/23/07 11:09 AM Re: Hot to make attachments work ? [Re: teamzr1]
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
Loc: UK
Control Panel / Forum Settings / Details / Forum Permissions / Enable File Attachments
Top
#188472 - 06/23/07 07:10 PM Re: Hot to make attachments work ? [Re: ScriptKeeper]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
short answer, you have to enable attachments in the forums you want to allow users to upload to.

complicated answer, see scriptkeepers post ;\)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#188850 - 06/26/07 04:40 PM Re: Hot to make attachments work ? [Re: Gizmo]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
I set this feature on and set the max file size allowed to 120K bytes and attempting to use a image that is only 74K get this error

UBB Error
We encountered a problem. The reason reported was
Files can be no larger than 100000.

Please use your back button to return to the previous page.

No matter what I set max size to get the same error

Anyone got a reason what I am doing wrong ?
_________________________
JR
Team ZR-1 Corvette Racer's
Top
#188888 - 06/26/07 07:21 PM Re: Hot to make attachments work ? [Re: teamzr1]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
php.ini also has a setting (although usually 2M) for max upload size.

still, your error message doesn't indicate that 74K should be a problem.. hrm..

can you set a very small size (10K) and get it to work at least?

just for test, that is
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#188904 - 06/26/07 07:47 PM Re: Hot to make attachments work ? [Re: SD]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
I think it could aso give this error should the path be wrong; please ensure that the attachment directory checker validates that the directory exists and is writeable (chmod 777)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#188918 - 06/26/07 08:21 PM Re: Hot to make attachments work ? [Re: Gizmo]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
Under attachment page clicking on test passes and reports:

Directory exists and is writeable.

Test passed.
------------------
_________________________
JR
Team ZR-1 Corvette Racer's
Top
#188922 - 06/26/07 08:30 PM Re: Hot to make attachments work ? [Re: teamzr1]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
I was able to upload a small JPG image
I then went to the upload directory and the jpg ( with rights of -rw-rw-rw- ) [and is correct file size] is there BUT
when I view the post I made image is not shown and instead get

-----------------

Attachments
A red X with name of file

What is the reader supposed to see or do with attachments ?




Edited by teamzr1 (06/26/07 08:36 PM)
_________________________
JR
Team ZR-1 Corvette Racer's
Top
#188926 - 06/26/07 08:36 PM Re: Hot to make attachments work ? [Re: teamzr1]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
right click on the file and verify that the URL it says matches the physical disk location.

one question. is your upload directory outside of your www root? in that case, the directory would test successfully, but not be seen via the web..

just a thought

2c
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#188927 - 06/26/07 08:39 PM Re: Hot to make attachments work ? [Re: SD]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
upload for attachments is sub directory of main ubbthreads directory which is below WWW

Right click for properties shows

http://www.teamzr1.com/home/teamzron/public_html/ubbthreads/attach/2-stockinj.jpg
_________________________
JR
Team ZR-1 Corvette Racer's
Top
#188928 - 06/26/07 08:41 PM Re: Hot to make attachments work ? [Re: teamzr1]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
whoa.. your directory is wrong.. prolly should be '/home/temzron/public_html/ubbthreads/attach/' for the path to attach in config.inc.php

do you have your base_url (config.inc.php) set to /ubbthreads ?
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#188936 - 06/26/07 09:13 PM Re: Hot to make attachments work ? [Re: teamzr1]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA


Edited by Gizmo (06/26/07 09:14 PM)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#188939 - 06/26/07 09:30 PM Re: Hot to make attachments work ? [Re: Gizmo]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
Thanks Gizmo that was it the path,

At 1st I had teamzr1.com/ubbthreads/attach

Then I expanded it as the properties of image on post showed and really is the content of that admin attach page does not state the http:// has to be used when the attachment directory URL above that does not use it.
_________________________
JR
Team ZR-1 Corvette Racer's
Top
#188941 - 06/26/07 09:31 PM Re: Hot to make attachments work ? [Re: SD]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
I had tried that and it failed

 Originally Posted By: Sirdude
whoa.. your directory is wrong.. prolly should be '/home/temzron/public_html/ubbthreads/attach/' for the path to attach in config.inc.php

do you have your base_url (config.inc.php) set to /ubbthreads ?
_________________________
JR
Team ZR-1 Corvette Racer's
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10489 Members
36 Forums
33841 Topics
181707 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image