RCP4 instalation problem
Moderators: hal|Sascha, TM-Patrol
RCP4 instalation problem
I tried to install rcp on my weebsite,
I had a few problems, i alredy add 771 rights to xml includes and cache folders
now i have problem, when i try to start it there is warning and error:
Warning: require_once(./includes/core.class.php) [function.require-once]: failed to open stream: Permission denied in /home/a3505216/public_html/rem/index.php on line 15
Fatal error: require_once() [function.require]: Failed opening required './includes/core.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a3505216/public_html/rem/index.php on line 15
can any body help me?
I had a few problems, i alredy add 771 rights to xml includes and cache folders
now i have problem, when i try to start it there is warning and error:
Warning: require_once(./includes/core.class.php) [function.require-once]: failed to open stream: Permission denied in /home/a3505216/public_html/rem/index.php on line 15
Fatal error: require_once() [function.require]: Failed opening required './includes/core.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a3505216/public_html/rem/index.php on line 15
can any body help me?
-
- smooth traffic navigator
- Posts: 284
- Joined: 28 Jul 2008 16:12
- Owned TM-games: TMUF
- Location: Toulouse
- Contact:
Re: RCP4 instalation problem
First, a stupid question...
the file core.class.php exists in /home/a3505216/public_html/rem/includes/, correct?
Second, who is the owner of the file structure, and what is the username used to launched the script? (i.e. how did you import the files on the server, and is it using the same account as used to launch the script?)
the file core.class.php exists in /home/a3505216/public_html/rem/includes/, correct?
Second, who is the owner of the file structure, and what is the username used to launched the script? (i.e. how did you import the files on the server, and is it using the same account as used to launch the script?)
Re: RCP4 instalation problem
First yes it is
second. I don't understand question, im owner,
i want to make my server whitch is standing on localhost, in my place to be able to be controled by anyone who has paswords to remote cp, trought net .
second. I don't understand question, im owner,
i want to make my server whitch is standing on localhost, in my place to be able to be controled by anyone who has paswords to remote cp, trought net .
-
- smooth traffic navigator
- Posts: 284
- Joined: 28 Jul 2008 16:12
- Owned TM-games: TMUF
- Location: Toulouse
- Contact:
Re: RCP4 instalation problem
What I meant is: have the files been created by the same login as the one under which the script is being launched?
or asked differently, did you use your personal login to ftp and unzip the files, but used a dedicated user login (different to your personal login) to launch the script?
(the reason for asking is because it seems php is not allowed to read that file)
or asked differently, did you use your personal login to ftp and unzip the files, but used a dedicated user login (different to your personal login) to launch the script?
(the reason for asking is because it seems php is not allowed to read that file)
Re: RCP4 instalation problem
if i understand corectly, i added files by ftp to web servers as admin of this server, but im trying to launch it normaly, from web browser like comon user.
-
- smooth traffic navigator
- Posts: 284
- Joined: 28 Jul 2008 16:12
- Owned TM-games: TMUF
- Location: Toulouse
- Contact:
Re: RCP4 instalation problem
ok, that's what I was suspecting.
I'd suggest to chmod 774 on all files, and 775 on cache and xml files, to give read access to all files, and read write specifically to the xml and cache.
(you probably could get away with 744 and 755 though)
The other option I think would be to change owner and group of the files to the webuser, www-data assuming standard apache setup with chown command if you are only using the web part of RCP
I'd suggest to chmod 774 on all files, and 775 on cache and xml files, to give read access to all files, and read write specifically to the xml and cache.
(you probably could get away with 744 and 755 though)
The other option I think would be to change owner and group of the files to the webuser, www-data assuming standard apache setup with chown command if you are only using the web part of RCP
Re: RCP4 instalation problem
that doesnt work 
even if i make everything 777
it was tedirecting me to instalation. i dont understand that.

even if i make everything 777
it was tedirecting me to instalation. i dont understand that.
Re: RCP4 instalation problem
It work!
with that 777
rcp work, but it cant connect to server
----------------------------------------------------
It work good on local host, i xampp
but how to make acces from anywhere?
i cant connect with that hos when i put my ip in browser,
there is comunicat that this is forbiden.
with that 777
rcp work, but it cant connect to server

----------------------------------------------------
It work good on local host, i xampp
but how to make acces from anywhere?
i cant connect with that hos when i put my ip in browser,
there is comunicat that this is forbiden.
-
- smooth traffic navigator
- Posts: 284
- Joined: 28 Jul 2008 16:12
- Owned TM-games: TMUF
- Location: Toulouse
- Contact:
Re: RCP4 instalation problem
Good to here you managed to get the web page to work. For the access, it looks like you have a firewall / router which is blocking incoming connection...
Re: RCP4 instalation problem
i did it 
thank you a lot,
but isnt it un safe to make wholefiles 777?
--------------------------------------------
and one more question i make it on localhost, and give acces from anywhere so i can acces there from http://my host/folderOfRCP
is there option to change thet host and foder to smoe domain?
--------------------------------------------
and nex problem, on tab players there is list of players but also this comunicat:
[2010-09-02T19:45:20+02:00] [remoteCP Notice] Start index out of bound. [-1000]

thank you a lot,
but isnt it un safe to make wholefiles 777?
--------------------------------------------
and one more question i make it on localhost, and give acces from anywhere so i can acces there from http://my host/folderOfRCP
is there option to change thet host and foder to smoe domain?
--------------------------------------------
and nex problem, on tab players there is list of players but also this comunicat:
[2010-09-02T19:45:20+02:00] [remoteCP Notice] Start index out of bound. [-1000]
-
- smooth traffic navigator
- Posts: 284
- Joined: 28 Jul 2008 16:12
- Owned TM-games: TMUF
- Location: Toulouse
- Contact:
Re: RCP4 instalation problem
using 777 isn't the best thing to do indeed... that's why I was suggesting changing the owner of the files from the account you used to import the files to user/group www-data using chown.
for the domain question, I assume that by myhost you mean your IP adress? if so it should be possible using something like dyndns
for the domain question, I assume that by myhost you mean your IP adress? if so it should be possible using something like dyndns
Re: RCP4 instalation problem
and wath with that
and nex problem, on tab players there is list of players but also this comunicat:
[2010-09-02T19:45:20+02:00] [remoteCP Notice] Start index out of bound. [-1000]
and nex problem, on tab players there is list of players but also this comunicat:
[2010-09-02T19:45:20+02:00] [remoteCP Notice] Start index out of bound. [-1000]
-
- smooth traffic navigator
- Posts: 284
- Joined: 28 Jul 2008 16:12
- Owned TM-games: TMUF
- Location: Toulouse
- Contact:
Re: RCP4 instalation problem
See this topic for this warning (nothing to worry about)