pschostats installation help for cs

Status
Not open for further replies.

poipoi8219

New Member
Messages
14
Reaction score
0
Points
0
Hi,

I want to hosts my csstats online i did this before in my local machine using wiamp now i want to host here.
I followed the instructions given here http://www.psychostats.com/wiki/Installation_Walkthrough .
I uploaded the upload folder in psychostats using file zilla to my root folder and renamed as csstats.Now in the walkthrough it is given as to run the index.php inside csstats/install/index.php. This is where i got struck i tried to run this in the url as http://jews.x10hosting.com/csstats/install/index.php .
I am getting this message

The requested URL /home/micjews/root/csstats/install/index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an error document to handle the request.

As i am new to this i am helpless. Please help me to solve this problem.I tried searchin the forums but i dint find the right 1 for me.:happysad:
 

poipoi8219

New Member
Messages
14
Reaction score
0
Points
0
Hi,

I changed my csstats into public_html and it worked. But as the last step i am getting these error

Fatal error: SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/micjews/public_html/csstats/includes/smarty/Smarty_Compiler.class.php(270) : regexp code on line 270

Now i changed to intermediate still wating for the approval.

Rockee and chris thanks for your help .can you help me to move from here on
 

poipoi8219

New Member
Messages
14
Reaction score
0
Points
0
Hi, thanks for your help now i got installed psychostats but i got struck in editiing the log source. please find the attached screenshot and i hope you could help me.
 

Attachments

  • statspl.JPG
    statspl.JPG
    110.8 KB · Views: 78
  • x10.JPG
    x10.JPG
    134.5 KB · Views: 150

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
DBhost should be: localhost for the first image.

For the FTP connection:
-Path should be: /home/micjews/public_html/csstats
-Host should be: 67.228.161.43
-Port should be: 21
-Username & Password should be your cPanel ones.
 

poipoi8219

New Member
Messages
14
Reaction score
0
Points
0
Hi, I tried that chnge but in the stats .log i get this error.But i cant understand the path
-Path should be: /home/micjews/public_html/csstats . The log file is in my local system but this is not pointing there.Please find the attached screens
 

Attachments

  • stats.JPG
    stats.JPG
    135.2 KB · Views: 53
  • psy.JPG
    psy.JPG
    140.1 KB · Views: 55

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
The log should be on your webhosting account I think.
You should ask for support to the script creator, and if you need some information about your account (such as IP, port, etc) we can help you. But we don't give support for 3rd party scripts.
 

poipoi8219

New Member
Messages
14
Reaction score
0
Points
0
Thanks for your help now the log is in /home/micjews/public_html/
but when i run stats.pl from my local computer it gives this error from he log
[FATAL] Called from main(171)->PS::DB(89)->PS::DB::mysql(22) >>>
> Error connecting to database using dsn "DBI:mysql:database=micjews_csdb;host=67.228.167.204;port=":
> Access denied for user 'micjews_micjews'@'122.164.236.96' (using password: YES)
[FATAL] Called from main(171)->PS::DB(89)->PS::DB::mysql(22) >>>
> Error connecting to database using dsn "DBI:mysql:database=micjews_csdb;host=67.228.167.204;port=":
> Access denied for user 'micjews_micjews'@'122.164.236.96' (using password: NO)

Before it is not connected now it is connecting but giving this error.Username passsword is correct.or can we can run this stats .pl from x10hosting itself.If so where should i copy this and how to run this.
Edit:
I am trying different things and i think i almost made it but i need all your help to finish this,

1.
I tried to copy the lib,scripts,stats.cfg and stats.pl to /home/micjews/public_html/scgi-bin and tried changing the dbhost to localhost and the server ip 67.228.161.43. but i get this error when i run from this url
http://jews.x10hosting.com/scgi-bin/perl/stats.pl

2.
NExt i tried to set my system ip to remote sql and tried to run stats.pl from my machine . I think here i got connected with the db. But this time i get a different error

[FATAL] Called from main(174)->PS::ConfigHandler(93)->PS::Config(44)->PS::DB(512) >>>
> Error executing DB query:
> SELECT `section`,`var`,`value` FROM ps_config WHERE conftype = 'main' ORDER BY idx,id
> Unknown column 'idx' in 'order clause'
> --end of error--

Please help.
 
Last edited:

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
You're trying to connect to the database at x10hosting from your computer?
If yes, you aren't allowed to do this, that's why it's giving you an error. We don't allow remote connections for MySQL. We used to allow this, but we had to disallow this because of abuse & security reasons.
 

poipoi8219

New Member
Messages
14
Reaction score
0
Points
0
You're trying to connect to the database at x10hosting from your computer?
If yes, you aren't allowed to do this, that's why it's giving you an error. We don't allow remote connections for MySQL. We used to allow this, but we had to disallow this because of abuse & security reasons.

Also i tried to run the stas.pl from the /home/micjews/public_html/scgi-bin l
http://jews.x10hosting.com/scgi-bin/perl/stats.pl
but i get this error
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@jews.x10hosting.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.



Is there any other way i can make this all set.
 

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
Check & test the permissions for the Perl file, and the folders that contain it.
Check the "Error Log" again.
 

poipoi8219

New Member
Messages
14
Reaction score
0
Points
0
Hi, I gave full permission see the attached screen .But still the same error .This is what there in the error log

