Icy Phoenix

     
 

Some News About Icy Phoenix Development - New Users Class

Some News About Icy Phoenix Development - New Users Class Posted  Fri 01 Apr, 2011 01:23 By Mighty Gorgon
Icy Phoenix
Hi,
it's been a while I'm not writing news about Icy Phoenix development. The main reason it is that we are lacking of developers, and development slowed down a bit.

I'm currently working on the users/sessions system, trying to improve the way both sessions and users are working in Icy Phoenix. To this purpose I have ported part of phpBB 3 Users Class into Icy Phoenix, recoding some parts and adding some extra code where needed. I've almost finished the integation, but since this modification regards so many files and functions, I'm sure that many bugs have been introduced, and we need to spot them.

Tonight I've just updated both GIT and SVN repository with the latest development version, you can find some more details here:
https://github.com/MightyGorgon/icy...67265e73a7e0995
Showing 340 changed files with 6,242 additions and 4,567 deletions.

As you can see changes are many, and updating from latest dev release could be tough (due to the change into the session system/db).

If you want to help in the development, you can try to install on a local server (I would not suggest to use this development version online!) and report the bugs you find.

Next step in development is improving the permissions system and the CMS, I'll keep you posted.

Thanks,
Luca


 



Tags And Keywordsdevelopment, sessions, users class

Reply to this News Item Print this Topic E-Mail this Topic
This news item has 11455 Views and 13 Comments
Sat 02 Apr, 2011 12:00 By TheSteffenRe: Some News About Icy Phoenix Development - New Users Class
Thanks MG for your work,
I am going to test some things
Sun 03 Apr, 2011 10:00 By portalpezRe: Some News About Icy Phoenix Development - New Users Class
Thanks a lot MG for your work,
Sun 03 Apr, 2011 19:23 By YrosRe: Some News About Icy Phoenix Development - New Users Class
Thank you for your hard workd. I finally had the time to test it in local. Here are the results : unable to install from scratch / unable to update.
When I tried to install on a fresh database and folder, I got this :
Quote:
Install


An error has occurred during installation
An error occurred trying to update the database
Duplicate entry 'cron_lock_hour' for key 'PRIMARY'

When I tried to update from the previous SVN, I deleted everything except config.php and copied the new files. I got this :
Quote:
SQL ERROR [ mysql4 ]

Unknown column 'session_last_visit' in 'field list' [1054]

SQL

INSERT INTO ip_sessions (session_user_id, session_logged_in, session_start, session_last_visit, session_time, session_browser, session_forwarded_for, session_ip, session_autologin, session_admin, session_viewonline, session_page, session_forum_id, session_topic_id, session_id) VALUES (-1, 0, 1301851087, 1301851087, 1301851087, 'Opera/9.80 (Windows NT 6.1; U; fr) Presto/2.7.62 Version/11.01', '', '127.0.0.1', 0, 0, 1, 'forum.php', 0, 0, '70b3a757a8e0309222bfdcac05ff2b35')

BACKTRACE

FILE: includes/db/mysql.php
LINE: 289
CALL: sql_db->sql_error()

FILE: includes/sessions.php
LINE: 568
CALL: sql_db->sql_query()

FILE: includes/sessions.php
LINE: 299
CALL: session->session_create()

FILE: forum.php
LINE: 25
CALL: session->session_begin()

The file database_update.php was useless because it said I was already up to date and then changed nothing.

In my opinion, about the first problem on the fresh install, it might be caused due to a duplicate line of SQL query on the install.php ? I havn't checked yet, I'll try to take a look if I can but I've to check the translation first. I hope it might help.

Ps: Did one of you achieved to install the last dev' in local ? If yes, how ?
Sun 03 Apr, 2011 20:06 By spydieRe: Some News About Icy Phoenix Development - New Users Class
solution

posted in Bugs http://www.icyphoenix.com/show_post.php?p=52235
Sun 03 Apr, 2011 20:07 By InformproRe: Some News About Icy Phoenix Development - New Users Class
Private docs / bug tracker ;-). We can access to VIP area but not that.
Sun 03 Apr, 2011 20:12 By spydieRe: Some News About Icy Phoenix Development - New Users Class
TheSteffen wrote: 


EDIT: So you can solve the error

OPEN mysql_basic.sql
Delete
Code: [Hide] [Select]
INSERT INTO `phpbb_config` (`config_name`, `config_value`) VALUES ('cron_lock_hour', '0');
INSERT INTO `phpbb_config` (`config_name`, `config_value`) VALUES ('cron_birthdays_interval', '0');
INSERT INTO `phpbb_config` (`config_name`, `config_value`) VALUES ('cron_birthdays_last_run', '0');


here you are
Sun 03 Apr, 2011 23:13 By Mighty GorgonRe: Some News About Icy Phoenix Development - New Users Class
Yros wrote: [View Post]
Ps: Did one of you achieved to install the last dev' in local ? If yes, how ?

