Jump to content

CORA™ CMS


Takari

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   23
  • Joined:  03/25/12
  • Last Seen:  

UPDATE

CORA™ v0.9.4 BETA [Download]

  • All configuration details are moved to one single file.
  • Fixed incompatibility for PHP 5.6+ users.
  • Fixed corrupted guild emblem display.
  • Fixed layouting problems for three-columned themes.
  • Fixed random page reloads in widget management.
  • Fixed force-login requirement when creating/update posts/pages.
  • Fixed missing pages when adding inline widgets.
  • Changed icon for `account tab` in the account page and account widget.
  • Changed behavior of vote button to disable on click and open target in new tab.
  • Added ragnarok smileys for posts and pages.
  • Added timezone settings in the configuration file.
  • Added `search by last IP` option in user management.
  • Added character management sub-module located in user management.
  • Added IP Ban management sub-module located in user management.
  • Added `Logs` module that includes the following:
    • In-game logs: login, atcommand, chat, pick, zeny, mvp.
    • Web logs: login, account update, ban, vote, donate, shop.
  • Added `Use md5` option in account settings.
  • Added password reset for md5 users.
  • Added TOS page selection option in general settings.
  • Added admin display name option in admin settings.
  • Added custom index.php option for home page selection in general settings.

NOTE

 

CORA is now in githubhttps://github.com/takari1994/CORA

 

Also, a new and free theme named Jungle has been added in this revision:

 

jungle_screen.png

Edited by takari_L
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Looking good, I've tried and see that it's still possible to use 2 same widgets, if you're using 2 same widgets, you'll get a bug on the widget admin page, where you can't switch the 1st and 2nd widget position.


The widget's name is still the same, but the up arrow become disabled.


Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   23
  • Joined:  03/25/12
  • Last Seen:  

 

Looking good, I've tried and see that it's still possible to use 2 same widgets, if you're using 2 same widgets, you'll get a bug on the widget admin page, where you can't switch the 1st and 2nd widget position.

The widget's name is still the same, but the up arrow become disabled.

 

 

hey nana! I tried using 2 same widgets for myself, but the switches does work on my end. Maybe I misunderstood your report? I'll wait for your reply, thank you!

 

Original: Account(1) = "Account" | Account(2) = "Account 2"

widget_1.png

 

After moving the first Account down (clicked down arrow)

widget_2.png

 

I purposely designed it to accept duplicate widgets for the customization aspect. Say for example if you want player rankings and guild rankings to be separate, then you can do that. Or if you have 2 separate categories of navigation, you can do that as well.  /no1

Edited by takari_L
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Hmm weird, maybe it's just me, I'm using non root access to install it and upgrade using the sql from v0.9.3

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   23
  • Joined:  03/25/12
  • Last Seen:  

Hmm weird, maybe it's just me, I'm using non root access to install it and upgrade using the sql from v0.9.3

 

Thanks for the reply! what version are you running now? Included in the fix for 0.9.4 was some random page reload in the widget area that was caused by those very buttons. It might be related to your problem  /hmm

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

I'm using v0.9.4, or should I try it on a contained environment like xampp?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   23
  • Joined:  03/25/12
  • Last Seen:  

I'm using v0.9.4, or should I try it on a contained environment like xampp?

 

Yeah, that's a good idea. Can you tell me the result afterwards? Thank you for your patience, I'll work hard to get this working for you!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  168
  • Reputation:   0
  • Joined:  11/20/13
  • Last Seen:  

Hello... Players Online is bug or something?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   23
  • Joined:  03/25/12
  • Last Seen:  

Hello... Players Online is bug or something?

Not that I know of. Can you tell me the problem you're experiencing?

Please note that you need to load a custom script in your server to make it work. Script path:

/cora/sql-files/user_counter.txt

 

if you haven't done this yet, then this should do the trick for you :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  10/03/14
  • Last Seen:  

Hi, i have a problem... When I try to access my site... http://moonlight-ro.esy.es/cp/

 

I get the following error. It can be? I have configured settings.php with data from my server ...

 
A Database Error Occurred

Unable to connect to your database server using the provided settings.

Filename: core/Loader.php

Line Number: 346

Line of Loader.php

$CI->db =& DB($params, $active_record);

