I have successfully updated my site to Icy Phoenix 2.0 from 1.2.0.27c . I followed the instructions at Readme file, but I founded some problems during the installation. Maybe this could help to some people in the same situation as me, so I will leave hear my installation diary.
Note: If you are going to follow these steps, take care on language:
If I say move file, i don't copy it, and vice versa.
If I say files, I don't refer to folders too. (and vice versa).
"server root" is your public_html folder, or www, de root folder of your server.
"website root" is the root folder of icy_phoenix installation. (where you installed icy)
by default, the actual dir is webiste root.
Update from 1.27:
1.- Locked the site.
2.- rename pafiledb/uploads -> pafiledb/downloads
3.- copied .htaccess and config.php to upper folder (for saving it)
4.- rename files/posted-images -> files/images
5.- removed adm, includes, language, and templates folders.
6.- removed all .php files, all .swf, and extension.inc, favicon.ico, robots.txt, jupload.jar, .htaccess, addform.html
7.- Step 11 of Readme tells: "pay particular attention to custom files and folders like these:" What does this means? particular attention on deleting them? or not deleting them?
What I did was not delete that folders, and as I had a copy of config.php on upper folder, I have restored it. Now, I have a copy upper and my root icy phoenix folder contents, are these:
backup/
cache/
ctracker/
downloads/
images/
logs/
rum/
blocks/
config.php
docs/
files/
pafiledb/
8.- Unpacked icy phoenix on my Hd. Downloaded from here:
9.- Copied all files but config.php (no folders, only files). Instrucctions tells that some items should be replaced, so I think folders need to be copied too.
10.- Copied all folders from icy phoenix package to my icy phoenix folder.
some folders and files inside some folders where replaced.
11.- Permissions applied as said at Readme
12.- copy convert .. .php to root icy phoenix folder.
The first time, It returned something like: [this directive could not be applied]
this was caused because the old config.php (the original from my version 1.2.0.27c) was not in the folder. Here you need to use your own config.php, not the one in the Icy2.0 package.
13.- launched it:
first line returned: ip_acronyms changed to UTF-8.
last line returned: ALTER TABLE ip_xs_news_xml CHANGE xml_speed xml_speed char(2) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '3'
ip_zebra changed to UTF-8.
This steps takes 2- or 3 minutes, in a db of 600 MB. Don't forget to wait for the last line.
14.- deleted conv ... .php from root icy phoenix fodler
15.- run install/database_update.php
Followed the instructions.
At the end, there was some errors on the SQL querys, I looked at them and there was no problem. Most of them were query's that creates columns that exists, or changed for values not found.
16.- All ok, with the errors commented above. Page shows: Your Icy Phoenix is version is up-to-date
17.- run install/install.php
The site was redirected to: http://www.domain.com/ip_root/login...nstall.php&sid="some data deleted by me"
Page showed by browser saids:
config.php could not be found.
Click here to install Icy Phoenix
18.- clicked and gone to the same place. same error.
founded that this error messages cames from common.php at line 166:
require(IP_ROOT_PATH . 'config.' . PHP_EXT);
if(!defined('IP_INSTALLED') && !defined('IN_INSTALL'))
{
die('<p>config.' . PHP_EXT . ' could not be found.</p><p><a href="' . IP_ROOT_PATH . 'install/install.' . PHP_EXT . '">Click here to install Icy Phoenix</a></p>');
//header('Location: ' . IP_ROOT_PATH . 'install/install.' . PHP_EXT);
exit;
}
if(!defined('IP_INSTALLED') && !defined('IN_INSTALL'))
{
die('<p>config.' . PHP_EXT . ' could not be found.</p><p><a href="' . IP_ROOT_PATH . 'install/install.' . PHP_EXT . '">Click here to install Icy Phoenix</a></p>');
//header('Location: ' . IP_ROOT_PATH . 'install/install.' . PHP_EXT);
exit;
}
at config.php the var definition is like this:
I think that here's the error, so i changed config.pho to:
and try again:
- the site redirected me to login page again but without errors. I saw the default login page. (the site wants to check if I am admin)
- I used my user and password (off course I am admin).
- the site redirected me to the wrong url : _install/install.php
- off course, I do not have any _install folder, so I changed the URL to: install/install.php
the result was that a message appeared in a apparently good working icy phoenix 2.0 that told me:
You are not authorized to view this page.
- clicked on Forum (at the nav bar) and it took me to: ../../forum.php
(off course, forum.php is not there. The root folder is wrong )
- I corrected it to the right url, and everything seems to work OK.
- I reenable the site and I am moving around there to check if everything is ok.
Now everything seems ok.
I hope this can Help someone, and maybe the errors reported by me, could be solved!