Some Errors After Upgrade? »  Show posts from    to     

Icy Phoenix


Old Support Topics - Some Errors After Upgrade?



batman [ Sat 26 Feb, 2011 09:28 ]
Post subject: Some Errors After Upgrade?
Hya fellas I managed to downgrade my other integra site and then upgraded it to IP.
Had a fiew initial problems with these below for some reason they didn't get inserted?
So have inserted them from my DB backup
These are the ones that didn't get inserted, as you can see the file names had gotten changed somewhere in the process so couldn't insert

Code: [Hide] [Select]
_old_phpbb_categories 8 MyISAM latin1_swedish_ci 3.5 KiB -
_old_phpbb_forums 228 MyISAM latin1_swedish_ci 42.7 KiB -
_old_phpbb_posts 176,729 MyISAM latin1_swedish_ci 18.2 MiB -
_old_phpbb_posts_text 176,728 MyISAM latin1_swedish_ci 96.5 MiB -
_old_phpbb_privmsgs 33,811 MyISAM latin1_swedish_ci 3.1 MiB -
_old_phpbb_privmsgs_text 33,811 MyISAM latin1_swedish_ci 7.8 MiB -



Below is an error I'm getting, I'm also now using the latest ip_20110224_13053b, would it be best to start the upgrade from the beginning or try to sort these errors?


Code: [Hide] [Select]
Couldn't access list of unread posts from forums

DEBUG MODE

SQL Error : 1054 Unknown column 't.title_compl_infos' in 'field list'

SELECT p.forum_id, p.topic_id, p.post_time, p.post_username, u.username, u.user_id, u.user_active, u.user_color, t.topic_poster, t.topic_last_post_id, t.topic_title, t.title_compl_infos FROM ((phpbb_posts p LEFT JOIN phpbb_topics t ON t.topic_id = p.topic_id AND t.forum_id = p.forum_id AND t.topic_moved_id = 0) LEFT JOIN phpbb_users u ON u.user_id = p.poster_id) WHERE (p.post_time > 1298700797 OR p.post_id IN (214806, 214910, 90190, 215322, 215335, 215334, 214970, 215064, 213787, 215148, 215114, 208918, 150591, 144366, 152579, 214627, 215303, 214615, 215091, 208462, 212351, 215157, 214018, 215090, 214640, 199369, 212735, 215299, 113171, 72744, 85963, 194340, 189708, 213402, 109088, 85151, 101741, 75157, 117031, 141286, 166935, 214668, 211341, 159186, 212774, 214663, 212930, 161082, 214333, 215041, 203483, 102439, 215252, 184918, 116584, 121869, 126718, 129163, 129120, 131762, 127537, 130005, 119460, 127386, 125650, 127566, 123167, 125490, 116970, 126717, 127299, 129133, 119203, 214016, 215321, 215337, 214936, 214886, 215165, 11731, 212329, 105024, 140095, 169402, 104874, 118468, 212362, 152640, 196077, 215253, 206214, 215050, 213706, 149864, 160587, 154118, 156337, 164900, 167654, 197713, 182923, 167715, 166017, 152853, 167636, 167408, 166677, 151307, 154410, 212315, 214650, 214400, 214607, 201573, 214679, 166293, 167628, 163663, 168872, 214865, 182549, 177610, 215244, 214558, 208479, 193887, 187171, 194142, 188336, 183514, 192578, 194262, 187180, 192340, 184461, 188122, 188096, 184878, 190342, 192153, 193729, 215009, 214900, 191841, 197478, 190788, 195305, 191092, 194003, 215174, 193011, 192861, 215092, 215329, 215258, 215316, 211995, 213467, 210797, 208359, 208042, 207998, 213729, 214732, 205836, 211232, 215331, 211819, 214933, 211383, 211242, 215330, 212973)) AND p.post_id = t.topic_last_post_id

Line : 575
File : functions_categories_hierarchy.php


mort [ Sat 26 Feb, 2011 10:06 ]
Post subject: Re: Some Errors After Upgrade?
Did you per chance:

Log in as Admin

Lock your forum

Install you modified Db with phpMyAdmin