Excuse my English xD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   23
  • Joined:  03/25/12
  • Last Seen:  

Hi, i have a problem... When I try to access my site... http://moonlight-ro.esy.es/cp/

 

I get the following error. It can be? I have configured settings.php with data from my server ...

 

A Database Error Occurred

Unable to connect to your database server using the provided settings.

Filename: core/Loader.php

Line Number: 346
Line of Loader.php

$CI->db =& DB($params, $active_record);
Excuse my English xD

Hello! Have you provided your database information in settings.php?

if not open file: /cora/www/settings.php find and change the following lines:

 

    'db_host'               => '127.0.0.1', // Change to your DB's IP.
    'db_user'               => 'root', // Change to your DB username.
    'db_pass'               => '', // Change to your DB password.
    'db_name'               => 'ragnarok', // Change to your ragnarok's database name.
    'db_log_name'           => 'log', // Change to your ragnarok's log database name.
if you already have done that, please tell me so I can help you further ^^ Edited by takari_L
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  10/03/14
  • Last Seen:  

I have edited it so:

    'db_host'               => '***.***.**.**',    // IP VPS
    'db_user'               => 'moonligth',       // User Msql
    'db_pass'               => '************',   // Pass user msql
    'db_name'               => '*******',       // Database name
    'db_log_name'           => 'log',
Edited by Broken Games
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   23
  • Joined:  03/25/12
  • Last Seen:  

I have edited it so:

    'db_host'               => '***.***.**.**',    // IP VPS
    'db_user'               => 'moonligth',       // User Msql
    'db_pass'               => '************',   // Pass user msql
    'db_name'               => '*******',       // Database name
    'db_log_name'           => 'log',

This is an uncommon problem then. First time something like this was reported. However,

try going to /cora/application/config/database.php

fine the following line:

 

$db['default']['db_debug'] = TRUE;

There should be two of these, the other one:

 

$db['log']['db_debug'] = TRUE;

please change both to false and tell me it changes anything or if it hopefully solves your problem so I can provide a much better fix in the future ^^

Edited by takari_L
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  10/03/14
  • Last Seen:  

The change from TRUE to FALSE and run ... But now I strip more mistakes  /omg

 

Web: http://moonlight-ro.esy.es/cp/

A PHP Error was encountered

Severity: 8192

Message: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead.

Filename: mysql/mysql_driver.php

Line Number: 319

A PHP Error was encountered

Severity: 8192

Message: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead.

Filename: mysql/mysql_driver.php

Line Number: 319

A PHP Error was encountered

Severity: 8192

Message: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead.

Filename: mysql/mysql_driver.php

Line Number: 319

A PHP Error was encountered

Severity: 8192

Message: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead.

Filename: mysql/mysql_driver.php

Line Number: 319

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/home.php

Line Number: 10

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/home.php

Line Number: 10

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: core/TCP_Controller.php

Line Number: 33

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: core/TCP_Controller.php

Line Number: 33

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: core/TCP_Controller.php

Line Number: 45

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: core/TCP_Controller.php

Line Number: 45

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: core/TCP_Controller.php

Line Number: 46

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: core/TCP_Controller.php

Line Number: 46

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: core/TCP_Controller.php

Line Number: 62

An Error Was Encountered

Unable to load the requested file: index.php

My installation directory is as follows:

/public_html/application

/public_html/system

/public_html/cp // Cora directory (www)

Setting.php

    'app_path'              => '../application',
    'sys_path'              => '../system',


    'base_url'              => 'http://moonlight-ro.esy.es/cp',
    'encrypt_key'           => '******************************',
    'dev_mode'              => true,
    'timezone'              => 'America/Argentina/Cordoba',
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   23
  • Joined:  03/25/12
  • Last Seen:  

 

The change from TRUE to FALSE and run ... But now I strip more mistakes  /omg

 

Web: http://moonlight-ro.esy.es/cp/

A PHP Error was encountered

Severity: 8192

Message: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead.

Filename: mysql/mysql_driver.php

Line Number: 319

A PHP Error was encountered

Severity: 8192

Message: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead.

Filename: mysql/mysql_driver.php

Line Number: 319

A PHP Error was encountered

Severity: 8192

Message: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead.

Filename: mysql/mysql_driver.php

Line Number: 319