[Sun Apr 13 01:50:39 2008] [error] [client 122.164.236.96] File does not exist: /home/micjews/public_html/500.shtml
[Sun Apr 13 01:48:51 2008] [error] [client 122.164.236.96] File does not exist: /home/micjews/public_html/500.shtml, referer: http://forums.x10hosting.com/free-hosting/59887-pschostats-installation-help-cs-2.html
[Sun Apr 13 00:51:34 2008] [error] [client 190.17.250.29] File does not exist: /home/micjews/public_html/favicon.ico
[Sun Apr 13 00:51:34 2008] [error] [client 190.17.250.29] File does not exist: /home/micjews/public_html/500.shtml, referer: http://forums.x10hosting.com/free-hosting/59887-pschostats-installation-help-cs-2.html
[Sun Apr 13 00:46:30 2008] [error] [client 122.164.236.96] File does not exist: /home/micjews/public_html/500.shtml, referer: http://forums.x10hosting.com/newreply.php?do=newreply&p=346658
[Sat Apr 12 23:37:08 2008] [error] [client 67.195.51.220] File does not exist: /home/micjews/public_html/500.shtml
[Sat Apr 12 23:15:06 2008] [error] [client 122.164.236.96] File does not exist: /home/micjews/public_html/500.shtml
[Sat Apr 12 22:50:30 2008] [error] [client 122.164.236.96] File does not exist: /home/micjews/public_html/500.shtml, referer: http://jews.x10hosting.com/scgi-bin/perl/
[Sat Apr 12 22:50:02 2008] [error] [client 122.164.236.96] File does not exist: /home/micjews/public_html/500.shtml, referer: http://jews.x10hosting.com/scgi-bin/perl/
[Sat Apr 12 22:49:02 2008] [error] [client 122.164.236.96] File does not exist: /home/micjews/public_html/500.shtml, referer: http://jews.x10hosting.com/scgi-bin/perl/
[Sat Apr 12 22:48:17 2008] [error] [client 122.164.236.96] File does not exist: /home/micjews/public_html/500.shtml, referer: http://jews.x10hosting.com/scgi-bin/
[Sat Apr 12 22:45:05 2008] [error] [client 122.164.236.96] File does not exist: /home/micjews/public_html/500.shtml, referer: http://jews.x10hosting.com/scgi-bin/
[Sat Apr 12 22:39:40 2008] [error] [client 84.90.114.144] File does not exist: /home/micjews/public_html/favicon.ico
[Sat Apr 12 22:39:37 2008] [error] [client 84.90.114.144] File does not exist: /home/micjews/public_html/favicon.ico
 

Attachments

  • per.JPG
    per.JPG
    179.2 KB · Views: 30

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
CGI\Perl files must go in the cgi-bin directory. Not scgi-bin.

-Corey
 

poipoi8219

New Member
Messages
14
Reaction score
0
Points
0
Hi, I moved it into perl folder to cgi and gave full permission but it says i dont have access.


Forbidden

You don't have permission to access /cgi-bin/perl/ on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
You had permission errors.

I changed the file permissions to 755.

You now have a database connection error, check your settings =P

-Corey
 

poipoi8219

New Member
Messages
14
Reaction score
0
Points
0
Hi, but still i get the same error.I attached few screens plz tell me if there is any mistake done.This is what is there in error log

[Wed Apr 16 00:43:40 2008] [error] [client 122.164.224.163] File does not exist: /home/micjews/public_html/403.shtml
[Wed Apr 16 00:43:40 2008] [error] [client 122.164.224.163] attempt to invoke directory as script: /home/micjews/public_html/cgi-bin/perl/
[Wed Apr 16 00:43:37 2008] [error] [client 122.164.224.163] File does not exist: /home/micjews/public_html/403.shtml
[Wed Apr 16 00:43:37 2008] [error] [client 122.164.224.163] attempt to invoke directory as script: /home/micjews/public_html/cgi-bin/perl/
[Wed Apr 16 00:35:13 2008] [error] [client 122.164.224.163] File does not exist: /home/micjews/public_html/403.shtml
[Wed Apr 16 00:35:13 2008] [error] [client 122.164.224.163] attempt to invoke directory as script: /home/micjews/public_html/cgi-bin/perl/
[Wed Apr 16 00:35:05 2008] [error] [client 122.164.224.163] File does not exist: /home/micjews/public_html/403.shtml
[Wed Apr 16 00:35:05 2008] [error] [client 122.164.224.163] attempt to invoke directory as script: /home/micjews/public_html/cgi-bin/
[Wed Apr 16 00:31:41 2008] [error] [client 122.164.224.163] File does not exist: /home/micjews/public_html/500.shtml
[Wed Apr 16 00:31:33 2008] [error] [client 122.164.224.163] File does not exist: /home/micjews/public_html/403.shtml
[Wed Apr 16 00:31:33 2008] [error] [client 122.164.224.163] attempt to invoke directory as script: /home/micjews/public_html/cgi-bin/perl/
[Wed Apr 16 00:29:12 2008] [error] [client 122.164.224.163] File does not exist: /home/micjews/public_html/500.shtml
[Wed Apr 16 00:29:02 2008] [error] [client 122.164.224.163] File does not exist: /home/micjews/public_html/403.shtml
[Wed Apr 16 00:29:02 2008] [error] [client 122.164.224.163] attempt to invoke directory as script: /home/micjews/public_html/cgi-bin/perl/

In the stats.cfg i tried giving both localhost and 67.228.167.204 but i get the same error


Thanks Corey for your support.
 
Last edited by a moderator:

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Try taking the files out of the perl dir and put them directly into the cgi-bin directory.

I edited your post and removed the screen shots as they contained password information.

-Corey
 

poipoi8219

New Member
Messages
14
Reaction score
0
Points
0
Tried but still same error.Please refer the attached screen.
 

Attachments

  • apr17.JPG
    apr17.JPG
    85.8 KB · Views: 35
Status
Not open for further replies.
Top