• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

[FIX] Installed but not functioning

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
9 posts • Page 1 of 1

Postby jeff » Mon Feb 13, 2006 12:52 am

I installed today following instructions. First I got a fatal error but then made correction to phpfreechat.class.php specified in another Forum topic. Now I get "Done, but with errors on page". I cannot do anything and all of the graphics are broken links. I am not prompted to enter a nickname, and I cannot post as guest--in fact, I can't type anything.

I am an amateur webmaster, but have installed a few Perl scripts before. I set the permission on all folders & files to 755, except data/public and data/private which I set to 777. My server is Linux and I have FTP access only. My computer is Windows XP with IE 6.

The link to my chat is http://www.yankeeranger.org/cgi-bin/php ... /index.php
jeff
New member
 
Posts: 8
Joined: Mon Feb 13, 2006 12:42 am
Top

Postby guoxianghao » Mon Feb 13, 2006 2:03 am

I visited your chat, yes I can't type in message.
It was strange that all the smileys are not displayed. Please check to make sure you had placed the smaileys in the right path.
guoxianghao
New member
 
Posts: 9
Joined: Sun Feb 12, 2006 7:06 pm
Location: China
Top

Postby phpfreechat » Mon Feb 13, 2006 9:27 am

It seems you have a CGI php installation.
On default 0.6, there is a bug but your said you changed the file refering to this topic (http://www.phpfreechat.net/forum/viewtopic.php?id=6) so it was just a part of the problem.

Maybe when I look to your HTML source code, I see something strange :
it referes to :
http://www.yankeeranger.org/cgi-bin/php ... s/xajax.js
http://www.yankeeranger.org/cgi-bin/php ... ipt/md5.js
http://www.yankeeranger.org/cgi-bin/php ... /cookie.js

Smileys are refere by :
http://www.yankeeranger.org/cgi-bin/php ... ainbow.gif

BUT all these files doesn't exists.
I suspect your have a URL Rewriting rule in your apache configuration ? Where did you upload all the files ? Could the server access to it ?

To help debugging, could you post the result of this litte script ?
Code: Select all
<?php  echo "<pre>"; print_r($_SERVER); echo "</pre>"; ?>
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby jeff » Mon Feb 13, 2006 10:38 pm

I uploaded all files to cgi-bin. The strange source code may be from an error during my FTP upload. I checked data/public on my server and it has ie7, images, javascript, and xajax_js folders even though the data/public on my harddrive is empty! Should I delete and re-upload?

Below is the result of your script:

Array
(
[ASPSERVER] => aspns.ahp.ftl.affinity.com
[DOCUMENT_ROOT] => /nfs/cust/1/07/52/625701/web
[HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
[HTTP_ACCEPT_ENCODING] => gzip, deflate
[HTTP_ACCEPT_LANGUAGE] => en-us
[HTTP_CONNECTION] => Keep-Alive
[HTTP_HOST] => www.yankeeranger.org
[HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
[ICSPATH] => /usr/local/affinity/etc/lib/mivavm/icsdata
[MvCONFIG_COMMERCE_AUTHNET] => /usr/local/affinity/etc/lib/mivavm/authnet.so
[MvCONFIG_COMMERCE_AuthorizeNet] => /usr/local/affinity/etc/lib/mivavm/authnet.so
[MvCONFIG_COMMERCE_CYBERCASH] => /usr/local/affinity/etc/lib/mivavm/cybercash.so
[MvCONFIG_COMMERCE_GlobalCommerce] => /usr/local/affinity/etc/lib/mivavm/globcomm.so
[MvCONFIG_COMMERCE_ICS2] => /usr/local/affinity/etc/lib/mivavm/ics2.so
[MvCONFIG_COMMERCE_LINKPOINT] => /usr/local/affinity/etc/lib/mivavm/linkpoint.so
[MvCONFIG_COMMERCE_Paradata] => /usr/local/affinity/etc/lib/mivavm/paradata.so
[MvCONFIG_COMMERCE_PNTransact] => /usr/local/affinity/etc/lib/mivavm/pnt.so
[MvCONFIG_DIR_BUILTIN] => /usr/local/affinity/etc/lib/mivavm/builtin
[MvCONFIG_DIR_CA] => /usr/local/affinity/etc/lib/mivavm/certs
[MvCONFIG_DIR_CRYPTO] => /lib/libcrypto.so.2
[MvCONFIG_DIR_OPENSSL] => /lib/libssl.so.2
[MvCONFIG_FLAGS_SECURITY] => 5
[MvCONFIG_TIMEOUT_GLOBAL] => 600
[PATH] => /usr/bin:/bin:/usr/local/bin
[REDIRECT_ASPSERVER] => aspns.ahp.ftl.affinity.com
[REDIRECT_DOCUMENT_ROOT] => /nfs/cust/1/07/52/625701/web
[REDIRECT_ICSPATH] => /usr/local/affinity/etc/lib/mivavm/icsdata
[REDIRECT_MvCONFIG_COMMERCE_AUTHNET] => /usr/local/affinity/etc/lib/mivavm/authnet.so
[REDIRECT_MvCONFIG_COMMERCE_AuthorizeNet] => /usr/local/affinity/etc/lib/mivavm/authnet.so
[REDIRECT_MvCONFIG_COMMERCE_CYBERCASH] => /usr/local/affinity/etc/lib/mivavm/cybercash.so
[REDIRECT_MvCONFIG_COMMERCE_GlobalCommerce] => /usr/local/affinity/etc/lib/mivavm/globcomm.so
[REDIRECT_MvCONFIG_COMMERCE_ICS2] => /usr/local/affinity/etc/lib/mivavm/ics2.so
[REDIRECT_MvCONFIG_COMMERCE_LINKPOINT] => /usr/local/affinity/etc/lib/mivavm/linkpoint.so
[REDIRECT_MvCONFIG_COMMERCE_Paradata] => /usr/local/affinity/etc/lib/mivavm/paradata.so
[REDIRECT_MvCONFIG_COMMERCE_PNTransact] => /usr/local/affinity/etc/lib/mivavm/pnt.so
[REDIRECT_MvCONFIG_DIR_BUILTIN] => /usr/local/affinity/etc/lib/mivavm/builtin
[REDIRECT_MvCONFIG_DIR_CA] => /usr/local/affinity/etc/lib/mivavm/certs
[REDIRECT_MvCONFIG_DIR_CRYPTO] => /lib/libcrypto.so.2
[REDIRECT_MvCONFIG_DIR_OPENSSL] => /lib/libssl.so.2
[REDIRECT_MvCONFIG_FLAGS_SECURITY] => 5
[REDIRECT_MvCONFIG_TIMEOUT_GLOBAL] => 600
[REDIRECT_STATUS] => 200
[REDIRECT_URL] => /cgi-bin/phpfreechat/chattest.php
[REMOTE_ADDR] => 4.154.231.36
[REMOTE_PORT] => 3231
[SCRIPT_FILENAME] => /usr/local/apache/cgi-bin/php.cgi
[SERVER_ADDR] => 172.31.4.101
[SERVER_ADMIN] => webmaster@yankeeranger.org
[SERVER_NAME] => www.yankeeranger.org
[SERVER_PORT] => 80
[SERVER_SIGNATURE] =>
[SERVER_SOFTWARE] => Apache
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[REQUEST_URI] => /cgi-bin/phpfreechat/chattest.php
[SCRIPT_NAME] => /bin/php.cgi
[PATH_INFO] => /cgi-bin/phpfreechat/chattest.php
[PATH_TRANSLATED] => /nfs/cust/1/07/52/625701/cgi-bin/phpfreechat/chattest.php
[REMOTE_HOST] => 4.154.231.36
[CSF_CLUSTERNAME] => web
[MvCONFIG_DIR_MIVA] => /nfs/cust/1/07/52/625701/web
[MvCONFIG_DIR_DATA] => /nfs/cust/1/07/52/625701/web/htsdata
[PHP_SELF] => /cgi-bin/phpfreechat/chattest.php
[argv] => Array
(
)

[argc] => 0
)
jeff
New member
 
Posts: 8
Joined: Mon Feb 13, 2006 12:42 am
Top

Postby phpfreechat » Mon Feb 13, 2006 11:11 pm

I don't see any url rewriting on your server configuration.
But I don't understand why the public pfc directory is not browsable ? : http://www.yankeeranger.org/cgi-bin/php ... ta/public/
"The requested URL /cgi-bin/phpfreechat/data/public/ was not found on this server."

What does it means ? is it a CGI specificity ?(I'm not a CGI expert so I'm not sure what I should expect)
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby jeff » Fri Feb 17, 2006 11:30 pm

Thank you for looking at that. I think I will try to upload again. Something seemed fishy with the first upload. I will post after I do that to report success or failure!
jeff
New member
 
Posts: 8
Joined: Mon Feb 13, 2006 12:42 am
Top

Postby phpfreechat » Fri Feb 17, 2006 11:40 pm

Try the auto-extractible installer, it is safer because you are sure the archive is not corrupted.
(When uploading multiple files, it's possible one file is badly uploaded ... so it can make troubles.)
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby Djamoer » Sat Feb 18, 2006 7:33 am

Do you have to put it on cgi-bin folder? There will always be a problem when using cgi-bin. It's just from my experience, because the way most server handle cgi-bin folder is different and it sometimes causing incomapitbility.

Just my two cents. Hope it does solve your problem.
Djamoer
Member
 
Posts: 29
Joined: Sun Feb 12, 2006 12:06 pm
Top

Postby jeff » Sat Feb 25, 2006 3:17 am

Good news. I deleted it from the cgi-bin, then FTP'd to the web folder and it works now. Thank you very much for your help!
jeff
New member
 
Posts: 8
Joined: Mon Feb 13, 2006 12:42 am
Top


Post a reply
9 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 23 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
cron
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub