Another error?!
Moderator: Experts
-
- Posts: 9
- Joined: Thu Nov 02, 2006 6:31 pm
Another error?!
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 =)
-
- Posts: 9
- Joined: Thu Nov 02, 2006 6:31 pm
-
- Posts: 9
- Joined: Thu Nov 02, 2006 6:31 pm
-
- Posts: 9
- Joined: Thu Nov 02, 2006 6:31 pm
-
- Posts: 9
- Joined: Thu Nov 02, 2006 6:31 pm
Only thing I can see is this that doesn't look like it's supposed to be there in the posting.php file:
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.
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
*/
-
- Posts: 9
- Joined: Thu Nov 02, 2006 6:31 pm
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!
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!
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.
Code: Select all
<?php phpinfo(); ?>
-
- Posts: 9
- Joined: Thu Nov 02, 2006 6:31 pm