Browse tab - function.ftp-mkdir fails

This is the dedicated forum for RemoteCP4: the web based dedicated server control script.

Moderators: hal|Sascha, TM-Patrol

Post Reply
Welly
tricycle manager
tricycle manager
Posts: 27
Joined: 09 Mar 2009 12:39
Owned TM-games: TMUF, TMNF
Location: France
Contact:

Browse tab - function.ftp-mkdir fails

Post by Welly » 09 Mar 2009 13:20

Hello,

I hope you'll understand my baaad english! (I'm french sorry^^).

I'm trying to configure the lastest version of RemoteCP4 on a remote http server. Everything is ok except the Browse tab.
I have a beautiful php error :

[PHP Warning] ftp_mkdir() [function.ftp-mkdir]: /tm_serv/GameData/Tracks/: Aucun fichier ou répertoire de ce type on line 117 in file /homepages/24/d249523494/htdocs/remotecp/plugins/Browse/index.php[PHP Warning] ftp_mkdir() [function.ftp-mkdir]: /tm_serv/GameData/Tracks/Challenges/: Aucun fichier ou répertoire de ce type on line 118 in file /homepages/24/d249523494/htdocs/remotecp/plugins/Browse/index.php[PHP Warning] ftp_mkdir() [function.ftp-mkdir]: /tm_serv/GameData/Tracks/MatchSettings/: Aucun fichier ou répertoire de ce type on line 119 in file /homepages/24/d249523494/htdocs/remotecp/plugins/Browse/index.php

-> I think the ftp function of remotecp4 is unable to join or make directories in my "home ftp server" where is installed TMUF Dedicated Server...but I don't know why! :(


----------------------------------------------------
...Here are my servers configurations...
----------------------------------------------------
Home server:
TMUF Server: OK - Dedicated server only.
OS: Debian 5.0 Lenny.
FTP server (for a remote use of remotecp4): Proftpd. chmod 777 on : GameData - Config - Tracks - Matchsettings - Challenges. / wellever ftp homedir is: /home/wellever/...
Dedicated server directory: /home/wellever/tm_serv/...
Public IP address: tmunited.teambzh.com

Remote web server:
1and1.fr - teambzh.com
PHP version: 5.2.8
PHP infos: http://teambzh.com/info.php
Remotecp4: Everthing works except the ftp function.
The ftp function is enabled
directories and sub-directories XML & Cache are chmod 777


-----------------------------------------------------
...Here is my servers.xml configuration file...
-----------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<servers>
<server>
<serverid>1</serverid>
<login>login</login>
<name>[~BZH~]United</name>
<settingset></settingset> <!-- Pathname without slashes, leave empty for default settings -->
<filepath></filepath> <!-- Pathname without slashes, leave empty for old remoteCP3 style -->
<connection>
<ip>tmunited.teambzh.com</ip>
<port>5002</port>
<account>SuperAdminLogin</account>
<password>SuperAdminPassword</password>
</connection>
<ftp enabled="true">
<host>tmunited.teambzh.com</host>
<port></port>
<username>wellever</username>
<password>userpassord</password>
<path>/tm_serv/GameData/Tracks/</path>
<!--If I try tm_serv/GameData/Tracks here (no "/" before tm_serv), there are no php errors in the "Browse tab". Just "Files not found". -->
</ftp>
<sql enabled="false">
<host>localhost</host>
<username>username</username>
<password>password</password>
<dbname>remotecp</dbname>
<path>remotecp</path></sql>
</server>
</servers>


I really hope you could help and maybe show me how to configure it for my TM server me because this is a Great Tool!

Thanks a lot :)

[~BZH~] Welly

Server's location:
World > France > Bretagne > Morbihan > [~BZH~] United
Last edited by Welly on 09 Mar 2009 14:35, edited 1 time in total.

User avatar
hal|Sascha
Pit Crew
Pit Crew
Posts: 671
Joined: 12 Aug 2005 16:22
Owned TM-games: TMU, TMN, TMS, TMO
Location: Germany Munich
Contact:

Re: Browse tab - function.ftp-mkdir fails

Post by hal|Sascha » 09 Mar 2009 13:54

Could somebody plz translate the php error messages? My french, ... yeah I don't speak french ^^
CPU: Intel Core 2 Duo E6600
Mainboard: Asus P5W DH Deluxe
RAM: 2 GB
Graphics: ATI Radeon X1950XTX
Audio: Soundblaster Audigy 4
Internet: ADSL 6Mbit
OS: Windows Vista Bussiness

