quickapps / cms

Modular CMS powered by CakePHP
GNU General Public License v3.0
164 stars 69 forks source link

The bugs on latest sources #135

Closed LeLuyen closed 8 years ago

LeLuyen commented 8 years ago

Hi Chris, I'm general the all bugs at this issues, please interesting those and fix bug. Environment: Ubuntu 14.04, PHP 5.6, MySql 5.6

Thanks you!

botchris commented 8 years ago

Can you please provide more information about 2, 3 & 8? I would need to see your /logs/errors.log file to get an idea of what is causing that error screen

botchris commented 8 years ago

Also, what is "latest source"? which version are you using? you should use dev-master from composer installation and avoid this one

LeLuyen commented 8 years ago

Hi Chris

Thanks you for your comment.

Yes, I'm using the dev-master The latest sources are the sources was pushed by you at 2015/12/06.

Today, you are pushing new sources, I'm getting source and check it.

If have problem, I will report problem to you

Thanks you very much!

botchris commented 8 years ago

Bugs 1 & 7 can be related to AOP API, seems like your installation is failing to inject plugin's Aspect classes.

Can you please check that your tmp directory is writable? AOP API needs to create some files at /tmp/aop,

Another thing you can try: Manually delete this directory (/tmp/aop)

LeLuyen commented 8 years ago

Hi Chris,

Great.

The /tmp directory is writable, you can see image

On bug 7, I think the values of field 'settings' on plugins table with the name is 'User' can missing keys. Bugs 2,3,8 seems ok. Bugs 9,10, how to search with content type is "page' (find/type:page), could you change? image

Thanks you!

botchris commented 8 years ago

Ok, I'll keep looking what is causing 1 & 7.

What do you mean type:page? The type search operator works just fine, the attached image I can see there is type:blog instead of type:page captura

LeLuyen commented 8 years ago

Hi Chris,

It means, I want to search with slug of content_type table like 'page'. Now, it works.

I'm finding for causing 1, but don't find.

Thanks you!

LeLuyen commented 8 years ago

Hi Chris,

About bugs 2,3,8. Those are repeating.

You can test with ../admin/content/fields/view-mode-list/search-result?type=article url

Here are logs: 2015-12-11 16:52:11 Error: [Cake\View\Exception\MissingTemplateException] Template file "FieldUI\view_mode_list.ctp" is missing. Request URL: /20151211/en_US/admin/content/fields/view-mode-list/search-result?type=article Stack Trace:

0 D:\ApachePhp\htdocs\20151211\tmp\aop\20151211\vendor\cakephp\cakephp\src\View\View.php(575): Cake\View\View->_getViewFileName(NULL)

1 D:\ApachePhp\htdocs\20151211\tmp\aop\20151211\vendor\quickapps\cms\plugins\CMS\src\View\View.php(189): Cake\View\View->render(NULL, NULL)

2 D:\ApachePhp\htdocs\20151211\tmp\aop\20151211\vendor\cakephp\cakephp\src\Controller\Controller.php(611): CMS\View\View->render(NULL, NULL)

3 D:\ApachePhp\htdocs\20151211\tmp\aop\20151211\vendor\cakephp\cakephp\src\Routing\Dispatcher.php(120): Cake\Controller\Controller->render()

4 D:\ApachePhp\htdocs\20151211\tmp\aop\20151211\vendor\cakephp\cakephp\src\Routing\Dispatcher.php(87): Cake\Routing\Dispatcher->_invoke(Object(Content\Controller\Admin\FieldsController))

5 D:\ApachePhp\htdocs\20151211\webroot\index.php(37): Cake\Routing\Dispatcher->dispatch(Object(Cake\Network\Request), Object(Cake\Network\Response))

6 {main}

LeLuyen commented 8 years ago

Hi Chris,

I want to find as find/vocabulary:articles-categories and give the term as grid type.

How to find an articles categories?

Thanks you!

LeLuyen commented 8 years ago

Hi Chris, Have a bug about show categories as language. Please fix it. Thanks you!

LeLuyen commented 8 years ago

Hi Chris,

Have a bug about DateField.

image

LeLuyen commented 8 years ago

Hi Chris,

About Wysiwyg bug, I found your config have problem

You can see the line 30 of /vendor/composer/autoload_psr4.php file

'CMS\\' => array($vendorDir . '/quickapps/cms/plugins/CMS/src', $vendorDir . '/quickapps-plugins/cms/src'),

Firstly the system load '/quickapps/cms/plugins/CMS/src', if it is not find, the system will load quickapps-plugins/cms/src.

I think you need remove $vendorDir . '/quickapps/cms/plugins/CMS/src' from array of CMS or remove /vendor/quickapps folder

Thanks you!

LeLuyen commented 8 years ago

Hi Chris,

About manager user bug.

I think you need make default value for Minimum password length(password_min_length) when setup site with User plugin.

Thanks you!

botchris commented 8 years ago

Hi there,

The /vendor/composer/autoload_psr4.php file is automatically generated by Composer during the installatin proccess. It's not part of QACMS code, except if you are using one of the tagged versions as they are full installations packaged as ZIP.

I recommend to start a fresh installation and check if the problem persists. However, fixing this file solves the WYSIWYG problem?


Can you please open a new ticket about the "Minimum password length" thing

Best regards

LeLuyen commented 8 years ago

Hi Chris,

However, fixing this file solves the WYSIWYG problem?

Yes, Other way, you can remove 'quickapps' folder.

Thanks you!

botchris commented 8 years ago

Hi,

This folder comes from the required-dev clause in the main composer.json. I think it may be causing some conflicts with the cms plugin as both use CMS as psr4 namespace.

This commit should fix the problem, and other similar issues as #148