Go to /install/database_update.php

Rename /install/ to /_install/

Go to /_install/install.php

And follow the prompts?


batman [ Sat 26 Feb, 2011 10:46 ]
Post subject: Re: Some Errors After Upgrade?
I did Mort but didn't go _install/install.php were does it say to do that mate?

I followed this, with one exception when I did that it just kept redirecting to install even though I had renamed install to installdone, then I had to reopen the install so I could run those links it gives, that's probably whats messed it up?
Ill try another day, got all the backups and now reinstated the integra until I get another chance to have a play.


How To Upgrade From phpBB 2
Readme[/quote]


spydie [ Sat 26 Feb, 2011 12:14 ]
Post subject: Re: Some Errors After Upgrade?
have a look at config.php

if it say´s

define('IP_INSTALLED', true);


mort [ Sat 26 Feb, 2011 18:10 ]
Post subject: Re: Some Errors After Upgrade?
batman wrote: [View Post]
I did Mort but didn't go _install/install.php were does it say to do that mate?


batman [ Sat 26 Feb, 2011 18:47 ]
Post subject: Re: Some Errors After Upgrade?
Hya mort, I followed what MG posted on the upgrade thread I posted.
Agreed though best to read everything


spydie [ Sat 26 Feb, 2011 19:01 ]
Post subject: Re: Some Errors After Upgrade?
Spoiler: [ Show ]


this is old data. the new data ( posts and posts_text get merged to posts, privmsgs and privmsgs_text merged in privmsgs) should be in phpbb_posts, phpbb_categories and phpbb_privmsgs .

you should try to do quicksettings after update.


batman [ Sat 26 Feb, 2011 19:38 ]
Post subject: Re: Some Errors After Upgrade?
If your used to doing these kinds of tasks or being a coder may help then most things are probably self explanatory.
Most people using IP just want to run a website and are not coders or used to doing all the tech stuff.
I'm fortunate that I have a reasonable basic understanding of how some of it works, but am struggling with a lot of it, maybe its the way its worded/explained? I think this will put the majority of site owners off from using IP

Don't get me wrong, once IP is up and running and set out the way you like it (installed from a fresh install and a new site with nothing to import to it), it is an awesome platform to use, I love it, but many wont get that far especially if they already have a site they want to convert over to IP.

I think the problem is this below needs to be more detailed in exactly what you need to do as this is what I followed.

Spoiler: [ Show ]


spydie [ Sat 26 Feb, 2011 19:41 ]
Post subject: Re: Some Errors After Upgrade?
number 10 means all files in root folder(main folder) but not the folders nor config.php

and folder pafield_db disapeared in .53 , it´s in downloads now i think


batman [ Sat 26 Feb, 2011 20:36 ]
Post subject: Re: Some Errors After Upgrade?
Hya spydie, any ideas were the install and upgrade documents are located, I have checked in documentation but not in there.
The link should be included in the install files for reference?


mort [ Sat 26 Feb, 2011 21:11 ]
Post subject: Re: Some Errors After Upgrade?
batman wrote: [View Post]
Hya mort, I followed what MG posted on the upgrade thread I posted.
Agreed though best to read everything


I owe you an apology.

I had read those docs and from memory I believed that the same rules applied for all because simply altering the "old" database with the upgrade file doesn't appear to finish it off properly when a few other things also need to be done.

But the upgrade from phpBB2 doesn't say that when those extra options should be applied to finish the whole thing off.



Quote:
Hya spydie, any ideas were the install and upgrade documents are located


They are released with the download of Icy Phoenix. - They're in the IP .zip folder you downloaded from here in the sub-folder /docs/*.*

Only if you wish- Zip up a copy of your ORIGINAL Inegra mod database and make it available for me to have a look at. I don't need passwords or admin name etc, just the Dump.

From my point of view, this should have taken less than a couple of hours at the most - not a week....


spydie [ Sat 26 Feb, 2011 21:46 ]
Post subject: Re: Some Errors After Upgrade?
if everything runs fine, it should take 30 minutes max ( depending on DB size).

the template edits, come afterwards.


