Webmastersite.net
Register Log In

Cant upload images - error

Comments on Cant upload images - error

jeremy71
Member

Usergroup: Customer
Joined: Jan 19, 2006

Total Topics: 7
Total Comments: 18
Posted Jan 29, 2006 - 3:03 PM:

Hi - You know Ive actually asked this question before ( run into the same error message) but as my host just changed servers its come up again.

When I try to upload I get this message:

The file you were trying to upload did not work. Check that the extension of the file is allowed (allowed types are jpg,jpeg,png,gif,bmp) and that the file is not too large (maximum size is 2000000 bytes, 4000x4000).

Ive checked everything I can.... the pic is 36k, 450px x300px (within set limits), membergroup permissions set to upload and byte allowance 15000000, my path for attachments is : /usr/home/dpalbums/domains/dpalbums.lv/public_html/lat/attachments/
(any problem with the . in the path?)
attachments folder is 777....

anything else you can think of that might make this error?

I know its an early version but things are/were working fine and there was no real reason to update.

thanks

Jeremy
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 31, 2006 - 1:21 PM:

I don't see what else could cause the message.
jeremy71
Member

Usergroup: Customer
Joined: Jan 19, 2006

Total Topics: 7
Total Comments: 18
Posted Jan 31, 2006 - 2:14 PM:

Would there be anything (setting) with the new server that I can ask my host about??
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 03, 2006 - 7:24 AM:

