https://www.icyphoenix.com/viewtopic.php?f=1&t=7755
-----------------------------------
Mighty Gorgon
Fri 01 Apr, 2011 01:23

Some News About Icy Phoenix Development - New Users Class
-----------------------------------
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_phoenix/commit/09f38bc88da3f1848de13f9ce67265e73a7e0995
[i]Showing 340 changed files with 6,242 additions and 4,567 deletions.[/i]

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


-----------------------------------
TheSteffen
Sat 02 Apr, 2011 12:00

Re: Some News About Icy Phoenix Development - New Users Class
-----------------------------------
Thanks MG for your work,
I am going to test some things  :mricy:


-----------------------------------
portalpez
Sun 03 Apr, 2011 10:00

Re: Some News About Icy Phoenix Development - New Users Class
-----------------------------------
Thanks a lot MG for your work,  :loveit:


-----------------------------------
Yros
Sun 03 Apr, 2011 19:23

Re: 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'[/quote]
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()[/quote]
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 ?


-----------------------------------
spydie
Sun 03 Apr, 2011 20:06

Re: Some News About Icy Phoenix Development - New Users Class
-----------------------------------
solution

posted in Bugs http://www.icyphoenix.com/show_post.php?p=52235


-----------------------------------
Informpro
Sun 03 Apr, 2011 20:07

Re: Some News About Icy Phoenix Development - New Users Class
-----------------------------------
Private docs / bug tracker ;-). We can access to VIP area but not that.


-----------------------------------
spydie
Sun 03 Apr, 2011 20:12

Re: Some News About Icy Phoenix Development - New Users Class
-----------------------------------
[quote user="TheSteffen"]

EDIT: So you can solve the error

OPEN [b]mysql_basic.sql[/b]
Delete
[codeblock]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');[/codeblock][/quote]

here you are


-----------------------------------
Mighty Gorgon
Sun 03 Apr, 2011 23:13

Re: Some News About Icy Phoenix Development - New Users Class
-----------------------------------
[quote user="Yros" post="52262"]Ps: Did one of you achieved to install the last dev' in local ? If yes, how ?[/quote]
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.


-----------------------------------
Yros
Mon 04 Apr, 2011 14:37

Re: 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.

[b]Edit :[/b]
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 [url=http://d24.e-loader.net/XpOc2xf4sX.png]DB BackUp and [url=http://d25.e-loader.net/speI1yE6dp.png]DB Restore
In Users : the page "Disallow Usernames" bugs. I get this : [url=http://d23.e-loader.net/mRmXfpeeWg.png]screen
In Attachments : the page "Synchronize Attachments" is kinda strange (no template at all :[url="http://www.e-loader.net/image:QG4X75CaV2.png"]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.


-----------------------------------
spydie
Mon 04 Apr, 2011 15:42

Re: 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]SQL ERROR [ mysql4 ]

Duplicate entry '3' for key 'PRIMARY' [1062]

SQL

INSERT INTO mods_bbcodes (bbcode_id, bbcode_tag, bbcode_helpline, display_on_posting, bbcode_match, bbcode_tpl, first_pass_match, first_pass_replace, second_pass_match, second_pass_replace) VALUES (3, 'yy3', '', 0, '[yy3]{TEXT}[/yy3]', '<object style=\"margin:0px\" width=\"620\" height=\"500\">\n <param name=\"movie\" value=\"http://static.slideshare.net/swf/ssplayer2.swf?{TEXT}\" />\n <param name=\"allowFullScreen\" value=\"true\"/>\n <param name=\"allowScriptAccess\" value=\"always\"/>\n <embed src=\"http://static.slideshare.net/swf/ssplayer2.swf?{TEXT}\" type=\"application/x-shockwave-flash\" allowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"620\" height=\"500\"></embed>\n </object>', '!\\[yy3\\](.*?)\\[/yy3\\]!ies', '\'[yy3]\'.str_replace(array(\"\\r\\n\", \'\\\"\', \'\\\'\', \'(\', \')\'), array(\"\\n\", \'\"\', \''\', \'(\', \')\'), trim(\'${1}\')).\'[/yy3]\'', '!\\[yy3\\](.*?)\\[/yy3\\]!s', '<object style=\"margin:0px\" width=\"620\" height=\"500\">\n <param name=\"movie\" value=\"http://static.slideshare.net/swf/ssplayer2.swf?${1}\" />\n <param name=\"allowFullScreen\" value=\"true\"/>\n <param name=\"allowScriptAccess\" value=\"always\"/>\n <embed src=\"http://static.slideshare.net/swf/ssplayer2.swf?${1}\" type=\"application/x-shockwave-flash\" allowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"620\" height=\"500\"></embed>\n </object>')

BACKTRACE

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

FILE: adm/admin_db_backup.php
LINE: 391
CALL: sql_db->sql_query()
[/spoiler]


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


-----------------------------------
TheSteffen
Tue 05 Apr, 2011 16:56

Re: Some News About Icy Phoenix Development - New Users Class
-----------------------------------
[quote user="Yros" post="52284"]In DB and Security : both DB BackUp and DB Restore are bugged.[/quote]
For me it is working

[quote user="Yros" post="52284"]In Users : the page "Disallow Usernames" bugs.[/quote]
Is also working fine for me

[quote user="Yros" post="52284"]In Cracker Tracker : pages "Credits" and "Maintenance & Tests" are unusually long to load.[/quote]
Not for me  :D 

Tested on "live" Server


-----------------------------------
mort
Sun 17 Apr, 2011 16:29

Re: 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 [b][i]Contrib[/i][/b] folder" - Some Charlie's will be saying next they couldn't install it because they couldn't find the contrib folder!  :mryellow: 

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. [b][i](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)[/i][/b] :(

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. :P

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


-----------------------------------
Mighty Gorgon
Sun 17 Apr, 2011 22:53

Re: Some News About Icy Phoenix Development - New Users Class
-----------------------------------
I should have fixed reported issues... I need to update the repository.

______

[quote user="mort" post="52484"]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.[/quote]
Removed all checks because (in theory :mri: ) once installed there should be no way for non admins to "damage" the site.

[quote user="mort" post="52484"]2. Just something minor - "Please remove the install and [b][i]Contrib[/i][/b] folder" - Some Charlie's will be saying next they couldn't install it because they couldn't find the contrib folder!  :mryellow: [/quote]
There should be a CONTRIB folder in the final release version. I have removed those files in the repository.

[quote user="mort" post="52484"]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. [b][i](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)[/i][/b] :( [/quote]
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...

[quote user="mort" post="52484"]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. :P[/quote]
Thanks for the suggestions (and the compliments :mri: ). 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.


-----------------------------------
mort
Tue 19 Apr, 2011 06:48

Re: Some News About Icy Phoenix Development - New Users Class
-----------------------------------
[quote user="Mighty Gorgon" post="52488"]
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...[/quote]

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


