Page 3 of 5
Re: Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sasc
Posted: 19 Sep 2011, 20:38
by XR_Merlin
As far as I know... There was a restriction in Saschas remoteCP: 1MByte.
Try to upload the tracks manually via ftp and fit them in the playplist via remoteCP.
Re: Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sasc
Posted: 20 Sep 2011, 10:38
by Sythy
Hey merlin,
I just installed your version of RCP... but i get this error when uploading large maps.
"[remoteCP Notice] transport error - request too large (679415) [-32300]"
Anywhere to increase the file size allowed?
Re: Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sasc
Posted: 21 Sep 2011, 23:44
by bass
[2011-09-22T01:24:58+02:00] [PHP Warning] ftp_mkdir() [function.ftp-mkdir]: Permission denied. on line 123 in file /var/www/html/RCP/plugins/Browse/index.php
[2011-09-22T01:24:58+02:00] [PHP Warning] ftp_mkdir() [function.ftp-mkdir]: Permission denied. on line 124 in file /var/www/html/RCP/plugins/Browse/index.php
[2011-09-22T01:24:58+02:00] [PHP Warning] ftp_mkdir() [function.ftp-mkdir]: Permission denied. on line 125 in file /var/www/html/RCP/plugins/Browse/index.php
I need really need some help with this.. whats wrong here?
thanks,
bass
Re: Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sasc
Posted: 22 Sep 2011, 05:38
by XR_Merlin
If: You get a
Permission denied
then: Have a look in that file...
line 123 - 131 of RCP/plugins/Browse/index.php:
Code: Select all
ftp_mkdir($this->ftpstream, $this->root.$this->filepath);
ftp_mkdir($this->ftpstream, $this->root.$this->filepath.'Challenges'.$this->slash); //create challenges folder
ftp_mkdir($this->ftpstream, $this->root.$this->filepath.'MatchSettings'.$this->slash); //create matchsettings folder
}
} else {
if(!is_dir($this->root.$this->filepath)) {
mkdir($this->root.$this->filepath);
mkdir($this->root.$this->filepath.'Challenges'.$this->slash); //create challenges folder
mkdir($this->root.$this->filepath.'MatchSettings'.$this->slash); //create matchsettings folder
Mr. remoteCP want´s to "make dir" ( create some directorys ) and he has no permission to do it in that directory.
Solution:
chmod appropriate folder.
Re: Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sasc
Posted: 22 Sep 2011, 06:01
by bass
Thanks much for that reply

I have the permissions set at 777 on that particular file and the folder it resides in. With that, I still get the permission denied errors. Clearly I still dont get it. Very new to this.
Re: Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sasc
Posted: 22 Sep 2011, 16:38
by XR_Merlin
Not THAT file must have the rights...
chmod the relevant FOLDER, the file wants to access....
must be /ManiaPlanetServer/UserData/
and don´t forget to CHMOD 771 all files in the remotecp-directory /xml/ and /cache/
Re: Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sasc
Posted: 22 Sep 2011, 19:49
by bass
Again thank you

But did not do the trick.. i upped permissions on those folders too without any change. Still getting the same errors on browse. Everything else works quite well.
Re: Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sasc
Posted: 23 Sep 2011, 05:31
by XR_Merlin
May i have a screenshot of your "Main-Dedicated-Directory" and one of the content of "UserData" with the output of the command
?
A screenshot like this:

Re: Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sasc
Posted: 23 Sep 2011, 17:13
by bass
Thanks again for your help

Actually got it working correctly this morning! I had ftp ticked in the server maintenence