batman [ Sat 26 Feb, 2011 23:30 ]
Post subject: Re: Some Errors After Upgrade?
yeh it didn't take long at all to do, its just when I followed all the steps on the guide that MG posted, it says that's all you have to do but all was getting was this page.
The only way I could make the site work was rename install so it would open again as I had renamed it installdone, then run a couple of the links it provides in the pick below, think I did posts and something ells possibly related to functions?, o yes also rename the image paths etc or whatever it says its going to do.
I assumed these were what needed to be changed manually as mentioned last step in the upgrade guide?

26_02_2011_03_55_41_1298759025_186868


spydie [ Sun 27 Feb, 2011 00:09 ]
Post subject: Re: Some Errors After Upgrade?
run the constants thing in install, afterwards go to the ACP and do the quicksettings


batman [ Sun 27 Feb, 2011 00:14 ]
Post subject: Re: Some Errors After Upgrade?
I will give that a go, thanks

Mort ill see how I go with a second go and if it still plays up ill send you the DB mate, cheers

EDIT:

Just reading the upgrade procedures again, I would say the only part that needs more details on exactly what you need to do is

Code: [Hide] [Select]
13.Customize what needs to be customized in files and db (some files needs to be edited manually, while most of the options may be set in ACP and CMS).


That section should explain exactly what should/may require editing and just as important (what not to do) when on the install page I posted, Im just guessing but I think me running some of those procedures were what set some of my files to old so intern were not inserted in to the database.

The last thing you should have to do with step by step procedures is to have to assume how to do something.

EDIT AGAIN:

It appears that when I'm doing a full export of my integra DB its not exporting everything as some categories are missing when I insert what I have in the basic phpbb2, either that or phpbb2 isn't inserting the data?

The integra categories from original site

27_02_2011_00_16_22

PHPBB2 after inserting categories, topics, forums users post text etc. etc. but some categories are missing

27_02_2011_00_18_12
27_02_2011_00_18_52
27_02_2011_00_19_59

Think ill start right from the beginning with a new install of the pfpbb2 rather than from the backup files of it and then drop and reinsert the same files from integra, see if there is any difference




EDIT 3:

Just got the IP running and will see how it goes


mort [ Sun 27 Feb, 2011 05:20 ]
Post subject: Re: Some Errors After Upgrade?
batman wrote: [View Post]

EDIT 3:

Just got the IP running and will see how it goes


So what was different this time.


batman [ Sun 27 Feb, 2011 06:09 ]
Post subject: Re: Some Errors After Upgrade?
mort wrote: [View Post]
batman wrote: [View Post]

EDIT 3:

Just got the IP running and will see how it goes


So what was different this time.


Hya mate nothing still no phpbb_posts_text
When you do the innitial db update as in the install folder, for some reason its renaming some tables i.e.
Code: [Hide] [Select]
_old_phpbb_categories 8 MyISAM latin1_swedish_ci 3.5 KiB -
_old_phpbb_forums 228 MyISAM latin1_swedish_ci 42.7 KiB -
_old_phpbb_posts 176,797 MyISAM latin1_swedish_ci 18.2 MiB -
_old_phpbb_posts_text 176,796 MyISAM latin1_swedish_ci 96.6 MiB -
_old_phpbb_privmsgs 33,726 MyISAM latin1_swedish_ci 3.1 MiB -
_old_phpbb_privmsgs_text 33,726 MyISAM latin1_swedish_ci 7.8 MiB -


For some strange reason though its not creating a new phpbb_posts_text so obviously no text is inserted.
I just cant way it up as all the text was in place on the phpbb2 board so should still be in place? but isn't Do you think if I rename _old_phpbb_posts_text >>> phpbb_posts_text that would work, or even export it rename then insert? but to be honest I reckon I'm going to get the errors like post#1 of this thread
Just noticed there is no phpbb_privmsgs_text either

This is the test board upgraded http://www.british-birds-in-avicult...stest/index.php
Table structure below

Spoiler: [ Show ]


mort [ Sun 27 Feb, 2011 07:07 ]
Post subject: Re: Some Errors After Upgrade?
batman wrote: [View Post]

