Code Monkey home page Code Monkey logo

Comments (16)

goFrendiAsgard avatar goFrendiAsgard commented on July 29, 2024

Hi Alwin, some people also report such an error.
Still can't find out what happens there.
I don't quite sure, but in the last step of installation (Step #3 Preferences)
There are two checkboxes. Please try to un-check them.

Thanks

from no-cms.

alwin4711 avatar alwin4711 commented on July 29, 2024

Hi,
ya magic is around me :-)
After sleeping one night system is running , i dont know why ??

It look real great.
But btw the NNGA doesn't work..

    A PHP Error was encountered

Severity: Warning

Message:
file_put_contents(modules/artificial_intelligence/assets/data/1_NNGA_Default):
failed to open stream: No such file or directory

Filename: models/ai_core.php

Line Number: 53

    A PHP Error was encountered

Severity: Warning

Message:
file_get_contents(modules/artificial_intelligence/assets/data/1_NNGA_Default):
failed to open stream: No such file or directory

Filename: models/ai_core.php

Line Number: 56

    A PHP Error was encountered

Severity: Warning

Message:
file_put_contents(modules/artificial_intelligence/assets/data/1_GA_NNGA_Default):
failed to open stream: No such file or directory

Filename: models/ai_core.php

Line Number: 53

    A PHP Error was encountered

Severity: Warning

Message:
file_get_contents(modules/artificial_intelligence/assets/data/1_GA_NNGA_Default):
failed to open stream: No such file or directory

Filename: models/ai_core.php

Line Number: 56

    A PHP Error was encountered

Severity: Warning

Message:
file_put_contents(modules/artificial_intelligence/assets/data/1_NNGA_Default):
failed to open stream: No such file or directory

Filename: models/ai_core.php

Line Number: 53

    A PHP Error was encountered

Severity: Warning

Message:
file_get_contents(modules/artificial_intelligence/assets/data/1_NNGA_Default):
failed to open stream: No such file or directory

Filename: models/ai_core.php

Line Number: 56

Any idea ?

I have tryd several CMS based on codeigniter and your is the best looking.
I real like the installer.
I never got the Codefight cms running an the rest (SiteMgr, Pyro,halogy)
are too much or too less.
I'm not a very expierence programmer but i know how it works.

What ich need is a light cms whit the possibility to enhance it like your.
The System i need is for a sport club (i don't know the right english
word for it) with mebership management.
So a lot of database stuff and crud.
I think your system will fit my wishes very good.

But how can i expand no-cms with for example a forum or how can i hand
some news articles with RSS feed export and how can i read other feeds ?

Can you give me some tips where to look or is ther any read stuff around
there ?

Sorry for my bad english, i hope you can understand what i mean :-(

Best regards
Alwin

Am 21.09.2012 02:21, schrieb Go Frendi Gunawan:

Hi Alwin, some people also report such an error.
Still can't find out what happens there.
I don't quite sure, but in the last step of installation (Step #3
#3 Preferences)
There are two checkboxes. Please try to un-check them.

Thanks


Reply to this email directly or view it on GitHub
#29 (comment).

from no-cms.

goFrendiAsgard avatar goFrendiAsgard commented on July 29, 2024

Hi Alwin, nice to hear it from you :)

NNGA stands for Neural-Network-Genetics-Algorithm, you might not need it.
If you want it to works, you might like to change the permission of modules/artificial_intelligence/assets/data
If you are using linux, you can do:
''''
chmod 777 modules/artificial_intelligence/assets/data -R
''''

I can really understand what you mean since I'm not a native English speaker too.

Some features like "news" can be implemented by using "blog" module. But some others, like "forum" is not implemented yet.

You can expand the cms by creating your own module.
I use HMVC, so you might want to read it here https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/wiki/Home
The most important thing is you can make some separated MVC pattern through different modules.
You might also like to read http://your_server/No-CMS/help/help/topic/module-directory-structure to get a brief idea about module.

I still need to complete the documentation. But let me here from you if you have more questions or suggestions.

Thanks for interested to No-CMS

PS: you might also want to use module-generator, so that you can have backend skeleton of a module without write too many code

from no-cms.

Cornatul avatar Cornatul commented on July 29, 2024

since @goFrendiAsgard spoken about the HMVC ,i have a questi,how can i call a module inside a view ,in the hmvc documentatio you can do it like Module::run ,i've try this but fails ,from security and template

from no-cms.

alwin4711 avatar alwin4711 commented on July 29, 2024

Hi,
thank you for your quick response.

The problem with the NNGA is that there is no assets directory in your
archiv.
I'm using your system with xampp on Win 7.

Thanks for your links, i will read that intensiv.
Yes i thing that the blog is a good base for news and articles.
Do you know something for a litte wiki, for online-documentaions ?
How you wrote your online-manual?
And any way to use rss feeds in- and out ?

I have to read more about the CI framework, may be i can take some
moduls from there to put it in your cms .?

Best regards
Alwin

Am 22.09.2012 02:18, schrieb Go Frendi Gunawan:

Hi Alwin, nice to hear it from you :)