corto-72
smooth traffic navigator
smooth traffic navigator
Posts: 284
Joined: 28 Jul 2008 16:12
Owned TM-games: TMUF
Location: Toulouse
Contact:

Re: Browse tab - function.ftp-mkdir fails

Post by corto-72 » 09 Mar 2009 14:08

Aucun fichier ou répertoire de ce type on line 117 in file /homepages/24/d249523494/htdocs/remotecp/plugins/Browse/index.php
=
No file or folder of this type on line... :)


PS: Sascha, if interested I intend to translate the XMLs in french (one extra language for you :) )

User avatar
hal|Sascha
Pit Crew
Pit Crew
Posts: 671
Joined: 12 Aug 2005 16:22
Owned TM-games: TMU, TMN, TMS, TMO
Location: Germany Munich
Contact:

Re: Browse tab - function.ftp-mkdir fails

Post by hal|Sascha » 09 Mar 2009 14:44

corto-72 wrote:Aucun fichier ou répertoire de ce type on line 117 in file /homepages/24/d249523494/htdocs/remotecp/plugins/Browse/index.php
=
No file or folder of this type on line... :)
thx, google translated me something, that was a little bit different :mrgreen:
I'll have a deep look into this, later this day :)
corto-72 wrote:PS: Sascha, if interested I intend to translate the XMLs in french (one extra language for you :) )
That would be awesome :)
CPU: Intel Core 2 Duo E6600
Mainboard: Asus P5W DH Deluxe
RAM: 2 GB
Graphics: ATI Radeon X1950XTX
Audio: Soundblaster Audigy 4
Internet: ADSL 6Mbit
OS: Windows Vista Bussiness

Welly
tricycle manager
tricycle manager
Posts: 27
Joined: 09 Mar 2009 12:39
Owned TM-games: TMUF, TMNF
Location: France
Contact:

Re: Browse tab - function.ftp-mkdir fails

Post by Welly » 09 Mar 2009 15:12

Thanks you in advance :D

Welly
tricycle manager
tricycle manager
Posts: 27
Joined: 09 Mar 2009 12:39
Owned TM-games: TMUF, TMNF
Location: France
Contact:

Re: Browse tab - function.ftp-mkdir fails

Post by Welly » 11 Mar 2009 15:11

Please Sascha, don't forget me! :wink:

User avatar
hal|Sascha
Pit Crew
Pit Crew
Posts: 671
Joined: 12 Aug 2005 16:22
Owned TM-games: TMU, TMN, TMS, TMO
Location: Germany Munich
Contact:

Re: Browse tab - function.ftp-mkdir fails

Post by hal|Sascha » 18 Mar 2009 08:57

Welly wrote:Please Sascha, don't forget me! :wink:
:oops: sorry.
I took a deep look into your configuration settings, reading it multiple times, but can't find a error. I think its a possible bug in rcp or something with your ftp permission. Try to enable debugging inside the browse plugin (/plugins/Browse/index.php - there is a debug variable, just set it to true).
CPU: Intel Core 2 Duo E6600
Mainboard: Asus P5W DH Deluxe
RAM: 2 GB
Graphics: ATI Radeon X1950XTX
Audio: Soundblaster Audigy 4
Internet: ADSL 6Mbit
OS: Windows Vista Bussiness

Welly
tricycle manager
tricycle manager
Posts: 27
Joined: 09 Mar 2009 12:39
Owned TM-games: TMUF, TMNF
Location: France
Contact:

Re: Browse tab - function.ftp-mkdir fails

Post by Welly » 18 Mar 2009 16:45

Hello,

Few days ago, I modified the permissions on the ftp server dans the TM dedicated server directories (chmod 777 to try.). But it doesn't work much better. :(

Yerterday, I modified the <ftp><path> </path> line for the value: "/home/wellever/tm_serv/Gamedata/Tracks". Now I can see new lines (Campains, Matchsettings...) but I'm not sure this is the right patch and I thought I could see an array or a list of the tracks into the directory.

May you take a look at my remotecp install?

URL: http://remotecp.teambzh.com
Please register and I'll activate your account.

Thanks.

User avatar
hal|Sascha
Pit Crew
Pit Crew
Posts: 671
Joined: 12 Aug 2005 16:22
Owned TM-games: TMU, TMN, TMS, TMO
Location: Germany Munich
Contact:

Re: Browse tab - function.ftp-mkdir fails

Post by hal|Sascha » 18 Mar 2009 18:34

