TinyPortal

Development => Support => Topic started by: raid on June 19, 2008, 03:51:32 PM

Title: DL-section MySQL error during upload
Post by: raid on June 19, 2008, 03:51:32 PM
well I am in a big truble, it is not possible to upload file, all seems to work, the file is uploaded but when I go to download I download a 0KB file. it happens with RAR, but not with PNG, I dont know why.

attached my TPdlmanager.php

here the error on log:
error 2:
http://www.darkforge.it/board/index.php?action=tpmod;dl=upload
2: mysql_free_result(): supplied argument is not a valid MySQL result resource
File: *******/board/Sources/TPdlmanager.php
Linea: 308

error 1:
http://www.darkforge.it/board/index.php?action=tpmod;dl=upload

8: Undefined variable: request
File: ***********/board/Sources/TPdlmanager.php
Linea: 308


EDIT:
I dont know why with ZIP file it is working, damn, I am getting crazy, but the SQL error is still there



Link to my site: http://www.darkforge.it
SMF version: SMF ver. 1.1.5
TP version: TP ver. 1.0.5 Beta1
Theme name and version: DilberMC 1.1
Mods installed: Registration - Show Language mod, TopicStarter Mod, GoogleTagged, Country Flags, Admin Notepad, Spoiler Tag, FavIcon, SMFChess, Max Subject Length, VisualWarning, Increase/Decrease Postbox Size, Profil Moderator Managment, Custom BBCode, Language Drop, SMF Arcade, Contact Form, MCLegendII modded, SMF Theme Contrast Fix, New Topic Button, User CP, Topic description, Group Online Status, Thank-O-Matic, Profile User Action, AvatarSelect, Bookmarks, View_Email_Permission, BBCode manage permissions, Move Old Topics, Easy EditMetaData, Redirection Boards.
Title: Re: DL-section MySQL error during upload
Post by: G6Cad on June 19, 2008, 05:16:22 PM
Have you checked the permissions on the folder ? and have you tried several files ?
Title: Re: DL-section MySQL error during upload
Post by: raid on June 19, 2008, 05:22:30 PM
yes, only the RAR isn't working, the Folder CHMOD is 775, is it correct?

Well, backupped all, and I uploded all the forum on a second server, and all is working fine, why? I don't know, I am getting crazy

EDIT: inside the attachment folder some files has chmod 664 and some other 644
Title: Re: DL-section MySQL error during upload
Post by: G6Cad on June 19, 2008, 05:25:39 PM
I suggest you ask your host how the security settings are set on the server.

If it works on your main folder forum and not a sub folder forum i think you are better off chasing your host around until they have set the permissions the same to all your accounts.
Title: Re: DL-section MySQL error during upload
Post by: raid on June 19, 2008, 05:27:05 PM
no, I mean a second server, a different one, an other hoster, sorry