A PHP Error was encountered

Severity: 8192

Message: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead.

Filename: mysql/mysql_driver.php

Line Number: 319

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/home.php

Line Number: 10

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/home.php

Line Number: 10

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: core/TCP_Controller.php

Line Number: 33

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: core/TCP_Controller.php

Line Number: 33

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: core/TCP_Controller.php

Line Number: 45

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: core/TCP_Controller.php

Line Number: 45

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: core/TCP_Controller.php

Line Number: 46

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: core/TCP_Controller.php

Line Number: 46

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: core/TCP_Controller.php

Line Number: 62

An Error Was Encountered

Unable to load the requested file: index.php

My installation directory is as follows:

/public_html/application

/public_html/system

/public_html/cp // Cora directory (www)

Setting.php

    'app_path'              => '../application',
    'sys_path'              => '../system',


    'base_url'              => 'http://moonlight-ro.esy.es/cp',
    'encrypt_key'           => '******************************',
    'dev_mode'              => true,
    'timezone'              => 'America/Argentina/Cordoba',

 

have you tried changing these:

$db['default']['dbdriver'] = 'mysql';

$db['log']['dbdriver'] = 'mysql';

to mysqli or pdo?

If problems keep persisting, can you tell me your PHP and MySQL version?

Edited by takari_L
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  10/03/14
  • Last Seen:  

The change from TRUE to FALSE and run ... But now I strip more mistakes  /panic

Fatal error: Uncaught exception 'PDOException' with message 'could not find driver' in /home/u516891480/public_html/system/database/drivers/pdo/pdo_driver.php:114 Stack trace: #0 /home/u516891480/public_html/system/database/drivers/pdo/pdo_driver.php(114): PDO->__construct('******...', '********', '*******', Array) #1 /home/u516891480/public_html/system/database/DB_driver.php(115): CI_DB_pdo_driver->db_pconnect() #2 /home/u516891480/public_html/system/database/DB.php(148): CI_DB_driver->initialize() #3 /home/u516891480/public_html/system/core/Loader.php(346): DB('', NULL) #4 /home/u516891480/public_html/system/core/Loader.php(1171): CI_Loader->database() #5 /home/u516891480/public_html/system/core/Loader.php(152): CI_Loader->_ci_autoloader() #6 /home/u516891480/public_html/system/core/Controller.php(51): CI_Loader->initialize() #7 /home/u516891480/public_html/application/core/TCP_Controller.php(9): CI_Controller->__construct() #8 /home/u516891480/public_html/system/core/CodeIgniter.php(308): TCP_Controller- in /home/u516891480/public_html/system/database/drivers/pdo/pdo_driver.php on line 114
I am also tested in a webhost payment lent me for testing and had the same mistakes. I followed the same steps and do not see anything  /omg

http://moonlight.dashdesign.com.ar/www/

 

PHP webhost: 5.5  and ... MySQL VPS version?

Edited by Luciar
Removed SQL credentials from error message. Be careful when posting to not include private information!
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   23
  • Joined:  03/25/12
  • Last Seen:  

 

The change from TRUE to FALSE and run ... But now I strip more mistakes  /omg

 

Web: http://moonlight-ro.esy.es/cp/

A PHP Error was encountered

Severity: 8192

Message: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead.

Filename: mysql/mysql_driver.php

Line Number: 319

A PHP Error was encountered

Severity: 8192

Message: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead.

Filename: mysql/mysql_driver.php

Line Number: 319

A PHP Error was encountered

Severity: 8192

Message: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead.

Filename: mysql/mysql_driver.php

Line Number: 319

A PHP Error was encountered

Severity: 8192

Message: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead.

Filename: mysql/mysql_driver.php

Line Number: 319

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/home.php

Line Number: 10

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/home.php

Line Number: 10

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: core/TCP_Controller.php

Line Number: 33

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: core/TCP_Controller.php

Line Number: 33

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: core/TCP_Controller.php

Line Number: 45

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: core/TCP_Controller.php

Line Number: 45

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: core/TCP_Controller.php

Line Number: 46

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: core/TCP_Controller.php

Line Number: 46

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: core/TCP_Controller.php

Line Number: 62

An Error Was Encountered

Unable to load the requested file: index.php