registered :)
CPU: Intel Core 2 Duo E6600
Mainboard: Asus P5W DH Deluxe
RAM: 2 GB
Graphics: ATI Radeon X1950XTX
Audio: Soundblaster Audigy 4
Internet: ADSL 6Mbit
OS: Windows Vista Bussiness

Welly
tricycle manager
tricycle manager
Posts: 27
Joined: 09 Mar 2009 12:39
Owned TM-games: TMUF, TMNF
Location: France
Contact:

Re: Browse tab - function.ftp-mkdir fails

Post by Welly » 19 Mar 2009 09:12

Thanks!

You're account is active now :)

Like I said in my last post: the <path> </path> value is actually: /home/wellever/tm_serv/Gamedata/Tracks/
This is the only way to make it works like actually. The browse tab is very "slow" and there are errors into "Matchsettings".

If you want I could send you a screenshot of the /home/wellever/ folders tree. And also give you the server.ini. There are no modifications into the Browse plugin files.

Thanks again for your help.

PS: Just a last question. What is the best to make it work? Remotely (like me) or Locally (same server used for TM Dedicated Server with apache2 and php5-cgi)

User avatar
hal|Sascha
Pit Crew
Pit Crew
Posts: 671
Joined: 12 Aug 2005 16:22
Owned TM-games: TMU, TMN, TMS, TMO
Location: Germany Munich
Contact:

Re: Browse tab - function.ftp-mkdir fails

Post by hal|Sascha » 19 Mar 2009 10:38

Welly wrote:Thanks!

You're account is active now :)
Would be nice if you could give my account permissions for the browser, can't see the problem ;)
Welly wrote:PS: Just a last question. What is the best to make it work? Remotely (like me) or Locally (same server used for TM Dedicated Server with apache2 and php5-cgi)
I think the local version of the browse plugin is much better tested and many times faster.
CPU: Intel Core 2 Duo E6600
Mainboard: Asus P5W DH Deluxe
RAM: 2 GB
Graphics: ATI Radeon X1950XTX
Audio: Soundblaster Audigy 4
Internet: ADSL 6Mbit
OS: Windows Vista Bussiness

Welly
tricycle manager
tricycle manager
Posts: 27
Joined: 09 Mar 2009 12:39
Owned TM-games: TMUF, TMNF
Location: France
Contact:

Re: Browse tab - function.ftp-mkdir fails

Post by Welly » 19 Mar 2009 11:14

Ok sorry I forgot to give you some permissions.

Now you can! (Yes, you can! :P)

User avatar
hal|Sascha
Pit Crew
Pit Crew
Posts: 671
Joined: 12 Aug 2005 16:22
Owned TM-games: TMU, TMN, TMS, TMO
Location: Germany Munich
Contact:

Re: Browse tab - function.ftp-mkdir fails

Post by hal|Sascha » 19 Mar 2009 12:25

hum... looks like it works now :)
Image

The array_key_exists error is a little bug not really a error, you can find a little fix for it in the pinned rcp 4.0.2.7 thread.
Only problem I experienced with your server was that the browser is horrible slow at first load. I will try to find a solution to speed up things a little bit for version 4.0.3.0
CPU: Intel Core 2 Duo E6600
Mainboard: Asus P5W DH Deluxe
RAM: 2 GB
Graphics: ATI Radeon X1950XTX
Audio: Soundblaster Audigy 4
Internet: ADSL 6Mbit
OS: Windows Vista Bussiness

Welly
tricycle manager
tricycle manager
Posts: 27
Joined: 09 Mar 2009 12:39
Owned TM-games: TMUF, TMNF
Location: France
Contact:

Re: Browse tab - function.ftp-mkdir fails

Post by Welly » 19 Mar 2009 17:19

Ok thanks a lot for your help :)

But I can't explain why I had tu put the path /home/wellever/tm_serv/Gamedata/Tracks/ and no /tm_serv/Gamedata/Track or /Gamedata/Tracks.
When I manually connect to my ftp server with the same account used in RemoteCP, the default path is already /home/wellever/

I'll try to configure an apache2 server to install RemoteCP locally.

eakinasila
highway camper
highway camper
Posts: 1
Joined: 21 Nov 2009 09:27
Owned TM-games: TMO
Manialink(s): HTJJAQA

Re: Browse tab - function.ftp-mkdir fails

Post by eakinasila » 25 Nov 2009 09:34

How do I remove the FTP passwords? I use internet explorer to access FTP to some servers. I once set all of them to "remember password", so it enters directly, and now I don't know how to remove those passwords. I want it to ask me the password every time I try to connect. How do I make internet explorer forget those passwords?? Thanks!

Post Reply