Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2000
Posts: 129
Member
Member
Offline
Joined: Sep 2000
Posts: 129
I upgraded to 6.02 from 6.01, and suddenly we cannot post the message after we preview it.

The error message was something like "All of the required fields are not filled in."

I am using language other than English though.

Anyone got this problem?


...... x ......
Using UBBt 6.4.2 + Digg Ajax Mod, Trust Ajax Mod, Captcha Regristation & Login mod, Checkusername Ajax mode.
Sponsored Links
Joined: Sep 2000
Posts: 129
Member
Member
Offline
Joined: Sep 2000
Posts: 129
Okay here is the progress...

Whenever there is:
$config['files'] = "/home/ponsel/public_html/forumfiles";
in the config.inc.cfg then there is an error saying that I have to fill in all the field.

Can anyone help me what's going on?

* I did chmod the dir, though.

Thanks


...... x ......
Using UBBt 6.4.2 + Digg Ajax Mod, Trust Ajax Mod, Captcha Regristation & Login mod, Checkusername Ajax mode.
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
This is a php.ini issue. I can't remember the exact details but basically your install of php sounds like it is in safe_mode but when you specify a files path then the form is a multipart form. These forms no longer work properly if php is in safe_mode. So, this requires either turning safe_mode off in php.ini or removing the path from the $config['files'] variable.


UBB.threads Developer
Joined: Sep 2000
Posts: 129
Member
Member
Offline
Joined: Sep 2000
Posts: 129
Ok it's all fixed.

It is a php.ini issue, but the safe_mode is already turned off.

I edited the file_uploads to On, and everything goes well

Thanks!


...... x ......
Using UBBt 6.4.2 + Digg Ajax Mod, Trust Ajax Mod, Captcha Regristation & Login mod, Checkusername Ajax mode.
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
That's strange. In version 6.0.2 (and maybe 6.0.1?), the call ini_get(file_uploads) was added to deal with that situation.

A couple of potential problems:

1) Should the parameter be quoted? ini_get('file_uploads')

2) Are '0' and '1' the only legal values for that config parameter, or does it accept 'yes' and 'no' also?

Sponsored Links
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Found this one. I don't check for ini_get(file_uploads) in the addpost.php script. Will need to get this fixed for the next release.


UBB.threads Developer

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)