I have downloaded version 1.3 but I can't find the phpfreechat-1.2-setup.php file , any advice? It seems I should download it separately but I don't find it.
I am sorry to miw them up. What I did is the following: I tried to setup 1.3 and I utterly failed. I downloaded the phpfreechat-1.2-setup.php and succeded to do the setting but I lauch the chat from the index.php I recieve lots of erro messages like " Strict Standards: Non-static method pfcGlobalConfig::Instance() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcphpfreechat.class.php on line 99
Strict Standards: Non-static method pfcUserConfig::Instance() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcphpfreechat.class.php on line 100
Strict Standards: Non-static method pfcI18N::SwitchOutputEncoding() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcphpfreechat.class.php on line 111
Strict Standards: Non-static method pfcI18N::SwitchOutputEncoding() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcphpfreechat.class.php on line 119
Chat loading ... Please wait
" and a box with a message chat loading ..... please wait, which remains forever. Can anybody give me an idea as what to do!
What you need to do its download the zip version of phpfreechat 1.3 , upload it to the server and then chmod the /data folder and subfolders to 777 and then just reload the chat. the error you have could be due of a bad installation..
re*s.t.a.r.s.*2! thank you for the reply. I reverted to v1.3 per your advise and I still get similar messages.
Strict Standards: Non-static method pfcGlobalConfig::Instance() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcphpfreechat.class.php on line 44
Strict Standards: Non-static method pfcI18N::Init() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcpfcglobalconfig.class.php on line 648
Strict Standards: Non-static method pfcI18N::GetAcceptedLanguage() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcpfci18n.class.php on line 59
Strict Standards: Non-static method pfcI18N::GetDefaultLanguage() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcpfci18n.class.php on line 60
Strict Standards: Non-static method pfcContainer::Instance() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcpfcglobalconfig.class.php on line 737
Strict Standards: Non-static method pfcUserConfig::Instance() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcphpfreechat.class.php on line 47
Strict Standards: Non-static method pfcGlobalConfig::Instance() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcpfcuserconfig.class.php on line 21
Strict Standards: Non-static method pfcGlobalConfig::Instance() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcpfcuserconfig.class.php on line 58
Strict Standards: Non-static method pfcGlobalConfig::Instance() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcpfcuserconfig.class.php on line 58
Strict Standards: Non-static method pfcGlobalConfig::Instance() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcpfcuserconfig.class.php on line 58
Strict Standards: Non-static method pfcGlobalConfig::Instance() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcpfcuserconfig.class.php on line 58
Strict Standards: Non-static method pfcGlobalConfig::Instance() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcpfcuserconfig.class.php on line 58 General Demos
Check md5
Documentation Overview
Quickstart
Parameters list
FAQ
Advanced configuration
Customize
Strict Standards: Non-static method pfcGlobalConfig::Instance() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcphpfreechat.class.php on line 99
Strict Standards: Non-static method pfcUserConfig::Instance() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcphpfreechat.class.php on line 100
Strict Standards: Non-static method pfcI18N::SwitchOutputEncoding() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcphpfreechat.class.php on line 111
Strict Standards: Non-static method pfcI18N::SwitchOutputEncoding() should not be called statically, assuming $this from incompatible context in C:Program FilesEasyPHP-5.3.3.1wwwchatphpfreechatsrcphpfreechat.class.php on line 119
Can you paste you Index.php code here between the code bbcode, also you are developing in a locahost environment, upload it to a real webserver... or switch to XAMPP environment to develop ........
Last edited by re*s.t.a.r.s.*2 on Fri Dec 24, 2010 4:12 pm, edited 1 time in total.
re*s.t.a.r.s.*2! here follows the content of my index.php, I am actually using easyphp which is equivalent to XAMPP in many cases. Thank you inadvance for your help: <?php
require_once dirname(__FILE__)."/src/phpfreechat.class.php"; $params = array(); $params["title"] = "Quick chat"; $params["nick"] = "guest".rand(1,1000); // setup the intitial nickname $params['firstisadmin'] = true; //$params["isadmin"] = true; // makes everybody admin: do not use it on production servers $params["serverid"] = md5(__FILE__); // calculate a unique id for this chat $params["debug"] = false; $chat = new phpFreeChat( $params );
<div class="content"> <?php $chat->printChat(); ?> <?php if (isset($params["isadmin"]) && $params["isadmin"]) { ?> <p style="color:red;font-weight:bold;">Warning: because of "isadmin" parameter, everybody is admin. Please modify this script before using it on production servers !</p> <?php } ?> </div>
Dear re*s.t.a.r.s.*2 Please note that I fixed the above problem by changing the error reporting value from STRICT to all in the php.ini file. Thank you any for your will to help and I wish you merry X-mass!