NNGA stands for Neural-Network-Genetics-Algorithm, you might not need it.
If you want it to works, you might like to change the permission of
modules/artificial_intelligence/assets/data
If you are using linux, you can do:
''''
chmod 777 modules/artificial_intelligence/assets/data -R
''''

I can really understand what you mean since I'm not a native English
speaker too.

Some features like "news" can be implemented by using "blog" module.
But some others, like "forum" is not implemented yet.

You can expand the cms by creating your own module.
I use HMVC, so you might want to read it here
https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/wiki/Home
The most important thing is you can make some separated MVC pattern
through different modules.
You might also like to read
http://your_server/No-CMS/help/help/topic/module-directory-structure
to get a brief idea about module.

I still need to complete the documentation. But let me here from you
if you have more questions or suggestions.

Thanks for interested to No-CMS


Reply to this email directly or view it on GitHub
#29 (comment).

from no-cms.

alwin4711 avatar alwin4711 commented on July 29, 2024

btw, after adding a new user i will see a new window in FF and this ...

{"success":true,"insert_primary_key":2,"success_message":"

Your data has been successfully stored into the database. Edit User</a> or Go back to list</a></p>","success_list_url":"http://localhost/nocms/main/user/success/2"}

Is this going the right way ?

from no-cms.

goFrendiAsgard avatar goFrendiAsgard commented on July 29, 2024

@necuratu : never try it before since I don't really need it. Seems like some people also have such a problem http://codeigniter.com/forums/viewthread/162964/#782475 I'll check it, and will inform you if I'm lucky :).

@alwin4711 :
You can use any CI module as No-CMS module, but you might need some adjustment, including installer (modules/module_name/controllers/install.php)

About the text area, there must be some javascript problem. This is a common error when dealing with grocery-CRUD. I've try to fix it

About the assets directory in NNGA, I've just surprised. Seems that github ignore empty folders, so at last, I add .htaccess there.

I hope this version can solve the text area (after save new user) and NNGA problem https://github.com/goFrendiAsgard/No-CMS/tree/fbc203522ed60f3e6095f5ac1869d1b0c7c67dd2

from no-cms.

alwin4711 avatar alwin4711 commented on July 29, 2024

Thank you for your help. It lokks better now :-)
But a nother directory is missing..../assets/cache ...
I maked it by hand but install ist looking for it ;-)

from no-cms.

goFrendiAsgard avatar goFrendiAsgard commented on July 29, 2024

Oh, I see. This is a bit creepy, looks like github remove all empty folders :(
I've try to add and remove 'assets/cache' and seems to not work at all.

But, lastly I rename 'cache' into 'caches' and adjust all script related to it.
This one should works:
https://github.com/goFrendiAsgard/No-CMS/tree/8020df838d7edf799553f3a14439957261a364bb

Thanks to inform this :)

from no-cms.

goFrendiAsgard avatar goFrendiAsgard commented on July 29, 2024

@necuratu : https://github.com/goFrendiAsgard/No-CMS/tarball/v_0.5.5_stable_rev2 should be able to do that. I've use MX_Controller there :)

from no-cms.

Cornatul avatar Cornatul commented on July 29, 2024

@goFrendiAsgard ,perfect i will give'it a try

from no-cms.

Cornatul avatar Cornatul commented on July 29, 2024

i fund a litle bug on main /register ajax line 176

->set_output(json_encode($variable,$options)); #old line

        ->set_output(json_encode($variable),$options); #new line ,

this make's ajax cheking username working again

from no-cms.

goFrendiAsgard avatar goFrendiAsgard commented on July 29, 2024

Hi, @necuratu , thanks for your effort.
But I can't see it as a bug (yet) because:

  1. In my computer it works fine (I don't know, but it always sounds like magic when things don't work right in other computers, and it is usually happens :p)
  2. This is what I intend to do http://php.net/manual/en/function.json-encode.php, so I think the syntax is correct.

Would you like to do some things to make it sure?

  1. in application/core/CMS_Controller line 173, please change
protected final function cms_show_json($variable, $options = NULL){
into
protected final function cms_show_json($variable, $options = 0){
  1. What version of PHP do you use? I am afraid it is related to php version. The documentation said that it should be greater or equal to 5.2.0

  2. What is the response from the server (you can use firebug). In my case, the response would be something like this:

    {"exists":true,"message":"Username already exists"}

Thanks in advance,

from no-cms.

Cornatul avatar Cornatul commented on July 29, 2024

@goFrendiAsgard ,i know what is the problem ,the thing is that on all the server i've tested the version of the servers was < 5.3.0 ,and the json encode function accpets 2 parameters when is > 5.3.0

from no-cms.

goFrendiAsgard avatar goFrendiAsgard commented on July 29, 2024

I see, I'll do some conditional check to make it better, and I'll inform you when it is done.

Thanks for your help :)

from no-cms.

goFrendiAsgard avatar goFrendiAsgard commented on July 29, 2024

Hi @necuratu , I have add the checking condition in cms_show_json function.
Also, I have add Collation UTF8 for the global database.

https://github.com/goFrendiAsgard/No-CMS/tree/ce183eb7fa7a6b7ddee24e4583a11a9010f20020

Thanks for discovering this :)

from no-cms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.