Other than the file path, I don't know of any that'd be involved. (It'd be easier to debug/duplicate on the current version of course.)

What was the issue last time it came up?
jeremy71
Member

Usergroup: Customer
Joined: Jan 19, 2006

Total Topics: 7
Total Comments: 18
Posted Feb 03, 2006 - 1:06 PM:

Cant remember about last time but Im reasonably sure it was my stuff up.

I think I might just have to try a re install so will keep you posted how its going - thanks for the help
jeremy71
Member

Usergroup: Customer
Joined: Jan 19, 2006

Total Topics: 7
Total Comments: 18
Posted Feb 15, 2006 - 2:51 PM:

Hi again,

Ive had the time of my life trying to upgrade to a version that would let me upload images againsmiling face

To cut a long story short I am now on a new server using version 2.16 ( Dont ask why, mostly to do with the fact I have a heap of extremely modified templates in Latvian language...very hard to change and keep correct characters - the .tpl files dont contain any encoding info so dreamweaver doesnt know how to render it correctly and I lose all my characters, I know there are ways around it but I didnt want to alter the templates too much again so didnt use the latest version)

ANYWAY.....

Now I have upgraded the database, struggled to get it back up and running and now none of the images will show....

Attachments folder path is correct in the settings - attachments folder Ive tried at both 777 and 775. ( Do the actual attachments need to have a certain permission? Currently at 644 and Ive tried at 664). File names correspond correctly with whats in the database, Ive regenerated everything.

Any ideas??? will a debug show anything??

Ive installed this version clean and uploaded/tried with test images so I know its not the server.

Any ideas would be helpful cause Im close to throwing in the towel smiling face
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 16, 2006 - 4:32 AM:

will a debug show anything??

A debug of a broken thumbnail or image location would be informative.
jeremy71
Member

Usergroup: Customer
Joined: Jan 19, 2006

Total Topics: 7
Total Comments: 18
Posted Feb 16, 2006 - 6:33 AM:

Heres a debug of a category listing - 10 entries that dont show thumbnails.

Performing query: SELECT id FROM wsngallery_categories WHERE validated=1 AND hide=0 ORDER BY id DESC LIMIT 0,1;

Performing query: SELECT name,value FROM wsngallery_switches WHERE id>0 ;

Number of rows is 29 for Resource id #30

Performing query: SELECT id,type,original,replacement,description,originalclose,replacementclose,sortorder FROM wsngallery_markup WHERE type='wsncode' ORDER BY sortorder ;

Number of rows is 4 for Resource id #33

Performing query: SELECT original,replacement,description,id,sortorder FROM wsngallery_markup WHERE type='smilie' ORDER BY sortorder ;

Number of rows is 13 for Resource id #34

Performing query: SELECT COUNT(*) FROM wsngallery_categories WHERE validated=1 AND hide=0 AND isalbum=0 ;

Performing query: UPDATE wsngallery_settings SET content='131' WHERE name='totalsubcats';

Performing query: SELECT id,title,caneditown,caneditall,canvote,isadmin,canpost,canemail,validatecats,validatecomments,validatelinks,validateedits,cansubmitlinks,cansubmitcategories,cansubmitcomments,caneditownlinks,caneditowncategories,caneditowncomments,caneditownprofile,caneditalllinks,caneditallcategories,caneditallcomments,caneditallprofiles,candownloadfiles,canupload,canviewip,limitlinks,canemailmembers,canusehtml,limitlinksdaily,canalias,cancopy,candeleteown,candeleteall,bytespermem,canviewpages,candofulledit,candeletecategories,candeletecomments,candeleteowncategories,candeleteowncomments,candeletemembers,candeleteownmembers,canaliascategories,caneditvotes,numaliases,canviewvotes,canhideownlinks,canhideowncategories,canhideowncomments,canhidealllinks,canhideallcategories,canhideallcomments,canratecomments FROM wsngallery_membergroups WHERE id>0 ;

Performing query: SELECT id,name,comments,time,usergroup,password,ip,totalhits,email,validated,template,language,totalbytes,images,lastattempt,avatarname,allowemail,albumid,signature,failedattempts,allowuseremail,stylesheet,funds,totalhitsin,notifyoflinks,lastvisit,address,phone,timezone,links,rating,pmfolders,notifyofpms,acceptpms,cookieduration,banned,biography FROM wsngallery_members WHERE id=68 AND validated=1 ;

Performing query: SELECT id,name,parent,validated,description,time,parentnames,parentids,numlinks,hide,lastlinktime,custom,lastedit,moderators,headerinfo,related,numsub,isalbum,type,permissions,subscribers,subscriber,mixtypes,orderlinks,totalcomments,filetitle,filename,ulsearchmax,ulsearchquery,ulsearchadult,alias,catcols,linkcols,dmozpath,sponsorlinks,views,customwrap FROM wsngallery_categories WHERE validated=1 AND hide=0 ;

Number of rows is 131 for Resource id #40

Performing query: LOCK TABLES wsngallery_email WRITE, wsngallery_links WRITE, wsngallery_categories WRITE, wsngallery_members WRITE;

Performing query: SELECT id,`to`,subject,message,headers,replacement,mime FROM wsngallery_email WHERE timesent=0 ORDER BY id ASC LIMIT 0,10;

Number of rows is 0 for Resource id #41

Performing query: UNLOCK TABLES;

Performing query: UPDATE wsngallery_categories SET views='4' WHERE id=146;

Performing query: SELECT id,name,parent,validated,description,time,parentnames,parentids,numlinks,hide,lastlinktime,custom,lastedit,moderators,headerinfo,related,numsub,isalbum,type,permissions,subscribers,subscriber,mixtypes,orderlinks,totalcomments,filetitle,filename,ulsearchmax,ulsearchquery,ulsearchadult,alias,catcols,linkcols,dmozpath,sponsorlinks,views,customwrap FROM wsngallery_categories WHERE alias=146 ;

Number of rows is 0 for Resource id #43

Performing query: SELECT id,name,parent,validated,description,time,parentnames,parentids,numlinks,hide,lastlinktime,custom,lastedit,moderators,headerinfo,related,numsub,isalbum,type,permissions,subscribers,subscriber,mixtypes,orderlinks,totalcomments,filetitle,filename,ulsearchmax,ulsearchquery,ulsearchadult,alias,catcols,linkcols,dmozpath,sponsorlinks,views,customwrap FROM wsngallery_categories WHERE parent=146 AND validated=1 AND hide=0 AND isalbum=0 ORDER BY id DESC LIMIT 0,75;

Number of rows is 0 for Resource id #45

Performing query: SELECT id FROM wsngallery_links WHERE catid=146 AND hide=0 AND validated=1 ;

Number of rows is 11 for Resource id #46

Performing query: SELECT id FROM wsngallery_links WHERE catid=146 AND validated=1 AND hide=0 AND type='regular' ;

Number of rows is 11 for Resource id #47

Performing query: SELECT id,title,description,rating,votes,validated,catid,sumofvotes,email,time,hits,numcomments,hide,ownerid,voterips,voterids,lastedit,type,filename,filetitle,notify,downloads,pendingedit,filesize,xwidth,yheight,imedit,suspect,funds,suspended,alias,expire,ip,inalbum,typeorder,hitsin,hitsinips,hitsoutips,lastcomment,related,inhidden,viewers,threadviewers,hitsouttemp,donorname,donoraddress,campzone,photodescription,dpbio,photostory,phototheme,photopeoplename,photorelated,copyrightcontact,othernotes,editday,editmonth,edityear,editauthor,copyrightauthor,photoday,photomonth,photoyear,donorphone,donoremail,copyrightlimit,photoapprox,unknowncity,hitsintemp,origtype,importance,parentids,timesemailed,threadclosed,threadposters,clarityrating FROM wsngallery_links WHERE catid=146 AND hide=0 AND validated=1 ORDER BY id DESC,time DESC LIMIT 0,15;

Performing query: UPDATE wsngallery_sessions SET starttime='0' WHERE time < 15;

Performing query: UPDATE wsngallery_sessions SET time='0' WHERE time < 15;

Performing query: SELECT starttime FROM wsngallery_sessions WHERE memberid=68 ;

Number of rows is 1 for Resource id #50

Performing query: UPDATE wsngallery_sessions SET time='1140100318', location='http://www.dpalbums.lv/lat/index.php?action=displaycat&catid=146', catid='146', threadid='', areaname='' WHERE memberid=68;
jeremy71
Member

Usergroup: Customer
Joined: Jan 19, 2006

Total Topics: 7
Total Comments: 18
Posted Feb 21, 2006 - 2:27 AM:

Hi - Any ideas gleaned from this debug??
phrightener
Member

Usergroup: Member
Joined: Oct 13, 2005

Total Topics: 8
Total Comments: 14
#10 - Quote - Permalink
Posted Feb 24, 2006 - 6:44 AM:

Argh, I go to my website today and all the images are "X"ed out and I can't upload anything because I get the same error as above.

I have never had this issue before. Very strange and I'm rather nervous as to what caused this.
jeremy71
Member

Usergroup: Customer
Joined: Jan 19, 2006

Total Topics: 7
Total Comments: 18
#11 - Quote - Permalink
Posted Feb 27, 2006 - 1:28 PM:

After much hairpulling I have finally got things working - turned out for some reason 2.11 was a version which both the new server and the old 1.x version database liked so all is well.....BUT as I said in another post, older versions can be helpful so if they are not listed on the donwloads section for whatever reason perhaps you should re-consider
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#12 - Quote - Permalink
Posted Mar 01, 2006 - 6:11 PM:

That's not a debug of a thumbnail, an actual thumbnail was what was needed (right click, 'show image' in most browsers, then tack debug=1 onto the url).

Old versions are incompatible with PHP 5.0.5+ and have a serious vulnerability which allows hackers to upload and run PHP scripts on your server, as explained in the security update email, plus they have all sorts of other bugs, so anyhow they will not be made available.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.