When you do the innitial db update as in the install folder, for some reason its renaming some tables i.e. _old_phpbb_categories


It's supposed to do that - cache the old - write the new - rename the original to old.

Did you run through the _/install/install.php bit, and if so, I'm not sure what's going on now.

Send me a dump, that may be the easiest way.


batman [ Sun 27 Feb, 2011 08:21 ]
Post subject: Re: Some Errors After Upgrade?
Hya Mort, yes I ran the _/install/install.php and did most of the procedures except the posts and signatures as I wasn't sure what to do with those 2.

I have included a link for the SQL file, its quite large 30MB and is the full db for the upgraded IP



Let me know when you have it then I can remove the link
Much appreciate this mate


spydie [ Sun 27 Feb, 2011 09:06 ]
Post subject: Re: Some Errors After Upgrade?
Batman

posts_text and posts are soposed to be merged in one posts table.

same should happen with pivmsgs and privmsgs_text

The update is sopposed to merge these tables


batman [ Sun 27 Feb, 2011 09:42 ]
Post subject: Re: Some Errors After Upgrade?
Hya spydie, that would explain why its not inserted the tables, but at a loss to why its not inserted any text.
Do you know the procedure to merge them manually?


EDIT:

Just checked and the pm text is in there, so just the post text not inserted


spydie [ Sun 27 Feb, 2011 11:02 ]
Post subject: Re: Some Errors After Upgrade?
are you trying to move directly from phpBB2 to 1.3.0.53a??


try doing the conversion phpbb2 - 1.2.0.27c - 1.3.0.53a

i had similar problems converting an phpbb2 site of a client


batman [ Sun 27 Feb, 2011 11:38 ]
Post subject: Re: Some Errors After Upgrade?
I have a plan but not sure how to do it I have exported the _old_phpbb_posts table and imported it to another database.
The plan is to rename to phpbb_posts then export as an update or replace as it has all the post text within it.
Trouble is I'm not sure how to rename it, any ideas?

EDIT:
Well I'm halfway there, I managed to rename the table and then inserted it, I have all the posts now but the posts don't have any text in them

Does anybody know how I can merge these tables?
phpbb_posts
phpbb_posts_text


mort [ Sun 27 Feb, 2011 12:47 ]
Post subject: Re: Some Errors After Upgrade?
batman wrote: [View Post]
I have included a link for the SQL file, its quite large 30MB and is the full db for the upgraded IP


30mb is a "small" file with the speed I use and what I'm connected to.

Mate - NEVER make your db available in public - Even part time Hackers will love you for it.

And while I typed this - your download is finished - So you can remove it.

It's also 10-30pm here - So it looks like a morning job after I see what your latest development is.


batman [ Sun 27 Feb, 2011 23:06 ]
Post subject: Re: Some Errors After Upgrade?
spydie wrote: [View Post]
are you trying to move directly from phpBB2 to 1.3.0.53a??


try doing the conversion phpbb2 - 1.2.0.27c - 1.3.0.53a

i had similar problems converting an phpbb2 site of a client


Hya spydie, were can I get a copy of 1.2.0.27c in the downloads it just redirects to latest


spydie [ Mon 28 Feb, 2011 00:24 ]
Post subject: Re: Some Errors After Upgrade?
http://www.icyphoenix.es/icy-phoenix-1-2-0-27c-df131.html

comes in spanish and default english


batman [ Mon 28 Feb, 2011 00:40 ]
Post subject: Re: Some Errors After Upgrade?
Thanks spydie, Im going to give this a try


mort [ Mon 28 Feb, 2011 02:51 ]
Post subject: Re: Some Errors After Upgrade?
batman wrote: [View Post]
Thanks spydie, Im going to give this a try


I doubt that it is going to be that simple because inserts have been either dropped, added or moved.

But,

This should give you some idea as to where to start cleaning up the "old" tables.

ALTER TABLE `_old_phpbb_posts_text` DROP `bbcode_uid`;

And ONLY upload the INSERT values to your test forum - AFTER you have dropped any inserts that may currently be there.

There will or may be other things that need to be done. But I did ask for an ORIGINAL COPY of your Integra Mod DB and not something that you have been playing with and changing.

