Error uploading attachments: The attachment file could not be saved to the server, possibly the Directory property setting problem, please contact the administrator.
Modified Permissions issue still exists
Workaround:
Login Discuz Backstage
Global-Attachment settings-Basic settings-Attachment save location:-"Change the relative path to an absolute path."/attachments to/www/discuz/upload/attachments "
The reason is because the forum has shifted the path to the program path problem
To elevate the user as an administrator:
Discuz+uclient manually elevate normal users to administrator privileges
The key is to know the location of the administrator rights in the database
Assuming that the Discuz database prefix is cdb_ uclient, the prefix is uc_
Execute separately
query Table structure
Describe Uc_members;
Querying for Sunshine user name information
SELECT * from Uc_members where name= "Sunshine";
2xxx79 is the UID field value queried above
INSERT into uc_admins values (2xxx79, "Sunshine", 1,1,1,1,1,1,1,1,1,1,1,1);
This will elevate the Sunshine user to administrator privileges in UC.
If you want to use the UC site initiator permissions, you will need to modify the data/config.inc.php file under Ucclient
Modify
Define (' UC_FOUNDERPW ', ' xxx0dfxxx407de5xxxba5463xxx095e '); This is the code.
Define (' Uc_foundersalt ', ' 0axxx6 '); This is the salt value in the user information
Elevate a user to administrator privileges in Discuz
Adminid--smallint (3)--Management Group ID number (1 for administrator, 2 for total moderator, 3 for moderators, 0 for no, i.e. non-administrative group, -1 table
Special groups and system groups (i.e. 4,5,6,7,8 groups) other than
Update cdb_members Set Adminid = 1 where username = "Sunshine";
This will elevate the user Sunshine permissions to the administrator
SELECT * from cdb_members where username = "Sunshine";//View user Information
Access admincp.php Login to
Discuz Providing Administrator privileges