Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 05:16 pm EST

Geeklog Forums

installation problem


amnon

Anonymous
Hi , I get many problems while installing , please help in few issues:

1. I dont understant the public_html issue. I have on my server root an httpdocs folder , under it i installed the geekloog copy and now my index.php is under the public_html folder (www.zip..p.com/public_html/ ) , please explain me how it works.
I want my geeklog application to be on the main root.

2. the config.php drove me nuts , too many parameters that got me all mixed up.
does any one has a sample config.php doc i can use and update mine.

3. How do i set up a language (hebrew) and what does the config.php have to do with it?

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
1) think httpdocs = public_html - it's just another name for the same thing.


2) See where in config.php it says
Text Formatted Code
// ****************************************************************************
// * If you set up Geeklog for the first time, you shouldn't need to change   *
// * anything below this line. Come back here once the site is up and running.*
// ****************************************************************************

So, to get the site up and running, concentrate on the options above that remark. Specifically, the DB settings, $_CONF['path'], $_CONF['path_html'], and $_CONF['site_url'].


3) How do I change the language?
For starters:
Text Formatted Code
$_CONF['language']        = 'hebrew_utf-8';
$_CONF['default_charset'] = 'utf-8';


HTH

bye, Dirk
 Quote

nick

Anonymous
well i finally made it , I hope i didnt make any damage but it is working :banana:
I copied all public_html files to my main root and got it working.

in any case i set up the language and this is working fine , now a new problem comes up and I will be happy if you can assist.
I went to the boxes section and set the "whats new" to a label in hebrew.
check out the www.zippi.co.il

on the top left you will see the ??????

probably db transformation problem (dbms) , can it be fixed?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Hmm, I thought you would have to set the collation in the database to UTF-8 (something Geeklog currently doesn't do, although it probably should), but that doesn't seem to help. Try it anyway - there are a few people running Geeklog sites in Hebrew ...

bye, Dirk
 Quote

charset

Anonymous
that would be per connection configuration or one time db statment ?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Per connection, I think. See if this helps.

bye, Dirk
 Quote

nick

Anonymous
I think i still need your help :

This example shows how to configure mysqld server to use pure utf8 for server's character set and collation instead of default latin1. This will help to correctly store non-latin character data in db (cyrillic сharacters for example and russian language in particularly).

Go to the [mysqld] section in my.cnf and add two strings:

collation_server=utf8_unicode_ci
character_set_server=utf8

You can also add

skip-character-set-client-handshake

to enforce using of utf8 encoding in db.



what is the my.cnf ???
 Quote

nick

Anonymous
how do i change the connection collection in geeklog ?

what should i chnage in the source?

any one ?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
my.cnf is the MySQL configuration file. If you're on a shared host, you probably don't have access to it. In which case you'll have to change the collation in all the tables in your database. phpMyAdmin will let you do that, for example.

bye, Dirk
 Quote

thanks

Anonymous
well it finaly worked.
I exported the sql of the db , changed all tables charset to utf8 and now the geeklog supports hebrew.
one thing is still missing.

Hebrew is typed from right to left.
ho do i align the blocks and the text this way ?


thanks

Amnon
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
If you use the Hebrew language file, it should automatically switch to RTL display, at least with the default Professional theme.

It may not be perfect, though - we have a few outstanding patches for RTL support ...

bye, Dirk
 Quote

amnon

Anonymous
thanks again , but i got a little lost here.

before i go and start working on the css and dig into the php.

can you be more specific or recomand a template that supports right to left.

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
As I said, the Professional theme should support RTL out of the box. The "secret" being this line in header.html:
Text Formatted Code
<body dir="{direction}">

The {direction} is replaced with dir="rtl" automatically.

If you're using a different theme, you can simply add that there or hard-code it to dir="rtl".

bye, Dirk
 Quote

All times are EST. The time is now 05:16 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content