• 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

version beta5 (width parmeter is broken)

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

Post a reply
20 posts • Page 1 of 2 • 1, 2

Postby d'Artagnan » Tue Sep 05, 2006 12:14 pm

Hi kerphi

I have a new version of phpfreechat-beta5 today on my server copied but my site it's damaged.
You can see hier http://www.josava.ch/brbljaonica.php
Why?

Second question, how is possible to change language file because I like to change in croatian?

Thanks
d'Artagnan
d'Artagnan
Member
 
Posts: 22
Joined: Tue Aug 15, 2006 10:02 pm
Top

Postby phpfreechat » Tue Sep 05, 2006 2:15 pm

What is damaged ?
it works well for me ...

If you want serbo/croate translation, add :
$params["language"] = "sr_CS" ;
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby d'Artagnan » Wed Sep 06, 2006 6:12 am

Ofcourse that work but I think "width=1000px"!!! it's too long and I like "width=500 or 400px".

I will to change in croatian not in serbo-croatian language because it's different language. You will see if you check the file. ;-)

How it's possible to edit/delete user, if I will to edit/delete any user then I have error on my site, and it's not possible to work.

I loged in yesterday in forum and it's not automatic loged out!!! Why?

Thanks
d'Artagnan
d'Artagnan
Member
 
Posts: 22
Joined: Tue Aug 15, 2006 10:02 pm
Top

Postby phpfreechat » Wed Sep 06, 2006 7:43 am

did you add :
$params["width"] = "500px";
to your parameter list ?

and did you run /rehash to clear the cache after doing the change ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby phpfreechat » Wed Sep 06, 2006 7:54 am

it it doesn't works, you could try to apply this little patch :
Code: Select all
Modified: trunk/src/phpfreechat.class.php
===================================================================
--- trunk/src/phpfreechat.class.php     2006-09-05 19:24:47 UTC (rev 735)
+++ trunk/src/phpfreechat.class.php     2006-09-06 06:53:04 UTC (rev 736)
@@ -178,7 +178,7 @@
    $u =& pfcUserConfig::Instance();


-    $output = "<div id="pfc_container"".($c->width != "" ? "style="width:".$c->width.""": "").">";
+    $output = "<div id="pfc_container"".($c->width != "" ? " style="width:".$c->width.""": "").">";

    // Please do not remove these lines,
    // or keep a backling to http://www.phpfreechat on your partner page
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby d'Artagnan » Wed Sep 06, 2006 9:05 am

Thanks for your help.

It's true that I can all style parameter self write and configure?

Second question, for the login I mean your forum phpfreechat when I login in your forum then after any time(for example 1hour) inactivity it's not automatic loget out!!!?

I have yesterday login and today it's my name not loged out.

Thanks
d'Artagnan
Last edited by d'Artagnan on Wed Sep 06, 2006 9:52 am, edited 1 time in total.
d'Artagnan
Member
 
Posts: 22
Joined: Tue Aug 15, 2006 10:02 pm
Top

Postby phpfreechat » Wed Sep 06, 2006 10:15 am

Maybe a cookies problem.
Check your cookies are enable for this site on your browser.

Maybe try to clear your browser cache/cookies, it could help.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby d'Artagnan » Wed Sep 06, 2006 11:23 am

It's the same with "width" parameter I can't change pixel for width.

I have $params["width"] = "400px"; but it's the same width as before!!!
d'Artagnan
Member
 
Posts: 22
Joined: Tue Aug 15, 2006 10:02 pm
Top

Postby phpfreechat » Wed Sep 06, 2006 1:54 pm

you didn't read my message.
I said to run /rehash in order to clear the cache.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby d'Artagnan » Thu Sep 07, 2006 2:57 pm

Hi kerphi

When I like cache clean with the /rehash command then I have message "You are not allowed to run '%s' command" but I am admin!!!
with the table it's now ok, because I changed table width from my site not table from your chat, but I have problem with user delete.
For a test I have any user with admin controll but now I can't delete it. How I can delete all user or how it's the name from a user file?

Thanks
d'Artagnan
Last edited by d'Artagnan on Thu Sep 07, 2006 3:08 pm, edited 1 time in total.
d'Artagnan
Member
 
Posts: 22
Joined: Tue Aug 15, 2006 10:02 pm
Top

Postby phpfreechat » Thu Sep 07, 2006 6:27 pm

To be an admin:

/nick admin
/identify

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

Postby d'Artagnan » Thu Sep 07, 2006 9:24 pm

1.
I have problem with the site can you please locking? http://www.josava.ch/brbljaonica.php

I have put it the /rehash command and now dont work my site!!!

2.
Why I can't delete a user? I have a user with the name d'Artagnan(it's wrong, my bug) and now I can't delete or edit it. After push the "Delete"-Button I have message "User d\\\'Artagnan deleted." but realy it's not deleted. Why? It's maybe with backslash "" problem?

If you want locking here it's the link
http://www.josava.ch/chat/admin/user.php

Thanks
d'Artagnan
Last edited by d'Artagnan on Thu Sep 07, 2006 9:44 pm, edited 1 time in total.
d'Artagnan
Member
 
Posts: 22
Joined: Tue Aug 15, 2006 10:02 pm
Top

Postby phpfreechat » Thu Sep 07, 2006 11:06 pm

"refresh_delay mora biti jedan pozitivan broj"
=> you must change this parameter , it must be a positive number.

Moreover, the admin section is useless, don't try to create or delete a user, it's really useless for now.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby d'Artagnan » Tue Sep 12, 2006 8:38 pm

Can you tell me who is "www-data" for a user? For all files just I have access right but for "data"-directory have www-data access. It's this your access name or it's a wrong chat parameter?
Because I can't delete or change any files "access forbiden"!!!

Thanks
Last edited by d'Artagnan on Tue Sep 12, 2006 8:41 pm, edited 1 time in total.
d'Artagnan
Member
 
Posts: 22
Joined: Tue Aug 15, 2006 10:02 pm
Top

Postby phpfreechat » Tue Sep 12, 2006 10:45 pm

"www-data" is the default apache user (webserver user).
it seams your ftp user doesn't have rights on the webservers files ... your server is badly configured.
A well configured server should use same user for ftp and webserver ... it's not the case on your server, I don't know what to do for you.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Next

Post a reply
20 posts • Page 1 of 2 • 1, 2

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 27 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