Help Center Live Community

Support => Installation Help & Software Support => Topic started by: cannibal on August 29, 2007, 01:36:58 PM



Title: icons (online/offline) problem
Post by: cannibal on August 29, 2007, 01:36:58 PM
hello

I am having problem with icons

I can't see them in admin or other pages

I used the defeult one and I upload new one but non of them is working

  - CHMOD /config.php to 777
  - CHMOD /icons/ to 777
  - CHMOD /compile/ to 777
  - CHMOD /cache/ to 777



server php v 4.4.7
MySql last version

any idea ??


Title: Re: icons (online/offline) problem
Post by: HCL Admin on August 29, 2007, 02:38:34 PM
Are you getting the missing picture icon (with the red X in it) or is it just blank?


Title: Re: icons (online/offline) problem
Post by: AMateos on August 29, 2007, 02:49:36 PM
It should be solved chmod 777 the folder icons, if you continue having the error try to contact your hosting support.


Title: Re: icons (online/offline) problem
Post by: HCL Admin on August 29, 2007, 07:45:39 PM
Also, check the permissions of the files inside of the icons/ directory, if the are 400, 600 or something like that, your host may be blocking the use of site created files, this can be a royal pain in the butt.


Title: !!!!!
Post by: cannibal on August 29, 2007, 08:45:27 PM
It's my server and I have root access

yes it shows image box with red X and (click here for Live Help - Powered by Help Center Live) sentence

I CHMOD /icons/ to 777
and also images inside it

could you please give me the like that I can hyper to any image so it will open the chat window until we get this problem solved !!


Title: Re: icons (online/offline) problem
Post by: HCL Admin on August 29, 2007, 09:35:40 PM
Hmm, maybe you can PM a url to a page that should have the icon.  There really is no direct link, since the link must transport an ID that is generated in Java for each visitor.


Title: Re: icons (online/offline) problem
Post by: cannibal on August 29, 2007, 09:58:15 PM
link sent


Title: Re: icons (online/offline) problem
Post by: HCL Admin on August 29, 2007, 10:18:27 PM
Before you generate the link, try adding a department and operator for that department.  I'm not seeing errors in the code, and the text link is there.

Also, I'm working on a new version of the HCL Debugger to help try and track some of this down.  I should have it finished this evening local time and I'll get it posted here for you.


Title: Re: icons (online/offline) problem
Post by: HCL Admin on August 30, 2007, 02:33:55 AM
I've uploaded a new debugger to this post (http://www.helpcenterlive.com/smf/index.php/topic,71.0.html)  Please put in the root directory of your hcl site (same directory as config.php and version.php) and e-mail me the URL, it will let me see the environment in which HCL is running and help find the cause for the issues.


Title: Re: icons (online/offline) problem
Post by: cannibal on August 30, 2007, 03:16:22 AM
sent


Title: Re: icons (online/offline) problem
Post by: HCL Admin on August 30, 2007, 09:43:01 AM
Thanks, I'm going over the config right now, looks like everything is in order at first glance.  Still not seeing anything but then I've been up for about 36 hours, and may be missing it.  I'll keep working on it.


Title: Re: icons (online/offline) problem
Post by: HCL Admin on August 30, 2007, 09:51:09 AM
I hate to ask, but could you replace the debug.php with the one attached here.  I'm not seeing anything wrong, however when I try to trigger your icon.php file, I'm getting the broken image, so something is up here.  This new debug gives a lot more info about the system.


Title: Re: icons (online/offline) problem
Post by: cannibal on August 30, 2007, 11:34:37 AM

done

I sent it to you again



Title: Re: icons (online/offline) problem
Post by: HCL Admin on August 30, 2007, 01:59:10 PM
Ok, one last question, are you getting any errors in your apache error log or 404 errors in your apache access log?


Title: Re: icons (online/offline) problem
Post by: cannibal on August 30, 2007, 04:27:00 PM
hello

no errors

I checked it today and yesterday no errors



Title: Re: icons (online/offline) problem
Post by: HCL Admin on August 31, 2007, 06:39:45 AM
Very strange, I got some image not files not found, which should have produced some 404 errors at the very least.


Title: Re: icons (online/offline) problem
Post by: cannibal on August 31, 2007, 11:06:09 AM


