Welcome, Guest. Please Login or Register.
November 23, 2024, 12:24:48 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  YaBB SE Info  |  News From the YaBB SE Team  |  Problem with posting a message (subject empty error)! « previous next »
Pages: [1] 2 3 ... 6 Reply Ignore Print
Author Topic: Problem with posting a message (subject empty error)!  (Read 58881 times)
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Problem with posting a message (subject empty error)!
« on: March 02, 2002, 12:57:10 AM »
Reply with quote

There was recently a bug found in PHP which opens up a bit of a security hole.

Because of this, many hosts are disabling file uploads and the multipart post method.

A quick fix for this until we find a way around or your host upgrades to a good version is to do the following:

Ok...

Easiest way for now is to find this file in Post.php:

<form action="$cgi;action=post2" method="POST" name="postmodify" onSubmit="submitonce(this);" enctype="multipart/form-data">

and change it to:

<form action="$cgi;action=post2" method="POST" name="postmodify" onSubmit="submitonce(this);">

Find this in ModifyMessage.php

<form action="$cgi;action=modify2;start=$start" method=post name="postmodify" onSubmit="submitonce(this);" enctype="multipart/form-data">

and change it to:

<form action="$cgi;action=modify2;start=$start" method=post name="postmodify" onSubmit="submitonce(this);">

Disable attachments for now and I will work on a fix for this...
« Last Edit: March 02, 2002, 01:53:54 AM by Jeff Lewis » Logged

Shaun
Wannabe Mod Writer
Sr. Member
****
Posts: 361


YaBB SE Rules.

Re:Problem with posting a message (subject empty error)!
« Reply #1 on: March 02, 2002, 01:04:37 AM »
Reply with quote

WOOOHOOO!!!


Thank You Jeff!
Logged

This guy uses objects like women man!
Daniel D.
Mod Team
YaBB God
*****
Posts: 2935


Re:Problem with posting a message (subject empty error)!
« Reply #2 on: March 02, 2002, 01:04:46 AM »
Reply with quote

The worlds fastest "Know-a-bug-post-a-solution-and-work-for-a-fix" - Admin ! ;)

Thx.
Logged

Shoeb Omar
Disciple of Joe
YaBB God
*****
Posts: 1420


The shrub demands war. I don't. The world doesn't.

ICQ - 69234983clickopedia@hotmail.com WWW
Re:Problem with posting a message (subject empty error)!
« Reply #3 on: March 02, 2002, 01:06:34 AM »
Reply with quote

hehe - so what happens if we do what ya just said and leave ifle attachments on?...
Logged

"If we all practice an eye for an eye, pretty soon the whole world will be blind" - Gandhi

We need to start listening to advocates of peace in oder to advance society. We have not grown from the prehistoric barbarians we once were.  Will society ever mature?
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Problem with posting a message (subject empty error)!
« Reply #4 on: March 02, 2002, 01:09:16 AM »
Reply with quote

Yeah sorry, I worked until 4 and then went to see my travel agent ;)  So sorry for the delay...

As for leaving it on...it will annoy the hell out of your users I'm sure :)  May cause an error too, just follow the damn instructions Omario ;)
Logged

Dave Smulders
YaBB SE Developer
YaBB God
*****
Posts: 608


WWW
Re:Problem with posting a message (subject empty error)!
« Reply #5 on: March 02, 2002, 01:14:43 AM »
Reply with quote

Eh...disabling file-uploads?

That'll kill the database backup restoring for safe mode  >:(

...I'm having a bad *BAD* day.  :)

« Last Edit: March 02, 2002, 01:15:29 AM by Dave Smulders » Logged

Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Problem with posting a message (subject empty error)!
« Reply #6 on: March 02, 2002, 01:17:03 AM »
Reply with quote

Hehe well one good thing!  It will force some hosts to FINALLY upgrade their versions of PHP ;)
Logged

Kevin
Noobie
*
Posts: 3


ICQ - 9970142 WWW
Re:Problem with posting a message (subject empty error)!
« Reply #7 on: March 02, 2002, 01:26:17 AM »
Reply with quote

Whew! that fixed it!

Thanks, Jeff!
Logged
blacknight
Noobie
*
Posts: 19


I'm a llama!

WWW
Re:Problem with posting a message (subject empty error)!
« Reply #8 on: March 02, 2002, 01:26:53 AM »
Reply with quote

That seems to have fixed it!!
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Problem with posting a message (subject empty error)!
« Reply #9 on: March 02, 2002, 01:32:26 AM »
Reply with quote

You guys may want to ask your hosts when they plan on upgrading their PHP.  if they don't, they will have file uploads disabled for sometime...
Logged

ChicagoEFI
Jr. Member
**
Posts: 67


I'm a llama!

Re:Problem with posting a message (subject empty error)!
« Reply #10 on: March 02, 2002, 01:34:24 AM »
Reply with quote

Did you ever know that your my Hero? Did you ever know that you are the wind beneath my wings!!! ;D
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Problem with posting a message (subject empty error)!
« Reply #11 on: March 02, 2002, 01:39:12 AM »
Reply with quote

Oh geez ;)
Logged

PabUK
Full Member
***
Posts: 136


I eat llamas!

WWW
Re:Problem with posting a message (subject empty error)!
« Reply #12 on: March 02, 2002, 01:50:06 AM »
Reply with quote

Hey leave Jeff alone - he's mine. ;)
Logged


944 Topics, 15010 Posts, 180 Members as of 30th April
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Problem with posting a message (subject empty error)!
« Reply #13 on: March 02, 2002, 01:55:33 AM »
Reply with quote

Guys, Kevin Mara also pointed out the ModifyMessage.php gets this problem as well so I posted the code to change in my first post in this thread...

Thanks Kevin!
Logged

Iago
Noobie
*
Posts: 18


I'm a llama!

Re:Problem with posting a message (subject empty error)!
« Reply #14 on: March 02, 2002, 02:15:23 AM »
Reply with quote

Thanks for the prompt fix. and for fixing the first problem for us via ftp. *erects pyramid-sized Jeff altar*
Logged
Pages: [1] 2 3 ... 6 Reply Ignore Print 
YaBB SE Community  |  YaBB SE Info  |  News From the YaBB SE Team  |  Problem with posting a message (subject empty error)! « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.016 seconds with 20 queries.