Page 1 of 1
Another error?!
Posted: Sat Nov 04, 2006 1:50 pm
by GoTalkAboutIt
Ugh, I am getting yet another error, but this time it's after I try to post! I write my post, attach the file by browsing for it, and wait for it to upload and post. Unfortunately, after I wait for it to post, the next screen I get is a "Post not specified". So it doesn't post, doesn't attach, doesn't do anything! Any ideas?? Thanks in advance for any help =)
Posted: Sat Nov 04, 2006 3:37 pm
by DavidIQ
You're NOW getting this? This could be a host issue soooo...did you install another mod? If not then contact your host and see if they've disabled PHP uploads.
Posted: Sun Nov 05, 2006 4:34 pm
by GoTalkAboutIt
Yeah, now getting it, at school and at home. The folder is 777 permissioned, so I know that isn't the issue, so I will contact my host to see if that is the issue =) I'll let you know!
Posted: Sun Nov 05, 2006 6:08 pm
by GoTalkAboutIt
Turns out it isn't a host issue, worked with a rep for quite some time changing settings in PHP, upload is enabled with PHP so i'm not sure what the problem is...any ideas DavidIQ?
Posted: Sun Nov 05, 2006 6:13 pm
by DavidIQ
Ok...save your posting.php file as posting.txt and attach here.
Posted: Sun Nov 05, 2006 6:42 pm
by GoTalkAboutIt
Alright, here it is!
Posted: Sun Nov 05, 2006 7:19 pm
by DavidIQ
Alright...how about includes/functions_post.php as well.
Posted: Sun Nov 05, 2006 7:55 pm
by GoTalkAboutIt
Ok, here that is, too =)
Posted: Sun Nov 05, 2006 8:18 pm
by DavidIQ
Only thing I can see is this that doesn't look like it's supposed to be there in the posting.php file:
Code: Select all
/* AUTH system for Form to Post
$poster_id = $post_info['topic_poster'];
$sql = "SELECT *
FROM ". FTP_CATEGORIES_TABLE ."
WHERE forum_id = $forum_id";
if(! $result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Could not determine category information');
}
$ftp_cat_row = $db->sql_fetchrow($result);
if ($mode == "reply" && $forum_id == $ftp_cat_row['forum_id'] && $ftp_cat_row['auth_reply'] == 1 )
{
if ( $userdata['user_level'] != ADMIN && $userdata['user_level'] != MOD )
{
if ( $userdata['user_id'] !== $poster_id )
{
message_die(GENERAL_MESSAGE, 'you are not the origional poster of this topic');
}
}
}
// AUTH system for Form to Post
*/
Try removing that and see if you're able to post. OR replace the posting.php file with the one from the premodified files. I believe this is the file that's giving you problems.
Posted: Mon Nov 06, 2006 8:33 am
by GoTalkAboutIt
Alright, yet again another weird thing going on..
I replaced my posting.php file with the pre-modded one, and still get the same error

But, what I never realized was this:
I can upload a 5meg file named BF2142_Unlocks__by_Syco.rar
I can NOT upload a 25 meg file named 2142UnlocksV4.zip
I can NOT upload a 25 meg file named 2142UnlocksV4.rar
(I renamed the last file to Unlocks.rar)
I can NOT upload a 25 meg file named Unlocks.rar
My settings are set with a 50meg attachment limit, with a 10gig overall limit...
Any ideas on THAT?
And thank you VERY much for helping me with this problem!
Posted: Mon Nov 06, 2006 9:12 am
by DavidIQ
Wait...your error is something like "Tried to Upload Empty File" then. Try putting this in notepad:
save as phpinfo.php, upload to your site, and open in a browser. Look for upload_max_filesize and post_max_size and those will be your limits.
Posted: Mon Nov 06, 2006 11:19 am
by GoTalkAboutIt
Ah ha! I found the problem! I had to move the php.ini file itself INTO the directory that I upload from. Everything seems to working fine as of now, so that's good!

Thanks for ALL your help DavidIQ! I'm sure I will be back for more :p