• 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

Problem with frames

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

Post a reply
15 posts • Page 1 of 1

Postby gibs94 » Tue Mar 14, 2006 5:43 pm

Hello,

I've installed the chat with no problem in a directory called www/chat/ and access the page called index.php in this directory.

Then i've written a page called index.html with 3 frames. One of this frames (the main frame) opens the chat script index.php

Most users don't have any problem with accessing the chat in the frame layout, but some Mac users (with Safari) can't open the frame index.php, sometimes this page remains empty (unloaded) and some other times it loads but they can't see the messages container....

Is there a problem with using frames and Safari ?

Thanx
gibs94
New member
 
Posts: 2
Joined: Tue Mar 14, 2006 4:54 pm
Top

Postby phpfreechat » Tue Mar 14, 2006 7:51 pm

I don't think this is a phpfreechat related problem.
I think this is a Safari behaviour ... maybe ask the safari developers ?

However I don't encourage use of frames. Frames are the "old web" fashion. And frames elements are not valid for new XHTML standards.

regards,
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby gibs94 » Wed Mar 15, 2006 2:24 pm

Thanks for your answer.

I understand what you think about the "old web" layouts using frames. However, the reason why I'm using frames is that I need a page to be reloaded (using javascript) in the main layout, so users may chat while the other content is automatically reloaded (this other content is not related to the chat, but still necessary)...

I've posted the same question on a Safari forum, but they only replied that the problem was coming from the chat ;)

In this case, do you see a method to have this working ?

Best regards.
gibs94
New member
 
Posts: 2
Joined: Tue Mar 14, 2006 4:54 pm
Top

Postby Rocojo » Tue May 02, 2006 8:02 am

I've the same problems in my frames....

I am a webdeveloper who started a new project: a european discussion-center ( i know there are a lot).

I want to have the possebility to let my visitors chat with eachother.

This script phpfreechat is perfect for this.

I can make my own style, so it will fit.

But as i see now.... it's not working in my iframe.....

i got a runtime error from ie6

As well as my friends who are testing it.... even the demo... but not the demo on your site.... so what's the difference???


specs:
Microsoft SBS 2003 web
Apache2
php5
MySQL5

without iframe it's working perfect, but i need the possebility to work in iframes.

please help .
Rocojo
New member
 
Posts: 9
Joined: Tue May 02, 2006 7:42 am
Top

Postby phpfreechat » Tue May 02, 2006 8:36 am

Rocojo wrote:i got a runtime error from ie6

I need a more detailed report :
- pfc version
- php safe_mode value
- public url of your chat

On idea : a workaround is to open the chat in a popup window.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby Rocojo » Tue May 02, 2006 8:44 am

Ok here it is:

safe_mode = Off
version = 0.9.3

ok this is the link...... but it is under construction and the page is planned to be ready in the summer of 2006.

http://www.discussion-center.eu/index_noreg.php

chat:
http://80.56.185.151/chat/

only for now it's accesible.

I hope i gave enough info.
Rocojo
New member
 
Posts: 9
Joined: Tue May 02, 2006 7:42 am
Top

Postby phpfreechat » Tue May 02, 2006 9:14 am

could you try with the default theme ? (ex: demo1)
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby Rocojo » Tue May 02, 2006 9:23 am

Ok i did.


Now its the original situation after installing...
Rocojo
New member
 
Posts: 9
Joined: Tue May 02, 2006 7:42 am
Top

Postby phpfreechat » Tue May 02, 2006 9:40 am

Ok, it doesn't change anything.

Your html code is a bit crappy.
Maybe it's why there is this strange error.
I suggest you to clean your html code (make it valide).
Try to write your frame directly without this javascript :
Code: Select all
<script type='text/javascript'>

document.write('<div><img src="./Source/images/back.jpg" border="0" STYLE="position:absolute; left: 0px; top: 0px; width: '+document.body.clientWidth+'px; height: '+document.body.clientHeight+'px; z-index: -1;"></div>');
document.write('<div><IFRAME ID="DCMain" NAME="DCMain" frameborder=0 scrolling=no SRC="./Main/IndexII.php" allowtransparency="true" STYLE="position:absolute; left: 0px; top: 0px; width: '+document.body.clientWidth+'px; height: '+document.body.clientHeight+'px; z-index: 1;"></IFRAME></div>');

</script>

Another idea : try to isolate the problem by removing and cleaning incrementaly your web page. (you can do that on a copy)
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby Rocojo » Tue May 02, 2006 9:57 am

Ok i will,

Thanx for the help...

When i got results i let you know
Rocojo
New member
 
Posts: 9
Joined: Tue May 02, 2006 7:42 am
Top

Postby Rocojo » Tue May 02, 2006 2:41 pm

I made two the same pages:

http://www.discussion-center.eu/indexii.php

http://80.56.185.151/chat/indexii.php

on http://80.56.185.151/dcchat/ is the chatscript
Rocojo
New member
 
Posts: 9
Joined: Tue May 02, 2006 7:42 am
Top

Postby Rocojo » Tue May 02, 2006 2:42 pm

on the bottom you see a link to chat

the first link is not working the others do
Last edited by Rocojo on Tue May 02, 2006 2:44 pm, edited 1 time in total.
Rocojo
New member
 
Posts: 9
Joined: Tue May 02, 2006 7:42 am
Top

Postby Rocojo » Tue May 02, 2006 6:14 pm

the first one needs to work by the way!!

my webpage is NOT located at
http://80.56.185.151/chat/indexii.php
Rocojo
New member
 
Posts: 9
Joined: Tue May 02, 2006 7:42 am
Top

Postby Rocojo » Tue May 02, 2006 6:51 pm

Ok for now i changed the location of my chatscript.

Its now located on the same server as the domainname..... but please check the script for this.... i think more people are going to have problems with this
Rocojo
New member
 
Posts: 9
Joined: Tue May 02, 2006 7:42 am
Top

Postby Rocojo » Tue May 02, 2006 7:20 pm

Ok my friends still cannot chat..... when typing, the ie6 is crashing.... so i desided to search for other scripts to test.

Thank you for the help.
Rocojo
New member
 
Posts: 9
Joined: Tue May 02, 2006 7:42 am
Top


Post a reply
15 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 5 guests

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