nganhtuan63 / gxc-cms-2 Goto Github PK
View Code? Open in Web Editor NEWGXC-CMS version 2.0
GXC-CMS version 2.0
Some blocks require dynamic content like a block with a form that has csrf token,...
i can't login to gxc cms,
i already tried to input username : admin, and password : 123456
and i receive alert "incorrect username or password"
Bring new features, fix security issues.
I testing cms on open-server win 64.
http://project1/backend/resource/admin --> View - popup window message "Image cannot be loaded. Make sure the path is correct and image exist."
Resource Path - http://project1/resources/Array
Although all the pictures are available here: project1/resources/2013/01/
How to solve the problem?
I have created the project1 by the installation guide. When I want to run the
http://localhost/project1/backend/install
The Not Found occurred:
The requested URL /project1/backend/install was not found on this server.
Hi,
The ability to filter on language selection is not implemented at all. In the file GxcHelpers.php within method getContentList() you need to update the code to be as follows:
$condition .= ' or (object_id in (select object_id from `{{tag_relationships}}` where tag_id in (' . $tag_id_list . ')))';
}
//criteria not newest
if ($model->criteria != ConstantDefine::CONTENT_LIST_CRITERIA_NEWEST) {
$criteria_field = 'object_view DESC';
}
$criteria = new CdBCriteria(array(
'condition'=>$condition,
'params'=>$params,
'order'=>$criteria_field,
'limit'=>isset($max)?$max:$model->number,
));
// Language constraints. ID#0 means all languages so we only apply the conditional if the ID#0 is not set.
if (!in_array(0, $model->lang)) $criteria->addInCondition('lang', $model->lang);
if ($return_type == ConstantDefine::CONTENT_LIST_RETURN_DATA_PROVIDER && $model->number >=1) {
$sort = new CSort('Object');
$sort->defaultOrder='t.object_date DESC';
$sort->attributes = array('object_view' => array('asc'=>'object_view ASC',
'desc'=>'object_view DESC',
),
'object_date'=>array('asc'=>'t.object_date ASC',
'desc'=>'t.object_date DESC',
),
);
return new CActiveDataProvider('Object',array(
'criteria'=> $criteria,
'pagination'=>array('pageSize' => isset($max) ? $max : $model->number * $page_number, 'pageVar'=>'page'),
'sort'=>$sort,
));
}
return Object::model()->findAll($criteria);
}
else {
//manual
Under common/storages/info.ini remove this line:
storages[amazon] = AmazonStorage
It should only be put back in once the AmazonStorage class is actually developed.
You should also create an Interface called StorageInterface and have both classes implement this interface. This will make it easy for other developers to build their own storage interfaces without having to reverse engineer your storage classes.
SystemSettingsForm.php has depreciated field $language_number which stops you from submitting the form at /backend/settings/index/type/system due to a validation error.
This field is not referenced anywhere else throughout the entire project so I presume it is deprecated.
i have updated new verson of GXC-CMS but in new version some bootstrap and other files in assets folder are created empty.
i have followed : https://docs.google.com/document/d/1EBDb7WpepBfwV6LjOfx-UdvcoVxQDSZARx_lZnnfe3E/edit.
i have also tried to give permissions to web/assets folder, but still getting same problem.
Kindly give suggesting.
hi, I've trying to install using the tutorial but is give me this error
Not Found
The requested URL /gxcmstest/backend/install was not found on this server.
Apache/2.2.22 (Ubuntu) Server at localhost Port 80
The file is exist in my server, do I have to create .htaccess file or edit something?
Thanks in advance.
First when I've created a new content type, the generated object_form_widget.php are setting up the t() function without the first argument.
As is:
But it's necessary to correct directly on gii module.
I've seen this kind of error all around the system. Like https://github.com/nganhtuan63/GXC-CMS-2/blob/master/core/cms/widgets/page/ContentListUpdateWidget.php, on lines 54 and 64
I want to create a local web site,so I follow the five steps in the document given on https://docs.google.com/document/d/1EBDb7WpepBfwV6LjOfx-UdvcoVxQDSZARx_lZnnfe3E/edit ,when I visit the site http://localhost/project/backend/ ,it would be redirected to http://localhost/project/backend/site/login and shows me 404 not found.I check the folder /home/webroot/project/backend/ and found that there is no folder named install.I have no idea what to do next. Is there anyother document ?
Hi,
When I click in the title of the article from homepage, I redirect to the url like this /page?slug=post&id=5&pslug=this-is-the-sample-post-2
This page only show the right sidebar content, not show the content of the article !
Hello,
I made a git clone in my folder /var/www/gxc
Then I executed this command: php gxc/core/cms/cms.php cmsapp /var/www/project
When I go here http://192.168.56.101/project/backend/install. I get this error http://screencast.com/t/gPLmVV0hNlp
So, I need to do changes in configuration manually or as I think it should do install script? Or maybe I'm doing something wrong?
Version 2 has caching issues. Clearing cache works only for backend cache. Frontend has it's own cache folder which is not cleared.
i install the GXC-CMS but when i put http://localhost/project1/backend/install the browser didn't find any thing and i can't continue please can any one know how i can fix it ????
after load /mysite/backend/install this is the only error i retrieved:
Fatal error: Call to undefined method HttpRequest::init() in www.mysite.site/core/yii/framework/base/CModule.php on line 387
While accessing the /backend/install folder... the following error is thrown up:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at admin@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Hello, I use GXC v.1 in my projects and want to switch to v.2. Could you explain your decisions in more detail?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.