My installation directory is as follows:

/public_html/application

/public_html/system

/public_html/cp // Cora directory (www)

Setting.php

    'app_path'              => '../application',
    'sys_path'              => '../system',


    'base_url'              => 'http://moonlight-ro.esy.es/cp',
    'encrypt_key'           => '******************************',
    'dev_mode'              => true,
    'timezone'              => 'America/Argentina/Cordoba',

 

actually I noticed something in your setup. Is your DB username moonligth in purpose?

I assume it should be moonlight?.. If this is the case, please change back everything:

 

$db['default']['dbdriver'] = 'mysqli'; < -- change back to mysql

$db['log']['dbdriver'] = 'mysqli'; < -- change back to mysql

 

$db['default']['db_debug'] = FALSE; <-- change to true

$db['log']['db_debug'] = FALSE; <-- change to true

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  10/03/14
  • Last Seen:  

Yes my DB usernames is moonlight...

 

I went back to change everything and again the same error

Unable to connect to your database server using the provided settings.

Filename: core/Loader.php

Line Number: 346

Mysql version ( VPS ):

Variable_name           | Value                   |
+-------------------------+-------------------------+
| innodb_version          | 5.5.41                  |
| protocol_version        | 10                      |
| slave_type_conversions  |                         |
| version                 | 5.5.41-0ubuntu0.14.10.1 |
| version_comment         | (Ubuntu)                |
| version_compile_machine | x86_64                  |
| version_compile_os      | debian-linux-gnu  
Edited by Broken Games
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   23
  • Joined:  03/25/12
  • Last Seen:  

 

Yes my DB usernames is moonlight...

 

I went back to change everything and again the same error

Unable to connect to your database server using the provided settings.

Filename: core/Loader.php

Line Number: 346

Mysql version ( VPS ):

Variable_name           | Value                   |
+-------------------------+-------------------------+
| innodb_version          | 5.5.41                  |
| protocol_version        | 10                      |
| slave_type_conversions  |                         |
| version                 | 5.5.41-0ubuntu0.14.10.1 |
| version_comment         | (Ubuntu)                |
| version_compile_machine | x86_64                  |
| version_compile_os      | debian-linux-gnu  

 

if you can add me on skype that would be great so I can help you much better.

skype ID: takaworks.net

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  10/03/14
  • Last Seen:  

Okay but I speak Spanish ... :ani_swt3:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   23
  • Joined:  03/25/12
  • Last Seen:  

it's ok we'll just use IM there. Much better than having to refresh the thread every now and then  /heh

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  10/03/14
  • Last Seen:  

As it was a mistake of mine writing for the username of my database ....

 

Be careful with that, you can bring them a headache pretty hard  /oops

 

Thx @takari_L for help  /ok  /no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   23
  • Joined:  03/25/12
  • Last Seen:  

 

As it was a mistake of mine writing for the username of my database ....
 
Be careful with that, you can bring them a headache pretty hard  /oops
 
Thx @takari_L for help  /ok  /no1

 

 

you're very much welcome ^^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   23
  • Joined:  03/25/12
  • Last Seen:  

Just to update, cora v0.9.4.1 is now 100% done but is yet to be released together with v0.9.4.2. In other words, I'm merging the two revisions to avoid very frequent releases and so we can have a fair amount of time to try out the revision and find bugs before I start development for 0.9.5 rather than having released 0.9.4.1 and 0.9.4.2 separately then allocate individual test time for each which might waste a lot of time. With this, again, I ask and thank you for your patience.

 

cora v0.9.4.2 should be done in a couple of days  /no1

Edited by takari_L
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  168
  • Reputation:   0
  • Joined:  11/20/13
  • Last Seen:  

Just to update, cora v0.9.4.1 is now 100% done but is yet to be released together with v0.9.4.2. In other words, I'm merging the two revisions to avoid very frequent releases and so we can have a fair amount of time to try out the revision and find bugs before I start development for 0.9.5 rather than having released 0.9.4.1 and 0.9.4.2 separately then allocate individual test time for each which might waste a lot of time. With this, again, I ask and thank you for your patience.

 

cora v0.9.4.2 should be done in a couple of days  /no1

Nice to hear that taka... have a good day.. /no1

Link to comment
Share on other sites

×
×
  • Create New...