Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sascha)

Moderator: NADEO

XR_Merlin
Posts: 24
Joined: 16 Jun 2010, 18:09

Re: Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sasc

Post 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.
Sythy
Posts: 48
Joined: 11 Sep 2011, 10:29
Location: Queensland, Australia
Contact:

Re: Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sasc

Post 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?
bass
Posts: 85
Joined: 21 Sep 2011, 23:36

Re: Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sasc

Post 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
XR_Merlin
Posts: 24
Joined: 16 Jun 2010, 18:09

Re: Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sasc

Post 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.
bass
Posts: 85
Joined: 21 Sep 2011, 23:36

Re: Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sasc

Post 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.
XR_Merlin
Posts: 24
Joined: 16 Jun 2010, 18:09

Re: Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sasc

Post 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/
bass
Posts: 85
Joined: 21 Sep 2011, 23:36

Re: Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sasc

Post 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.
XR_Merlin
Posts: 24
Joined: 16 Jun 2010, 18:09

Re: Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sasc

Post 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

Code: Select all

ls -la
?

A screenshot like this:

Image
bass
Posts: 85
Joined: 21 Sep 2011, 23:36

Re: Beta4: TM²-Server Remote Control Using RCP4 (by hal|Sasc

Post by bass »

Thanks again for your help ;) Actually got it working correctly this morning! I had ftp ticked in the server maintenence :oops:
Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 1 guest