Author Topic: Change folder name webim  (Read 9886 times)

0 Members and 1 Guest are viewing this topic.

mohsen1

  • Jr. Member
  • **
  • Posts: 1
Change folder name webim
« 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

Inspirer

  • Mibew Project founder
  • Native
  • *****
  • Posts: 262
    • Mibew Messenger
Re: Change folder name webim
« Reply #1 on: March 14, 2011, 07:54:56 PM »
The solution is much easier:

Edit libs/config.php:

$webimroot = "/chat";

Janelyn

  • Jr. Member
  • **
  • Posts: 4
Re: Change folder name webim
« Reply #2 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 :)