For me to do it it will cost you some dollars, so I wish you the best of luck.


batman [ Mon 28 Feb, 2011 03:30 ]
Post subject: Re: Some Errors After Upgrade?
I have 2 version installed on different test sites now lol
The one upgraded to the latest IP phpBB2 >> 1.3.0.53a were I'm having trouble inserting the text.

The second is phpbb2 >> 1.2.0.27c all looks good other than the error below, Id say I need to drop a few bits? but the posts are there just cant access them due to the error.

Spoiler: [ Show ]


Mort I can send the original no problem, Ive been in and out of so many things I thought that was the original I sent, but just checked and is in fact the DB for the upgraded phpBB2 >> 1.3.0.53a.

I may be interested in paying to have this sorted but depends on price mate as this is a free site I run, pm me a price and we can go from there.
I don't mind doing the hard work or putting the time in its just a case of knowing exactly what I need to do, I'm on my 3rd sleepless night now trying to sort this

EDIT:
Just remembered on integra there is a little feature called drop all user signatures within the general configuration, I'm going to try see if that sorts anything


spydie [ Mon 28 Feb, 2011 09:13 ]
Post subject: Re: Some Errors After Upgrade?
batman wrote: [View Post]

Just remembered on integra there is a little feature called drop all user signatures within the general configuration, I'm going to try see if that sorts anything


That will change some thing´s probably

give it a try.

does´nt matter, if users have to put their sig´s in again


mort [ Mon 28 Feb, 2011 10:43 ]
Post subject: Re: Some Errors After Upgrade?
batman wrote: [View Post]
I may be interested in paying to have this sorted but depends on price mate as this is a free site I run, pm me a price and we can go from there.


It may be a free site, but there's no such thing as a free hobby!

As for paying - Take that up with MG, as I've decided that Icy Phoenix is too heavy for what I'm doing, or going to do (Where the forum is an ADD-On rather than the main attraction) - So I'll give it a miss.

But it has been some kind of an experience that I'll remember - -

Just some friendly advice.

Your first question here should have been something like "I want to migrate from Integra Mod to Icy Phoenix, has anyone ever done this here, and if not how should I go about it?" instead of telling people what you have done that doesn't work and asking how one should go about fixing it?

Free help - not only has time constraints on those supplying it, it also has its limits of patience.

Sometimes, it's better to pay someone to do it for you.


batman [ Mon 28 Feb, 2011 13:50 ]
Post subject: Re: Some Errors After Upgrade?
Mort you have totally lost me, I did ask about initially converting and was advised to do it from a phpbb2 setup, so I downgraded the integra to a phpbb2

Titled "Converting From Other Portal System To Icy?"
http://www.icyphoenix.com/viewtopic.php?f=2&t=7658

As you may know most PHPBB2 portals are pretty standard with a few mods so the upgrade from integra would have been pretty straight forward as the structure is the same, icy is different as its heavily edited as well as a few mods, this is why Ive had some problems.
All Ive done is tried to be honest with what I have done and the results.
I'm new to IP so going to have some teething problems.

The point is though I don't claim to be a know it all, the only way to learn is by asking and reading and more importantly if you have a basic idea then have a go yourself, its the only way to learn.
You offered to look at the db, yes my fault I sent the wrong one and then DID say I would pay but stated the fact it is a free site I run and just being realistic.

IP is a lot different to what I'm used to using so bound to get some teething problems
I wish "I" lived in a perfect world
Lets not forget this is in the support section, so people are going to have basic support questions.


spydie [ Wed 18 May, 2011 13:33 ]
Post subject: Re: Some Errors After Upgrade?
This is an old Topic,

and already Fixed


mort [ Wed 18 May, 2011 13:47 ]
Post subject: Re: Some Errors After Upgrade?
spydie wrote: [View Post]
This is an old Topic,

and already Fixed



And chenyixiu is a SPAMMER! Check out the links it's posted?


Joshua203 [ Wed 18 May, 2011 15:13 ]
Post subject: Re: Some Errors After Upgrade?
Spammer posts removed and banned.. thanks for reporting




Powered by Icy Phoenix