Do you think the problem maybe from Mod_security in httpd.conf ??


Title: Re: icons (online/offline) problem
Post by: cannibal on September 01, 2007, 05:34:36 AM
I removed Mod_security and restarted httpd

but the same problem the icons are not appearing !!!!


Title: Re: icons (online/offline) problem
Post by: HCL Admin on September 01, 2007, 05:52:57 AM
The part that is throwing me is that errors are not being logged by Apache.  Or even 404 messages.  That makes it a lot harder to track down.  It's like the server is refusing to serve up the files, even though they are there and of the proper permissions.  Almost like the files have been deny'd.  Do you have any .htaccess files in the HCL site?


Title: Re: icons (online/offline) problem
Post by: cannibal on September 01, 2007, 04:34:52 PM
The part that is throwing me is that errors are not being logged by Apache.  Or even 404 messages.  That makes it a lot harder to track down.  It's like the server is refusing to serve up the files, even though they are there and of the proper permissions.  Almost like the files have been deny'd.  Do you have any .htaccess files in the HCL site?

no no .htaccess in HCL folder

now I ma forced to use the text code :(

I do like HCL script

Could you please tell me how can I modify the text formatting

I mean when its online it will show Live Support Online
and when offline it will appear like Live Support Offline


Title: Re: icons (online/offline) problem
Post by: HCL Admin on September 01, 2007, 05:41:38 PM
Hmm, that might be a nice change anyway, let me dig it out and find the spot to mod it, I'll release it either as a hotfix, or at least point out where it could be done.  I'm still scratching my head why you can't get icons to show tho. :(


Title: Re: icons (online/offline) problem
Post by: sjc_yutaka on September 01, 2007, 11:41:43 PM
Hello, I have just installed HCL so that I am new and not so familiar with sources.  I do not know what you have been discussing with this thread is the same issue I experienced with my php 5.2 system.

Please try to insert "ob_clean();" before header($icon['header']); in live/icons.php

I suppose the issue is something to do with "set-cookie".


Title: Re: icons (online/offline) problem
Post by: cannibal on September 02, 2007, 12:52:26 AM
Hello, I have just installed HCL so that I am new and not so familiar with sources.  I do not know what you have been discussing with this thread is the same issue I experienced with my php 5.2 system.

Please try to insert "ob_clean();" before header($icon['header']); in live/icons.php

I suppose the issue is something to do with "set-cookie".

I added it but still nothing new

:(


Title: Re: icons (online/offline) problem
Post by: ChrisR on September 02, 2007, 01:04:22 AM
okay i was looking in to this okay here is some things you could do

1) are the files with in the icons folder chmoded with 644 or 666
2) it could be the server dose not like that image type so try .gif or .png and so on.
3) try to do what sjc_yutaka said
4) make a .htaccess and put this in it "SecFilterEngine Off" (with out the 99 and 66 " ") and put the .htaccess in the icons folder


Title: Re: icons (online/offline) problem
Post by: cannibal on September 02, 2007, 08:17:04 AM


hello I did all what you said guys but still not working

I think I will switch to text mod

still waiting how to format the fonlt and colors


Title: Re: icons (online/offline) problem
Post by: cannibal on September 02, 2007, 09:15:56 AM
Hello

Finally

I done it but with another way

Here the steps

First I generated the TEXT Code

and in english.php file I modified

Code:
$lang['live_text_online'] = '<img border=0 src=http://www.domain.com/HCL/icons/online.gif>';
$lang['live_text_offline'] = '<img border=0 src=http://www.domain.com/HCL/icons/offline.gif>';


and it's working now with no problems :)

Please tell me if there is any security problem with this method

and can I now change the permissions of 777 folders to 755 ??


Title: Re: icons (online/offline) problem
Post by: HCL Admin on September 02, 2007, 09:56:11 AM
The folders have index.php files to help protect from hacks, and need to be 777.

Backup your new english.php file as an upgrade would overwrite it.  In 3.0 you'll be able to create a new language built off of the English version, that would not be overwritten during an upgrade, as 3.0 does the languages differently (they will be stored in the database and thus would not be overwritten during upgrades.)


Title: Re: icons (online/offline) problem
Post by: conmen80 on December 10, 2008, 06:14:11 AM
Added ob_clean();

it's work fine to me now.