| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
Aikon Newbie


Offline Joined: Jul 25, 2004 Posts: 31 Location: România
|
Posted: Wed Nov 24, 2004 10:44 am Post subject: News article header |
|
The time in header of any news article it doesn't showing right in my language [romanian].
The Article Title is looking right but the "Posted by XXXX on date @ timezone" is not UTF-8 encoded. ["Posted on" is ok]
Somehow the variable $time from my theme [/themes/my_theme/theme.php] is not UTF-8 encoded).
I tried with another theme (CPGNuke) and got the same problem.
What file should I edit?
Aikon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Unix/Apache 1.3.31/MySQL 4.0.22/PHP 4.3.9./CPG Nuke82b
|
|
| Back to top |
|
 |
Aikon Newbie


Offline Joined: Jul 25, 2004 Posts: 31 Location: România
|
Posted: Mon Nov 29, 2004 4:56 pm Post subject: Re: News article header |
|
Somebody????
Aikon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Unix/Apache 1.3.31/MySQL 4.0.22/PHP 4.3.9./CPG Nuke82b
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Mon Nov 29, 2004 5:26 pm Post subject: Re: News article header |
|
We do not support phpnuke sites, which is what shows as your WWW.
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
Aikon Newbie


Offline Joined: Jul 25, 2004 Posts: 31 Location: România
|
Posted: Mon Nov 29, 2004 5:37 pm Post subject: Re: News article header |
|
| Quote:: |
| We do not support phpnuke sites |
I know that. You and cpgnuke team said numerous time.
It's not about that site [from my personal profile].
It's about this site----> www.energ.7x.ro
Aikon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Unix/Apache 1.3.31/MySQL 4.0.22/PHP 4.3.9./CPG Nuke82b
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Mon Nov 29, 2004 5:40 pm Post subject: Re: News article header |
|
okay, lets take article 2 - what should it look like?
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
Aikon Newbie


Offline Joined: Jul 25, 2004 Posts: 31 Location: România
|
Posted: Mon Nov 29, 2004 5:49 pm Post subject: Re: News article header |
|
That was a quick reply!
Instead of
| Quote:: |
| Publicat de Energ la SîmbÃtÃ, 27 Noiembrie 2004 (05:02:25) EST (4 citiri) |
should look like this
| Quote:: |
| Publicat de Energ la Sâmbătă, 27 Noiembrie 2004 (05:02:25) EST (4 citiri) |
Or instead ----þ------ must be------ţ----- and so on.
Aikon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Unix/Apache 1.3.31/MySQL 4.0.22/PHP 4.3.9./CPG Nuke82b
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Mon Nov 29, 2004 5:52 pm Post subject: Re: News article header |
|
does it appear okay with theme cpgnuke?
if okay in cpgnuke theme, problem is your theme - if not, we look further.
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
Aikon Newbie


Offline Joined: Jul 25, 2004 Posts: 31 Location: România
|
Posted: Mon Nov 29, 2004 5:57 pm Post subject: Re: News article header |
|
Check my first post.
I 'd remember something just right now. When I posted [accepted these news, from first page] multilingual feature wasn't activated.
Is this relevant?
This is the only place [module, block, addon, etc.] in site where occurs [where the name of the day isn't showing right].
Aikon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Unix/Apache 1.3.31/MySQL 4.0.22/PHP 4.3.9./CPG Nuke82b
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Mon Nov 29, 2004 6:00 pm Post subject: Re: News article header |
|
oops, stupid me - look in mainfile.php, about line 826, try changing
return utf8_encode($datetime);
to
return $datetime;
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
Aikon Newbie


Offline Joined: Jul 25, 2004 Posts: 31 Location: România
|
Posted: Mon Nov 29, 2004 6:05 pm Post subject: Re: News article header |
|
Now look what I get----->http://www.energ.7x.ro
Aikon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Unix/Apache 1.3.31/MySQL 4.0.22/PHP 4.3.9./CPG Nuke82b
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Mon Nov 29, 2004 6:18 pm Post subject: Re: News article header |
|
okay, good, so the encoding is working - restore mainfile.
I'm not sure why it's not quite correct, except that maybe your database is not handling it when saved - you don't have any server specs, like MySQL version.
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
Aikon Newbie


Offline Joined: Jul 25, 2004 Posts: 31 Location: România
|
Posted: Mon Nov 29, 2004 6:24 pm Post subject: Re: News article header |
|
MySQL 4.0.22, Apache 1.3.31 (running on Unix), PHP version 4.3.9.
Aikon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Unix/Apache 1.3.31/MySQL 4.0.22/PHP 4.3.9./CPG Nuke82b
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Mon Nov 29, 2004 6:27 pm Post subject: Re: News article header |
|
okay, how about checking/editing the raw entry in the database?
never mind, dumb idea.
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Last edited by Phoenix on Mon Nov 29, 2004 6:31 pm; edited 1 time in total |
|
| Back to top |
|
 |
Aikon Newbie


Offline Joined: Jul 25, 2004 Posts: 31 Location: România
|
Posted: Mon Nov 29, 2004 6:29 pm Post subject: Re: News article header |
|
This is what I'm doing right now.
Aikon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Unix/Apache 1.3.31/MySQL 4.0.22/PHP 4.3.9./CPG Nuke82b
|
|
| Back to top |
|
 |
Aikon Newbie


Offline Joined: Jul 25, 2004 Posts: 31 Location: România
|
Posted: Mon Nov 29, 2004 6:58 pm Post subject: Re: News article header |
|
$time variabile is saved in database as varchar - a string that is unix timestamp for date, isn't it?
Aikon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Unix/Apache 1.3.31/MySQL 4.0.22/PHP 4.3.9./CPG Nuke82b
|
|
| Back to top |
|
 |
|
|