With the suggested fix a NEW INSTALL should work, while UPDATE I still need to fix it (it's not easy because sessions are different, so I should force an update without using sessions).

I will update the repository with the INSTALL fix, I'll fix the UPDATE as soon as I can.
Mon 04 Apr, 2011 14:37 By YrosRe: Some News About Icy Phoenix Development - New Users Class
Thank you both for your quick answer The fix worked and I achieved to install it. First thing I notice : « This board has no forums ». I gonna do further checks and report it there.

Edit :
I checked every single page of the ACP, here are the results : (ONLY the pages, not yet the functions !)
In DB and Security : both DB BackUp and DB Restore are bugged. Here are the screens for DB BackUp and DB Restore
In Users : the page "Disallow Usernames" bugs. I get this : screen
In Attachments : the page "Synchronize Attachments" is kinda strange (no template at all :screen)
In Cracker Tracker : pages "Credits" and "Maintenance & Tests" are unusually long to load.
Every other page seems to work fine. I'll do the same for the CMS and then check the basic functions (create an account, a category / link / forum, a news, ...).

// Just checked the CMS' pages : seems working fine all around. I keep you aware of the next checks.
Mon 04 Apr, 2011 15:42 By spydieRe: Some News About Icy Phoenix Development - New Users Class
DB backup is working fine for me on Local - Xampp.

checking restore now

Restore has the same problems as ever. Duplicate entrys for primary Keys in Bbcode

Spoiler: [ Show ]



BTW :

Recomendation. I don´t know if you like the idea MG.

I recomend, when DB Backup and Restore is fixed, to maybe include a Cron Job for DB Backup. So Users can setup an automatic DB Backup.

I´m running this with MysqlDumper on my sites. So if something goes wrong, you´ll never loose more when 1-2 days
Tue 05 Apr, 2011 16:56 By TheSteffenRe: Some News About Icy Phoenix Development - New Users Class
Yros wrote: [View Post]
In DB and Security : both DB BackUp and DB Restore are bugged.

For me it is working

Yros wrote: [View Post]
In Users : the page "Disallow Usernames" bugs.

Is also working fine for me

Yros wrote: [View Post]
In Cracker Tracker : pages "Credits" and "Maintenance & Tests" are unusually long to load.

Not for me

Tested on "live" Server
Sun 17 Apr, 2011 16:29 By mortRe: Some News About Icy Phoenix Development - New Users Class
I installed the latest from GitHUb a few moments ago - (v1.3.17.70) and it installed Ok with XAMPP.

1. It appears to no longer check if the install folder has been removed or re-named? and I don't see any "Lock" in place to make that unnecessary.

2. Just something minor - "Please remove the install and Contrib folder" - Some Charlie's will be saying next they couldn't install it because they couldn't find the contrib folder!

3. The CMS still controls the .css for borders, backgrounds and headers etc, and imho that's a no-no because it dictates that all theme blocks will be the same irrespective of what's more suitable for any of the "other" styles that one may use. (It happens with the "Portal" cms's that phpBB offer too - And that's why no-one uses them because of their stupid theme system that expects ALL themes to be based on Pro or SubSilver)

4. I don't know why you don't fork phpBB3 and improve on that by making the theme system the same as Icy Phoenix for a start by using VARS etc. You have the brains and the talent to make phpBB a whole lot better than it is - And maybe you could get more time time to yourself by going that way - Because imho you're already heading that way but doing it slowly and painfully.

And to be honest - I switched today to phpBB3 with my own "Easiest of portals" because of the restrictions that both Icy Phoenix and phpBB have with their portals when it comes to using styles that are far removed from the default. Borders, headers and backgrounds suit some, but don't the other.

You can see what I mean here - And yes, Black pearl is amongst them - WITH borders.

http://ozigames.net/forum/portal.php
Sun 17 Apr, 2011 22:53 By Mighty GorgonRe: Some News About Icy Phoenix Development - New Users Class
I should have fixed reported issues... I need to update the repository.

______

mort wrote: [View Post]
1. It appears to no longer check if the install folder has been removed or re-named? and I don't see any "Lock" in place to make that unnecessary.

Removed all checks because (in theory ) once installed there should be no way for non admins to "damage" the site.

mort wrote: [View Post]
2. Just something minor - "Please remove the install and Contrib folder" - Some Charlie's will be saying next they couldn't install it because they couldn't find the contrib folder!

There should be a CONTRIB folder in the final release version. I have removed those files in the repository.

mort wrote: [View Post]
3. The CMS still controls the .css for borders, backgrounds and headers etc, and imho that's a no-no because it dictates that all theme blocks will be the same irrespective of what's more suitable for any of the "other" styles that one may use. (It happens with the "Portal" cms's that phpBB offer too - And that's why no-one uses them because of their stupid theme system that expects ALL themes to be based on Pro or SubSilver)

Sorry, but I do not get this. Can you please explain again?

If a template has no borders, than that switch would be unuseful at all...

mort wrote: [View Post]
4. I don't know why you don't fork phpBB3 and improve on that by making the theme system the same as Icy Phoenix for a start by using VARS etc. You have the brains and the talent to make phpBB a whole lot better than it is - And maybe you could get more time time to yourself by going that way - Because imho you're already heading that way but doing it slowly and painfully.

Thanks for the suggestions (and the compliments ). At the moment I need to finish coding the CMS and then I will decide what to do with the whole project. Maybe rewriting CMS from scratch using a plugins system to add everything else. A lot of work to do though. If I'm lucky enough to find some good coders, this whole job will speed up.
Tue 19 Apr, 2011 06:48 By mortRe: Some News About Icy Phoenix Development - New Users Class
Mighty Gorgon wrote: [View Post]

Sorry, but I do not get this. Can you please explain again?

If a template has no borders, than that switch would be unuseful at all...


I'll try to find the time to have a play and take some snapshots - because you're right - It is difficult to explain.