Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 2
Goto page 1, 2  Next
 
Reply with quote Download Post 
Post FAP SUPPORT - Upload Problems 
 
hello, I copied extracts from the original post over at MG.com

To enable users to upload files higher than 2MB I have to have nuffload enabled. Is my assumption correct that the standard resize function uploads the picture and then resizes it whereas nuffload resizes (somehow) it before or while uploading it? I do not get it otherwise...( :wacko_03:  :blink_01: )
I do not mind this but am (positively) surprised that I can upload more than the upload_max_filesize of 2MB (according to phpinfo) with nuffload.
The maximum filesize set in the ACP is about 5MB as there are many users that have high resolution cameras but do not know how to resize an image.

To cut to the chase, my questions from my previous post I put in red.

thanks very much
lefty74

nice selection of smilies BTW, mind if I maybe "borrow" some sometime in the future?

lefty74 wrote: 

Thu 28 Dec, 2006 01:19

Re: Upload Problems
-----------------------------------
hope you have had a nice christmas everyone.

{text edited out, refers to the original post of the author having upload problems}, I can upload pics of about 2mb and then get

Quote:
No pictures selected for upload or unknow error


with nuffload I can upload a pic higher than 2mb. {text edited out - was solved in the meantime}

----

Is there a code that I can include that gives me the upload limit from the server without having to go to the host so I know not to set it higher than that in the ACP config?

This is what was added by another mod (Contact Form by marcus.smith) I have installed
Code: [Download] [Hide]
  1. (@phpversion() >= '4.0.0') ? ini_get('upload_max_filesize')  get_cfg_var('upload_max_filesize') 

looking at the phpinfo I have this
upload_max_filesize    2M

but since nuffload has no problem with the files larger than 2MB is there another limit I need to look for?


p.s. i checked the chmod, they are set as per install


if there is anything that does not make sense please shout.

grateful for your help

 



 
lefty74Send private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Upload Problems 
 
Nuffload uses Perl to manage files, that's because some PHP limits may be overridden...

I don't know if there is a way to override PHP limit...

What I suggest is to teach your users how to reduce their images before posting them... it's not suitable to have 4 MB images in the album, because it will take forever to load them... add this kind of hi res pics as a zip file instead...

That is what I would do.

There are many free software which may reduce one (or many at once) image to reduce its size...

P.S.: you can grab all the smileys by just saving the full smiley page...
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Upload Problems 
 
Mighty Gorgon wrote: [View Post]

it's not suitable to have 4 MB images in the album, because it will take forever to load them... add this kind of hi res pics as a zip file instead...


Thanks MG but I am using the resize function, i.e. the pictures although initially 4Mb in size will be resized and compressed to about 150kb.  

I will stick to the nuffloader then as that makes the uploading of larger pictures for resizing possible without the 2mb cutoff.

Mighty Gorgon wrote: [View Post]
P.S.: you can grab all the smileys by just saving the full smiley page...


Thanks  
 



 
lefty74Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Upload Problems 
 
hello

i am still having this problem.  steps i took so far, i removed the htaccess, this didn't work. i used a earlier htaccess, this didn't work either.  with or with out Nuffload, i still have issues loading pics with hi resolution.  it will actually saves the original pic in my upload folder but it doesn't resize and show in my forum. why is that?


where is this code that the previous post was referring to with the max size? what file is this code located in? also what exactly is GD?

i really need this to work, it's holding up the launch of the forum. i love this mod.


any help would be appreciated
 



 
blacmaleSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Upload Problems 
 
AFAIK, You will need to have the GD library installed for image resizing. If you go to the ACP-Photo Album-Configuration, have a look at the GD info and see whether it is enabled and what.

Quote:
where is this code that the previous post was referring to with the max size?

What code are you referring to?
 



 
lefty74Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Upload Problems 
 
(@phpversion() >= '4.0.0') ? ini_get('upload_max_filesize')  get_cfg_var('upload_max_filesize')

this what i was referring to.

this is what my GD info says does this mean it is enabled? also what is GD? what does it stand for? thanks

gdinfo
 



 
blacmaleSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Upload Problems 
 
thats what mine looks like as well. I did have troubles with my thumbnails (and worse) when my hosts installed the mod evasive(?) on the server. All it needed was a little tweaking (apparently) and then it worked fine again.
Have your hosts at all yet?

In any case I attach a copy of my ACP Thumbnail settings for your info.

wrt to the code it is in no file. I had that part from another mod I have installed but I am sure you can easily include it in e.g. admin/admin_album_config_upload.php to show you what the maximum filesize is you can upload. For some odd reason this maximum does not apply for nuffload on my board, or at least so it seems.

Sorry, I am not much help with your problem. Unfortunately, I do not know much about programming at all...

