Mibew Messenger Community

General => Support => Topic started by: mohsen1 on March 10, 2011, 10:01:47 PM

Title: Change folder name webim
Post by: mohsen1 on March 10, 2011, 10:01:47 PM
Hello,

I want to change the folder name from webim to chat but i run into problems

Here is what i did i change the folder name to webim and used a find replace program to change every word 'webim' to 'chat' and its working except one page ;

http://www.mysite.com/chat/operator/getcode.php

i get this error message
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /mounted-storage/home34a/sub001/sc27697-JBBO/mysite.com/chat/operator/getcode.php on line 102

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home34a/sub001/sc27697-JBBO/mysite.com/chat/operator/getcode.php:102) in /mounted-storage/home34a/sub001/sc27697-JBBO/mysite.com/chat/libs/common.php on line 413

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home34a/sub001/sc27697-JBBO/mysite.com/chat/operator/getcode.php:102) in /mounted-storage/home34a/sub001/sc27697-JBBO/mysite.com/chat/libs/common.php on line 414

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home34a/sub001/sc27697-JBBO/mysite.com/chat/operator/getcode.php:102) in /mounted-storage/home34a/sub001/sc27697-JBBO/mysite.com/chat/libs/common.php on line 415

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home34a/sub001/sc27697-JBBO/mysite.com/chat/operator/getcode.php:102) in /mounted-storage/home34a/sub001/sc27697-JBBO/mysite.com/chat/libs/common.php on line 416

Please help
Title: Re: Change folder name webim
Post by: Inspirer on March 14, 2011, 07:54:56 PM
The solution is much easier:

Edit libs/config.php:

$webimroot = "/chat";
Title: Re: Change folder name webim
Post by: Janelyn on March 29, 2011, 12:14:09 PM
Hi,
When I tried changing the folder name as shown here, the offline/online button didn't display properly on my site, and when I click where the button should have been, the chat window that opened just displayed an error message, so I had to change the folder name back to webim to get it all to work properly again.

Just thought I'd mention this.
Jane :)