Open Source Yii CMS - GXC CMS
#121
Posted 06 June 2012 - 06:42 AM
#123
Posted 08 June 2012 - 04:43 AM
I have some news:
1/ I have deployed a small application for learning English vocabulary - Mywordbook.com (http://mywordbook.com).
2/ It has been built based on the gxccms.
3/ I want to use this app as a place where I can create more social features (message, news feed,...) for the cms, apply some optimization techniques (both frontend and backend) to improve the cms speed, and mobile versions.
Currently I have optimized a little Frontend (Mod_defalte, mod_expires), limit the requests by merging css,js files (thanks to minscript extension) . Going to optimize html and css.
4/ Going to install apc cache, and apply some cache strategy for page render and word definition.
If you have any ideas/suggestions about this project, please contact me.
Have a nice day.
#124
Posted 14 June 2012 - 10:24 PM
but one think i use php 5.2 it have error when create post
syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM on Object.php line 604 in core/cms1.0/models
i tried fix by this
i change this return $class_name::buildLink($this); to return $class_name->buildLink($this);
and it work!!
is that a good way to fix?
im the new for yii and kind of oop
can any one suggests me
#125
Posted 14 June 2012 - 10:26 PM
#126
Posted 14 June 2012 - 11:02 PM
#127
Posted 16 June 2012 - 01:33 AM
when i login with email at backend i can not user permission it said i don't have permission
but if i login with username it work ok
#128
Posted 16 June 2012 - 01:19 PM
Congratulations for your open source GXC
After installing the core and the sample project, i have some problems
- in the frontend, I see the half of the page index
(see my screen 1

)
- in the backend, i logged (ok).
now i try to create an article; the page become white
(http://localhost:82/...te/type/article)
for infos,
- Apache/2.2.17 (Win32) PHP/5.2.17
- backend/frontend index.php, I defined the path define('CORE_FOLDER',dirname(dirname(dirname(__FILE__))).DIRECTORY_SEPARATOR.'core');
thanks you for your responses
Cyphos
France
#129
Posted 17 June 2012 - 09:17 AM
but the best way is like mr80 say should upgrade to php 5.3 but if you use on sharedhost i think nothing can do about that
now i install this on myvps and it work perfect hope this can help
#130
Posted 18 June 2012 - 11:18 AM
I changed of version PHP with Uwamp: now 5.3.5
and i see some errors
Quote
thanks you
#131
Posted 19 June 2012 - 06:39 AM
ah005, on 17 March 2012 - 08:12 AM, said:
when I finished successfully from installing gxc cms and I went to the backend/frontend it got the following error:
Strict Standards: Declaration of GxcUser::login() should be compatible with that of CWebUser::login() in C:\Program Files\EasyPHP\www\framework\gxc\core\cms1.0\components\user\GxcUser.php on line 167Error 500Declaration of GxcUser::login() should be compatible with that of CWebUser::login()
please help me.
thank you,
I got this error:
Declaration of GxcUser::login() should be compatible with that of CWebUser::login()
On a XAMPP config with PHP 5.3.8
Can anyone help me solve this?
#132
Posted 19 June 2012 - 07:36 AM
Changed php.ini setting from:
error_reporting = E_ALL * E_STRICT
to:
error_reporting = E_ALL ^ E_STRICT
#133
Posted 19 June 2012 - 04:51 PM
mr80, on 19 June 2012 - 07:36 AM, said:
Changed php.ini setting from:
error_reporting = E_ALL * E_STRICT
to:
error_reporting = E_ALL ^ E_STRICT
Thank you! I have changed it somewhat different:
The login function of GxcUser needed a default value for the 'duration' param to be fully compatible with CUser. So I changed the function to:
public function login($identity, $duration=0)
{
return parent::login($identity, $duration);
}Another question
How does it work to get pages with different translations? I got stuck in te 'backend' trying to set the 'Number of Language Available' to more than 2. But it gave an error:
Site currently supports only 2 Languages
So I changed that number to 1 and saved: no error. But right after that I tried to set it back to a value of '2', now it gives me this error(!):
Site currently supports only 1 Languages
There is also a table gxc_language, filled with Vietnamese and English, but I cannot find an admin action in the code / CMS where the languages can be altered.
What do I have to do to get a multilanguage website? I hope you can help me out, help is appreciated!
#134
Posted 19 June 2012 - 08:38 PM
Updated the core with your fix. Thank you.
For languages, I haven't made CRUD for language table. I edit it manually in database. I added new language to db if neccesary.
I think you can implement it in the backend.
#135
Posted 20 June 2012 - 01:53 AM
mr80, on 19 June 2012 - 08:38 PM, said:
Updated the core with your fix. Thank you.
For languages, I haven't made CRUD for language table. I edit it manually in database. I added new language to db if neccesary.
I think you can implement it in the backend.
Thank you for your ideas. I have tried to add one more language: dutch (I am from Holland you see
Site currently supports only 2 Languages
The error came after I added the extra language. Why is this happening?
#136
Posted 20 June 2012 - 03:25 AM
Now I comment the limit line.
#137
Posted 20 June 2012 - 11:38 AM
mr80, on 20 June 2012 - 03:25 AM, said:
Now I comment the limit line.
Nice
#138
Posted 21 June 2012 - 05:16 AM
Your CMS looks realy nice! I hope I can ask you questions about it some more, because I am exploring it right now. I also try to help you too by clearing out some faulty English grammar.
Question: what about the .ini files in some of the directories?
#139
Posted 21 June 2012 - 06:13 AM
How did you plan to implement User login functionality on the frontend? I see the following Blocks implying user login functionallity: singin, singup, reset_password, recover_password, profile, account, active_user. On a testpage with the Signup Block on it, an error is given:
Property "UserRegisterForm.display_name" is not defined.
What I want is a way for frontend users to sign-up (before) so the can react on a product on the website, that way I have the information of someone stored and do I know who reacted.
I also want translation on the frontend, just the same as on the backend with a drop-down. Can you tell me your ideas get this working?
Thank you in advance.
Greetings from Holland.
#140
Posted 21 June 2012 - 09:35 AM
1/ Ini files:
Ini files are used to define some information.
- For example, ini file in a block in front_blocks folder is used to define the block id, block name and the class associated with the the Block.
- The ini file in the front_layouts folder defines the regions of the layout...
2/ For user sign up, sign in:
I have commited the sample project with blocks like Sign up, Sign in, Reset password,...that I used for mywordbook.com project. You can check it. The mail won't work cause I use Amazon SES, you can disable it.
3/ Multiple languages frontend:
- Currently as you can see, the page can be translated into other language, these pages connect with other pages by the same guid.
- To translate stuff related to t('message'),...I am thinking a solution for this.

Help