wrt to what GD Graphics library is, maybe this helps
http://en.wikipedia.org/wiki/GD_Graphics_Library

ACP-Thumbnail-Settings.jpg
Description:  
Download
Filename: ACP-Thumbnail-Settings.jpg
Filesize: 145.81 KB
Downloaded: 1244 Time(s)

 



 
lefty74Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Upload Problems 
 
lefty74 wrote: [View Post]
thats what mine looks like as well. I did have troubles with my thumbnails (and worse) when my hosts installed the mod evasive(?) on the server. All it needed was a little tweaking (apparently) and then it worked fine again.
Have your hosts at all yet?


what do you mean? I have to speak to my website host to see if they have some type of block?
 



 
blacmaleSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Upload Problems 
 
yes, just ask them to see whether any of the server settings might interfere. For me, everything was working fine and one day I had problems with thumbnails loading and actually got permission denied messages so I contacted my host, they looked into it and it was something they had installed. They tweaked it a bit and now everything works again...

I am not saying this is the case with you but it certainly is a possibility to explore...
 



 
lefty74Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Upload Problems 
 
lefty74 wrote: [View Post]
yes, just ask them to see whether any of the server settings might interfere. For me, everything was working fine and one day I had problems with thumbnails loading and actually got permission denied messages so I contacted my host, they looked into it and it was something they had installed. They tweaked it a bit and now everything works again...

I am not saying this is the case with you but it certainly is a possibility to explore...




Lefty you've been a big help.  I did what you suggested and that was the case. My host told me that my php Memory was low. they changed it to 32mb and it uploads fine with the regular setup. not really working with Nuffload but that's ok. atleast one works.

know i have another issue. LOL. regular users after they upload a pic they can't delete it or edit it. access seems to be denied. gotta find out why. don't see anything in the Control Panel. maybe someone already had this issue so i'm going to look around.
 



 
blacmaleSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Upload Problems 
 
Actually, there is an option in the ACP.

If you go to
Photo Album - Configuration - Personal Galleries

There is a line that says
Personal gallery can be moderated by owner      Yes  No

If this is set to Yes, they should be able to edit/delete their pictures

Edit:
That only works for the Personal Galleries tho. I just reread your post and I guess you are talking about pictures in the public gallery, there only moderators or admins (AFAIK) can edit/delete pictures.
 




____________
lefty74
www.zoocrew.eu - help us save our wildlife
 
lefty74Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Upload Problems 
 
I also have the problem, that I cannot upload pictures. Whenever I try to upload any image (which is well within the size limit in any possible way) I also get the error message:
Quote:
No pictures selected for upload or unknown error


What did I do?
I've updated my (very) old FAP to FAP 1.4.0a, by removing the old FAP (which worked just fine) and installing the new FAP.

Which setup do I run?
Windows XP with IIS 5
PHP 4.4.4
php max upload size is 16M
GD 2.0.28
MySQL 4.1.22

What did I try to solve the problem?
Removing .htaccess (which doesn't do much on IIS anyway) - no effect
granting "everyone" full control permissions on the album_mod/upload folder - no effect
Checking MG.com for help - no effect
banging my head against the wall - headache

All in all i was unable to find anything that could help me solve the weird problem.
Does anyone have any idea what the cause could be?
 




____________
No support via PM or E-Mail!
FAP 3, yeah baby, yeah!
 
TomSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Upload Problems 
 
lefty74 wrote: [View Post]
Actually, there is an option in the ACP.

If you go to
Photo Album - Configuration - Personal Galleries

There is a line that says
Personal gallery can be moderated by owner      Yes  No

If this is set to Yes, they should be able to edit/delete their pictures

Edit:
That only works for the Personal Galleries tho. I just reread your post and I guess you are talking about pictures in the public gallery, there only moderators or admins (AFAIK) can edit/delete pictures.


Once again Lefty you've help me to solve my problem.  Funny thing is that was so easy, i didn't realize that i had it set to not moderator their own galleries.  It was the Personal Galleries that I was talking about.  Your suggestion once again did the trick.  Thank you. I was basically waiting for this to be fixed so that I can finally launch my forum.

Once again Thank you and have a good weekend.
 



 
blacmaleSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Upload Problems 
 
Yes lefty, thanks for helping out  
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Upload Problems 
 
Tom, I too had 1.2.3 running without problems....then after upgrading to 1.4.0 most of my problems were with thumbnails/pics displaying.
This was all on my local testing server, but I had no problems on my remote live server.....which seems a little odd.

Your not being able to upload ANY PICS is strange....

Is this with both upload options (Standard or Nuffload) ?
Can you upload avatars ?
 



 
ArtieSend private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 2
Goto page 1, 2  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events