TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 346
  • Total: 346

DL-section MySQL error during upload

Started by raid, June 19, 2008, 03:51:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

raid

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.
SMF 2.0 + TP RC2

G6Cad

Have you checked the permissions on the folder ? and have you tried several files ?

raid

#2
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
SMF 2.0 + TP RC2

G6Cad

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.

raid

no, I mean a second server, a different one, an other hoster, sorry
SMF 2.0 + TP RC2

This website is proudly hosted on Crocweb Cloud Website Hosting.