EllisLab text mark
Advanced Search
5 of 7
5
   
No-CMS, A Free CodeIgniter based CMS to start your project
Posted: 09 October 2012 03:59 PM   [ Ignore ]   [ # 71 ]   [ Rating: 0 ]
Joined: 2012-08-29
9 posts
goFrendiAsgard - 29 August 2012 10:23 PM
mrgswift - 29 August 2012 04:00 PM

goFrendiAsgard:

Thanks so much for all of your hard work on this. 

I am currently exploring the possibility of using No-CMS in my future projects.  I installed it in my dev environment.  Everything seems to work correctly except the wysiwyg in full screen.  It looks like you have some sort of jquery window loading the wysiwyg in full screen, but when I load it, the width of what it is viewable is only about 40 pixels.

I uploaded a screenshot here:


Am I doing something wrong, or is this bug?  Your help is greatly appreciated!

Thanks!

Hi again, this is confirmed as a bug, related to my own code, not the IE. I’ve just patch it.

Hi goFrendiAsgard,

Thanks again for your hard work and for fixing the last problem I posted!  I think I may have found another bug. Thanks for your work in fixing everything in the WYSIWYG, but it looks like when I upload a new image for the logo or the favicon, it truncates/strips out the file extension when it pushes the result of the upload to the database. 

Just thought I would let you know! 
I am using your most recent stable version (goFrendiAsgard-No-CMS-v_0.5.5_stable_rev2-5-g21641e4.zip)

Thanks for everything!

 
Posted: 10 October 2012 03:38 AM   [ Ignore ]   [ # 72 ]   [ Rating: 0 ]
Avatar
Joined: 2011-08-28
136 posts
mrgswift - 09 October 2012 03:59 PM

Hi goFrendiAsgard,

Thanks again for your hard work and for fixing the last problem I posted!  I think I may have found another bug. Thanks for your work in fixing everything in the WYSIWYG, but it looks like when I upload a new image for the logo or the favicon, it truncates/strips out the file extension when it pushes the result of the upload to the database. 

Just thought I would let you know! 
I am using your most recent stable version (goFrendiAsgard-No-CMS-v_0.5.5_stable_rev2-5-g21641e4.zip)

Thanks for everything!

Hi mrgswift, I can’t reproduce the problem in my computer. Everything was run perfectly in my computer. I’ve try several setting like hide/show index.php on installation. And it was going to work as expected.

By the way, how long is your image file name?
I need more of your help to ensure this.

1. Please open CMS Management | Configuration Management (http://your_server/No-CMS-installation-directory/main/config). Then, look at site_logo and site_favicon. Is the file name correct. The value must be something like @base_url/assets/nocms/images/custom_logo/your_logo.png

2. Check on assets/nocms/images/custom_logo. Is your file there?

Thank you, I hope I can fix it soon once I know the problem

 Signature 

Homepage : http://www.getnocms.com
Github page : https://github.com/goFrendiAsgard/No-CMS

A free CodeIgniter based CMS-Framework, It is not just another CMS !!!

 
Posted: 10 October 2012 05:17 PM   [ Ignore ]   [ # 73 ]   [ Rating: 0 ]
Joined: 2012-08-29
9 posts
goFrendiAsgard - 10 October 2012 03:38 AM
mrgswift - 09 October 2012 03:59 PM

Hi goFrendiAsgard,

Thanks again for your hard work and for fixing the last problem I posted!  I think I may have found another bug. Thanks for your work in fixing everything in the WYSIWYG, but it looks like when I upload a new image for the logo or the favicon, it truncates/strips out the file extension when it pushes the result of the upload to the database. 

Just thought I would let you know! 
I am using your most recent stable version (goFrendiAsgard-No-CMS-v_0.5.5_stable_rev2-5-g21641e4.zip)

Thanks for everything!

Hi mrgswift, I can’t reproduce the problem in my computer. Everything was run perfectly in my computer. I’ve try several setting like hide/show index.php on installation. And it was going to work as expected.

By the way, how long is your image file name?
I need more of your help to ensure this.

1. Please open CMS Management | Configuration Management (http://your_server/No-CMS-installation-directory/main/config). Then, look at site_logo and site_favicon. Is the file name correct. The value must be something like @base_url/assets/nocms/images/custom_logo/your_logo.png

2. Check on assets/nocms/images/custom_logo. Is your file there?

Thank you, I hope I can fix it soon once I know the problem

Hi! Thanks for your response.

I tried it again with the favicon in the wysiwyg.

I uploaded the file con_info.png from My Pictures folder on my local windows computer.

In Configuration Management

the site_favicon key has the value:
@base_urlassets/nocms/images/custom_favicon/con_info

The file I uploaded is present at /assets/nocms/images/custom_favicon/con_info.png

After testing this a few times.  Everything works except the value that gets pushed up to my database. 

This happens to me for both favicon and the logo.

Is there anything I can add to one of the files to help debug so I can figure out what is going on?

Thanks for your help!

 
Posted: 10 October 2012 08:59 PM   [ Ignore ]   [ # 74 ]   [ Rating: 0 ]
Avatar
Joined: 2011-08-28
136 posts

Confirmed, In my case, the configuration value is @base_urlassets/nocms/images/custom_logo/0_61_nebula_ngc2818_hubble72 (without extension)
But the image still appeared correctly. I still wonder what is the cause of this symptoms. I think it is related to qquploader library which I use as ajax upload library.

I’ll inform you later.
Thank you for your help smile

 Signature 

Homepage : http://www.getnocms.com
Github page : https://github.com/goFrendiAsgard/No-CMS

A free CodeIgniter based CMS-Framework, It is not just another CMS !!!

 
Posted: 11 October 2012 10:53 AM   [ Ignore ]   [ # 75 ]   [ Rating: 0 ]
Avatar
Joined: 2011-08-28
136 posts

Hi mrgswift,
Please try this one: https://github.com/goFrendiAsgard/No-CMS/commit/23698d5d80cf6c3c1a99783d6aec5fa6e459a3af

 Signature 

Homepage : http://www.getnocms.com
Github page : https://github.com/goFrendiAsgard/No-CMS

A free CodeIgniter based CMS-Framework, It is not just another CMS !!!

 
Posted: 11 October 2012 05:02 PM   [ Ignore ]   [ # 76 ]   [ Rating: 0 ]
Joined: 2012-08-29
9 posts
goFrendiAsgard - 11 October 2012 10:53 AM

Hi mrgswift,
Please try this one: https://github.com/goFrendiAsgard/No-CMS/commit/23698d5d80cf6c3c1a99783d6aec5fa6e459a3af

Hi goFrendiAsgard,

After grabbing your modified files, now it just fails to upload altogether. 

I tried with both favicon and the logo.

Example favicon upload:

Message I get within WYSIWYG(in red)

con_info.png 0.7kB Upload failed

I checked the /assets/nocms/images/custom_favicon/ directory just to verify, and the file is not there.

Thanks for your help!

 

 

 
Posted: 11 October 2012 06:25 PM   [ Ignore ]   [ # 77 ]   [ Rating: 0 ]
Joined: 2012-08-29
9 posts
mrgswift - 11 October 2012 05:02 PM
goFrendiAsgard - 11 October 2012 10:53 AM

Hi mrgswift,
Please try this one: https://github.com/goFrendiAsgard/No-CMS/commit/23698d5d80cf6c3c1a99783d6aec5fa6e459a3af

Hi goFrendiAsgard,

After grabbing your modified files, now it just fails to upload altogether. 

I tried with both favicon and the logo.

Example favicon upload:

Message I get within WYSIWYG(in red)

con_info.png 0.7kB Upload failed

I checked the /assets/nocms/images/custom_favicon/ directory just to verify, and the file is not there.

Thanks for your help!

 

 

Hi goFrendiAsgard,

I figured out what was wrong using the console in Google Chrome.  Every time it was uploading a file the qqUploader was returning “{‘error’:‘increase post_max_size and upload_max_filesize to 20M’}”

Since I have 20M as my upload_max_filesize in my php.ini, I started looking for a line of code with something close to this output.

I found the line in modules/wysiwyg/fileuploader_library/php.php on line 123:

die("{'error':'increase post_max_size and upload_max_filesize to $size'}"); 

 

I am assuming you were using this for debugging purposes, since the condition you set for it to run will always be true if the file size is less than the size limit set in php.ini

I went ahead and commented this line out.  After commenting out this line, uploads are working correctly in the WYSIWYG.

Thanks Again For Your Help! grin

 

 
Posted: 22 October 2012 08:36 AM   [ Ignore ]   [ # 78 ]   [ Rating: 0 ]
Joined: 2012-10-17
4 posts

A Database Error Occurred

Error Number: 1146

Table ‘codeignitercms.cms_authorization’ doesn’t exist

DESCRIBE `cms_authorization`

Filename: F:\xampp\htdocs\CodeIgniterCMS\system\database\DB_driver.php

Line Number: 330

i am getting this error when i am trying to use cms_navigation table of no_cms database
in my own cms i need a simple cms and i want to add some features like navigation managment from no_cms plz help me

 
Posted: 22 October 2012 12:34 PM   [ Ignore ]   [ # 79 ]   [ Rating: 0 ]
Joined: 2012-10-22
1 posts

I really enjoyed to read this and i will wait for the new ones. Thanks!... smile

Corporate Video Production

 
Posted: 25 October 2012 03:53 AM   [ Ignore ]   [ # 80 ]   [ Rating: 0 ]
Avatar
Joined: 2011-08-28
136 posts

Sorry guys, I’m currently busy with my thesis. And to make it worst, every notification from CodeIgniter forum are automatically sent to the spam by gmail (I don’t know what really happens here). This was a very unexpected behavior.

@mrgswift: qq library is not written by me. But I think yes, there is a problem with file size limit. Thanks to find it out. I’ll try to fix it

@humty: cms_navigation is related to cms_authorization. If you want to only use the database, you should probably change it a bit (especially the foreign key part).

 Signature 

Homepage : http://www.getnocms.com
Github page : https://github.com/goFrendiAsgard/No-CMS

A free CodeIgniter based CMS-Framework, It is not just another CMS !!!

 
Posted: 25 October 2012 06:27 AM   [ Ignore ]   [ # 81 ]   [ Rating: 0 ]
Avatar
Joined: 2012-02-24
53 posts

Hi, I’ve installed it and I like it. First I’ll play with themes.
Is there or will there be a forum module for No-CMS? I’d buy it.
Good luck with thesis!

 
Posted: 25 October 2012 08:52 PM   [ Ignore ]   [ # 82 ]   [ Rating: 0 ]
Avatar
Joined: 2011-08-28
136 posts
Altazar - 25 October 2012 06:27 AM

Hi, I’ve installed it and I like it. First I’ll play with themes.
Is there or will there be a forum module for No-CMS? I’d buy it.
Good luck with thesis!

Hi @Altazar. I don’t make it yet. But I think someone else has probably make such a module. Still don’t know about it yet.

 Signature 

Homepage : http://www.getnocms.com
Github page : https://github.com/goFrendiAsgard/No-CMS

A free CodeIgniter based CMS-Framework, It is not just another CMS !!!

 
Posted: 18 November 2012 01:56 AM   [ Ignore ]   [ # 83 ]   [ Rating: 0 ]
Avatar
Joined: 2011-08-28
136 posts

The future release of No-CMS will support multi-language, even for the static pages
http://www.getnocms.com/2012/11/multi-language-even-for-static-pages.html

 Signature 

Homepage : http://www.getnocms.com
Github page : https://github.com/goFrendiAsgard/No-CMS

A free CodeIgniter based CMS-Framework, It is not just another CMS !!!

 
Posted: 19 November 2012 12:29 PM   [ Ignore ]   [ # 84 ]   [ Rating: 0 ]
Avatar
Joined: 2011-08-28
136 posts

http://www.getnocms.com/2012/11/better-multi-language-template-better.html
I’ve just make some improvement on No-CMS.

The first one is related to its performance. Accessing variables is considered faster than accessing databases and files. So, from now on The ci_sessions, configuration and language files will only be accessed in the first time call of a request. (e.g: the first $this->cms_username() will access the database, but the second call of the same function will access a variable)
The second one is related to new template system. The core is now fully using regex. In the new template system, you’ll find a new branching tag. This way, I don’t even need the table structure (something I’m afraid of). You can use:

{{ if language:indonesia }}
Show something that only be shown when your language is “indonesia”
{{ else }}
Show something that only be shown when your language is not “indonesia”
{{ end_if }}

The screenshot is available here: http://www.getnocms.com/2012/11/better-multi-language-template-better.html

 Signature 

Homepage : http://www.getnocms.com
Github page : https://github.com/goFrendiAsgard/No-CMS

A free CodeIgniter based CMS-Framework, It is not just another CMS !!!

 
Posted: 03 December 2012 07:43 PM   [ Ignore ]   [ # 85 ]   [ Rating: 0 ]
Joined: 2012-08-29
9 posts
goFrendiAsgard - 25 October 2012 03:53 AM

@mrgswift: qq library is not written by me. But I think yes, there is a problem with file size limit. Thanks to find it out. I’ll try to fix it

Hi goFrendiAsgard,

I figured out what was wrong a few weeks ago and thought I would post it here.  There is a problem with the if statement In the file modules/wysiwyg/fileuploader_library/php.php on lines 121 to 124

if ($postSize $this->sizeLimit || $uploadSize $this->sizeLimit){
            $size 
max(1$this->sizeLimit 1024 1024) . 'M';             
            die(
"{'error':'increase post_max_size and upload_max_filesize to $size'}");    
        

 

If you notice what this if statement is doing, anytime the postSize or uploadSize is less than the sizeLimit, it will die and display the error message that you need to increase your post_max_size and upload_max_filesize. This should be the other way around.  Line 121 should be changed to:

if ($postSize $this->sizeLimit || $uploadSize $this->sizeLimit)

This way the if statement is checking whether postSize and uploadSize is greater than the sizeLimit. I believe this was the original intent for having this if statement here, but was probably written quickly without realizing the mistake.

Thanks for your hard work goFrendiAsgard!

 
5 of 7
5