Page 1354 of 1475

Re: Attachment Mod

Posted: Fri May 04, 2007 12:08 pm
by zarmenas
hi everyone!

I have a problem with this MOD - everytime I try to upload a file, I get error message "tried to upload empty file"....
Ichecked and double checked MOD's settings - seems fine. in phpinfo.php settings look like this:
file_uploads = On
memory_limit = 32M
post_max_size = 10M
upload_max_filesize = 10M

directories in the server are chmod'ed to 777 (/files)

this error accours no matter if php-safemode is on or off.

could someone please help me out of this misery?

thanks,

-zarmenas-

Re: Attachment Mod

Posted: Fri May 04, 2007 12:16 pm
by wads24
I have had this mod before, but I remember that there was a upload quota bar that was viewable on the users profile. Did they take this feature off, or did I miss part of the install?

Re: Attachment Mod

Posted: Fri May 04, 2007 12:17 pm
by DavidIQ
wads24 wrote: no where in my config do I have a "/".... non of my other links do that... anyone else know why when clicking on the thumbnail, it goes to "//files/picture.jpg

I was talking about the script path, etc. but I guess you must have a "special" version of this mod that adds an extra slash to the URL path :roll: something that I've never seen anyone else report...

Re: Attachment Mod

Posted: Fri May 04, 2007 12:18 pm
by DavidIQ
zarmenas wrote: hi everyone!

I have a problem with this MOD - everytime I try to upload a file, I get error message "tried to upload empty file"....
Ichecked and double checked MOD's settings - seems fine. in phpinfo.php settings look like this:
file_uploads = On
memory_limit = 32M
post_max_size = 10M
upload_max_filesize = 10M

directories in the server are chmod'ed to 777 (/files)

this error accours no matter if php-safemode is on or off.

could someone please help me out of this misery?

thanks,

-zarmenas-

How big is the file?

Re: Attachment Mod

Posted: Fri May 04, 2007 12:24 pm
by wads24
DavidIQ wrote:
wads24 wrote: no where in my config do I have a "/".... non of my other links do that... anyone else know why when clicking on the thumbnail, it goes to "//files/picture.jpg

I was talking about the script path, etc. but I guess you must have a "special" version of this mod that adds an extra slash to the URL path :roll: something that I've never seen anyone else report...


ok, well thanks bud... i do appreciate the help

Re: Attachment Mod

Posted: Fri May 04, 2007 12:24 pm
by zarmenas
it seems the filesize has no influence. no matter if I try to upload 2Kb or 2Mb - the same error...

Re: Attachment Mod

Posted: Fri May 04, 2007 12:40 pm
by wads24

Code: Select all

re: <!-- BEGIN switch_upload_limits --><!-- END switch_upload_limits -->
when I remove the above from profile_view_body.tpl, then I can see the quota bar, but when they are there, then the quota bar doesn't show. Am I missing a setting in admin to turn this feature on?

Re: Attachment Mod

Posted: Fri May 04, 2007 12:51 pm
by hponce
DavidIQ wrote:
hponce wrote: I just install attachmod in my phpBB 2.0.22 , i do it manually, everything was fine, I wrote a new post and i attach files with no problem, even i prevew it and it shows the attachment well, but when i finally post the message the attachment does not appear. can you tell my what is wrong??

If you have a redirection mod installed you'll need to remove it.


I have not redirection mod installed,

Re: Attachment Mod

Posted: Fri May 04, 2007 1:41 pm
by Brf
hponce wrote: I have not redirection mod installed,
He is refering to the mod that removes the "click here to view your new post" screen you normally see immediately after posting.

Re: Attachment Mod

Posted: Fri May 04, 2007 1:48 pm
by Brf
wads24 wrote: Am I missing a setting?

You might be missing this line in usercp_viewprofile:

Code: Select all

display_upload_attach_box_limits($profiledata['user_id']); 
The quotas should show if you are viewing your own profile, or if you are an admin.

Re: Attachment Mod

Posted: Fri May 04, 2007 2:23 pm
by Manuito
Hi, thanks a lot for the answer!!

Is there a way to allow only a certain group to upload files, while all others can download them?

Thanks again

Re: Attachment Mod

Posted: Fri May 04, 2007 2:33 pm
by DavidIQ
Set the forum permission for download and/or upload to private for that particular forum. Then in group permissions change those accordingly for the group (in advanced mode).

Re: Attachment Mod

Posted: Fri May 04, 2007 2:37 pm
by hponce
Brf wrote:
hponce wrote: I have not redirection mod installed,
He is refering to the mod that removes the "click here to view your new post" screen you normally see immediately after posting.


How can I do that??

Re: Attachment Mod

Posted: Fri May 04, 2007 2:45 pm
by DavidIQ
Do you have the page that confirms your posting after you hit submit? Because if you do then you most likely missed the viewtopic.php or viewtopic_body.tpl edits.

Re: Attachment Mod

Posted: Fri May 04, 2007 2:50 pm
by zarmenas
DavidIQ wrote: How big is the file?


it seems the filesize has no influence. no matter if I try to upload 2Kb or 2Mb - the same error...