bug for phpwcms 1.3.3

If you have created additional (non official) documentation or tutorials or something like that please post this here
Post Reply
leotan
Posts: 11
Joined: Sat 16. Feb 2008, 09:06

bug for phpwcms 1.3.3

Post by leotan »

I am using firefox with utf-8 coding, the phpwcms 1.3.3 's fckeditor will show utf-8 signature in "edit artical" section

I fixed this with resave \include\inc_ext\fckeditor\editor\fckeditor.html with non utf-8 signature file

Anyway, phpwcms is a great work, I am moving to 1.3.5 with 2007-12-29 and translating the backend language to another chinese simple version, since I found none on the official site

when the translation done, I will upload a copy here!

thanks phpwcms group for sharing!
leotan
Posts: 11
Joined: Sat 16. Feb 2008, 09:06

Re: bug for phpwcms 1.3.3

Post by leotan »

1.3.5 seems fixed utf-8 signature problam, but unstable, i am going back to 1.3.3
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: bug for phpwcms 1.3.3

Post by update »

There has been an attempt by user sunny123 to translate the backend last year - see post: http://forum.phpwcms.org/viewtopic.php?t=15834
Unfortunately the link is gone (or hasn't been there at all?)
Perhaps you could try to contact sunny123 for joining in so no double work will be necessary ?
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
leotan
Posts: 11
Joined: Sat 16. Feb 2008, 09:06

Re: bug for phpwcms 1.3.3

Post by leotan »

thanks for your info, claus!

I already translated 1/4, and will keep going at next Monday!

It's not difficlut for me! I am php programmer!

By the way, I could take a look of phpwcms by doing this!
leotan
Posts: 11
Joined: Sat 16. Feb 2008, 09:06

Re: bug for phpwcms 1.3.3

Post by leotan »

another issue, I found in the package of 1.3.5 (2007-12-05 and 207-12-08), the "en" language file (which one I forget), the last line might not be correct!

might be as it is, might not, since this file works!
leotan
Posts: 11
Joined: Sat 16. Feb 2008, 09:06

Re: bug for phpwcms 1.3.3

Post by leotan »

anyone knows "$BL['be_ctype_textimage'] = 'text w/image';"?

what's w/image? = with?
leotan
Posts: 11
Joined: Sat 16. Feb 2008, 09:06

Re: bug for phpwcms 1.3.3

Post by leotan »

$BL['be_profile_account_err2'] = 'password to short (only {VAL} chars: at least 5 needed)';

should be

$BL['be_profile_account_err2'] = 'password too short (only {VAL} chars: at least 5 needed)';
leotan
Posts: 11
Joined: Sat 16. Feb 2008, 09:06

Re: bug for phpwcms 1.3.3

Post by leotan »

language file for chinese simple language!

translation complete 90% from "en" version based on phpwcms 1.3.5 2007-12-05

i will keep post, if there is any update!
Attachments
code.lang.inc.rar
put this into \include\inc_lang\
(1.04 KiB) Downloaded 204 times
zh.rar
put this into \include\inc_lang\backend\
(22.18 KiB) Downloaded 222 times
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: bug for phpwcms 1.3.3

Post by Jensensen »

Dear leotan,

thank you for your ambitious support!!!
For improvements [generally] you should contact OG: http://forum.phpwcms.org/memberlist.php ... rofile&u=2

and bugs can be announced

http://forum.phpwcms.org/viewforum.php?f=6
http://sourceforge.net/tracker/?group_i ... tid=607698
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
leotan
Posts: 11
Joined: Sat 16. Feb 2008, 09:06

Re: bug for phpwcms 1.3.3

Post by leotan »

it's ok!

I currently runing a php program and want to select a cms which suitable for it!

Anyway, time is tight for me! if I had more free time and study in phpwcms throughly, I might consider your suggestion!

Thanks
leotan
Posts: 11
Joined: Sat 16. Feb 2008, 09:06

Re: bug for phpwcms 1.3.3

Post by leotan »

1.3.5 2007-12-05

file \login.php

line 222
headerRedirect(PHPWCMS_URL."phpwcms.php?". session_name().'='.session_id());
will not available for login out of localhost, when set the localhost as server!

correct
headerRedirect("phpwcms.php?". session_name().'='.session_id());
leotan
Posts: 11
Joined: Sat 16. Feb 2008, 09:06

Re: bug for phpwcms 1.3.3

Post by leotan »

I use phpwcms as a backend only for small project (no article search, which is inconvenient for large project. I use xoops for large project)

anyway, when I tranfer (not install) the phpwcms from my pc to the service. the PHPWCMS_ROOT goes wrong, I fixed the as following. (only for your referrence)

file: comfig\phpwcms\conf.inc.php
line: around 15 and 22
edit:
$phpwcms['site'] = 'http://www.mini-info.cn/demo/';
$phpwcms['DOC_ROOT'] = substr(dirname(__FILE__), 0, -23);

file:include\inc_lib\default.inc.php
line: 59
edit:
define ("PHPWCMS_ROOT", $phpwcms['DOC_ROOT'].'/');

I add some cache function for aboth phpwcms and xoops. only the cache function need to edit more complex detail, so ignoring here.

indeed, phpwcms is perfect for small biz project, I love it!

:D
Last edited by leotan on Mon 17. Mar 2008, 02:11, edited 1 time in total.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: bug for phpwcms 1.3.3

Post by flip-flop »

Mhh, is this a solution for you?

conf.inc.php

Code: Select all

// site values
$phpwcms['site']              = 'http://'.$_SERVER['SERVER_NAME'].'/';

// paths
$phpwcms['DOC_ROOT']          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms['root']              = 'demo';
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
leotan
Posts: 11
Joined: Sat 16. Feb 2008, 09:06

Re: bug for phpwcms 1.3.3

Post by leotan »

hi filp-flop,

your code is work for file conf.inc.php

better than mine

thanks
Post Reply