FlexicaCMS

The licensing plan as well as the roadmap is here: http://www.flexicacms.com/developers/developer-guide/roadmap.html

Thank you. It sounds similar to the ExtJS licensing model so it’s not for me, however keep up the good work ;)

Roadmap looks good. It’s just that for me something like this should be fully open in order to learn from it and maybe support + send in bugs. Thanks.

1. dont works in php5.3 (you use deprecated functions such as ereg_replace)

2. error on installation:

[indent][color="#FF0000"]CDbException[/color]

Description:

CDbCommand failed to execute the SQL statement: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes[/indent]

Hi, I have this message at the end of installation:

"Important, You must update .htaccess file in /var/www/test/trunk before:"

What I have to do?

My .htaccess:




Options +FollowSymLinks

IndexIgnore */*

RewriteEngine on

RewriteBase /


#Admin

Rewriterule ^admin$ index.php?r=Cms/admin/home

#Install

Rewriterule ^install$ install.php?r=Install/default


# if a directory or a file exists, use it directly

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_URI} !\.(js|ico|gif|jpg|png|css)$


# otherwise forward it to index.php

RewriteRule . index.php



The .htaccess is needed so front-end can use SEO friendly urls. Normally you get this as the Installer cannot write on your webroot so you have to copy this text and save as .htaccess at your webroot.

yes, this is copied from .htaccess in my webroot.

ohhh look very nice to bad no online demo though :P but am tempted to give it a try looks more promising then most of the yii based cms

Thank mech7, right now we are working on multi-language support and AP (Admin panel) permission management before AP is open for demoing. Version 0.3.x is planed to release this week.

Add error_reporting(E_ERROR) to the index.php file can bypass this problem. This is a temporary issue we will fix in next release.

Thanks, Nayjest

error_reporting should be added in the first line of index.php

What are the default passwords when you install with test data?

Usernames:

Manager / manager@flexicacms.com

User / user@flexicacms.com

I dont have a local smtp / pop server running so the verification email for the admin user will never come.

Looks like the best Yii CMS yet, good work.

Edit: Oops, missed the random generated admin password on the install page.

Totally agree. I am new with Yii. I read that I could use FlexicaCMS to learn with Yii documentation. After downloading it, I just realize that some code are encrypted.

It is a very promising CMS. I hope one day it will be fully open.

This is my index.php file

[indent]<?php

error_reporting(E_ERROR);

//Uncomment this line to set the site to offline mode

//header(‘location:offline.php’);

// If no environment info or no system settings, go install

if (file_exists(dirname(FILE).’/protected/config/environment.php’) === false

|| file_exists(dirname(__FILE__).'/protected/runtime/cached/Settings.php') === false) {


header('location:install.php');

}

// change the following paths if necessary

$yii=dirname(FILE).’/protected/yii.php’;

$config=dirname(FILE).’/protected/config/main.php’;

// Set YII_DEBUG to FALSE in production environment

defined(‘YII_DEBUG’) or define(‘YII_DEBUG’,true);

// Avoid redeclaration of Yii in case yiic is running

if(!class_exists(‘Yii’))

require_once(&#036;yii);

Yii::createWebApplication($config)->run();[/indent]

but i continue to have same error

[indent]PHP Error

Description

Function ereg_replace() is deprecated

Source File

C:\Documents and Settings\xxx\xampp\htdocs\flexica_cms\protected\cms\Url.php(1) : eval()'d code(1)

No source code available.

Stack Trace

#0 unknown(0): CWebApplication->handleError()

#1 C:\Documents and Settings\xxx\xampp\htdocs\flexica_cms\protected\cms\Url.php(1) : eval()'d code(1): ereg_replace()

#2 C:\Documents and Settings\xxx\xampp\htdocs\flexica_cms\protected\cms\Url.php(1): eval()

#3 C:\Documents and Settings\xxx\xampp\htdocs\yii\framework\YiiBase.php(257): require()

#4 C:\Documents and Settings\xxx\xampp\htdocs\yii\framework\YiiBase.php(184): import()

#5 C:\Documents and Settings\xxx\xampp\htdocs\yii\framework\base\CModule.php(362): createComponent()

#6 C:\Documents and Settings\xxx\xampp\htdocs\yii\framework\base\CApplication.php(455): CWebApplication->getComponent()

#7 C:\Documents and Settings\xxx\xampp\htdocs\yii\framework\web\CWebApplication.php(119): CWebApplication->getUrlManager()

#8 C:\Documents and Settings\xxx\xampp\htdocs\yii\framework\base\CApplication.php(135): CWebApplication->processRequest()

#9 C:\Documents and Settings\xxx\xampp\htdocs\flexica_cms\index.php(24): CWebApplication->run()

2010-06-18 12:38:39 Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 Yii Framework/1.1.2[/indent]

We are going to be completely open source on next release, v0.3. We hope to release v0.3 this week if we add some ticket/comment system into flexicacms.com to start receiving your comments.

This error is from PHP 5.3, the developer may be using PHP 5.2 which does not give this message.

The ereg* functions should be replaced the the preg* ones on 5.3.

This looks like a nice CMS - but, if you’re not certain about releasing the source code, using the term “open source” is rather misleading.

You should sort out the licensing issues - there are people out there who know how to exploit software released under no clear licensing terms. You can change your mind later and release future versions of the CMS under different terms, but for your own sake, you should cover your backs and adopt an official license - whether it’s an open source license or not.

Just my two cents :slight_smile:

I can verify that the encrypted files using ereg_replace do not work with Php 5.3.2 because this function is deprecated.

Similar error to the one posted above…

PHP Error

Description

Function ereg_replace() is deprecated

Source File

/Applications/MAMP/htdocs/flexicms/protected/cms/Url.php(1) : eval()'d code(1)

No source code available.

Stack Trace

#0 unknown(0): CWebApplication->handleError()

#1 /Applications/MAMP/htdocs/flexicms/protected/cms/Url.php(1) : eval()'d code(1): ereg_replace()

#2 /Applications/MAMP/htdocs/flexicms/protected/cms/Url.php(1): eval()

#3 /Applications/MAMP/htdocs/yii/framework/YiiBase.php(257): require()

#4 /Applications/MAMP/htdocs/yii/framework/YiiBase.php(184): import()

#5 /Applications/MAMP/htdocs/yii/framework/base/CModule.php(362): createComponent()

#6 /Applications/MAMP/htdocs/yii/framework/base/CApplication.php(455): CWebApplication->getComponent()

#7 /Applications/MAMP/htdocs/yii/framework/web/CWebApplication.php(119): CWebApplication->getUrlManager()

#8 /Applications/MAMP/htdocs/yii/framework/base/CApplication.php(135): CWebApplication->processRequest()

#9 /Applications/MAMP/htdocs/flexicms/index.php(23): CWebApplication->run()

I am eagerly awaiting the next release so I can try it out. Sounds quite promising!

I switched MAMP over to Php 5.2.13 and it works fine…so definitely an issue with this function and 5.3+.

Thank all, I have started a new thread as version 0.3 released.

http://www.yiiframework.com/forum/index.php?/topic/10389-flexicacms-v0-3-released/

Problem with PHP 5.3 should be resolved, installation wizard works smoother. We added multi-lingual content and RBAC with dynamic user roles.

Also, no more encrypted file and the community version is available in zip format for download with GNU GPL license :) .