Another error?!

Since Opentools.de has now gone away I've created this forum to house FAQs and support for this mod in phpBB2.

Moderator: Experts

Locked
GoTalkAboutIt
Posts: 9
Joined: Thu Nov 02, 2006 6:31 pm

Another error?!

Post 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 =)
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Post 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.
GoTalkAboutIt
Posts: 9
Joined: Thu Nov 02, 2006 6:31 pm

Post 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!
GoTalkAboutIt
Posts: 9
Joined: Thu Nov 02, 2006 6:31 pm

Post 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?
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Post by DavidIQ »

Ok...save your posting.php file as posting.txt and attach here.
GoTalkAboutIt
Posts: 9
Joined: Thu Nov 02, 2006 6:31 pm

Post by GoTalkAboutIt »

Alright, here it is!
Attachments
posting.txt
(35.33 KiB) Downloaded 385 times
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Post by DavidIQ »

Alright...how about includes/functions_post.php as well.
GoTalkAboutIt
Posts: 9
Joined: Thu Nov 02, 2006 6:31 pm

Post by GoTalkAboutIt »

Ok, here that is, too =)
Attachments
functions_post.txt
(28.36 KiB) Downloaded 380 times
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Post 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.
GoTalkAboutIt
Posts: 9
Joined: Thu Nov 02, 2006 6:31 pm

Post 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!
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Post by DavidIQ »

Wait...your error is something like "Tried to Upload Empty File" then. Try putting this in notepad:

Code: Select all

<?php phpinfo(); ?>
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.
GoTalkAboutIt
Posts: 9
Joined: Thu Nov 02, 2006 6:31 pm

Post 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! :D Thanks for ALL your help DavidIQ! I'm sure I will be back for more :p
Locked