Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
New Posts New Topics All Posts All Forums Index General Modules Themes Development International XOOPS.org

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $65.00
Net Balance: $61.80
Left to go: $38.20

Donations
studioC  ($25)May-17
Anonymous ($15)May-16
Anonymous ($25)May-4

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

2 2.5 2.6 3.0 2013 Abuse adslight AntiHarvesting AntiMalUser AntiSpam API Australia Ban banner Beats billige black Blocks blue Captcha cell Christmas chronolabs content Conversion database demo docek download Dresses editor evden eve facebook Federated floor free Gateway herre Honeypot Human IP jQuery kantor lamps Legal log logger mobile module modules Monster MyAlbum-p Networks newbb news Notices online PageRank pdf Permissions pink Plugin portal Prevention profile project Protector publisher release Rights rmcommon Room sale security SERIAL Server site Smarty Spam statistics stem Studio tag tags tdmcreate template Theme themes userlog website Whitepaper XML XooLaT xoops Xoopspoll Xortify xthemes Yolande ZendFramework

New Users

Registering user

# 136005

bluestarsdie

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  Register To Post



#1 Posted on: 2008/12/18 13:38 upgrade from 2.2.4 to 2.3.2b was failed
i dont know if its a bug or not but after upgrade i lost all custom blocks. via phpmyadmin i see xoops_newblocks table is EMPTY.

i have this error in cnt-2.2.x-to-2.3.0::
INSERT INTO xoops_newblocks (bid, mid, options, name, title, side, weight, visible, func_num, block_type, c_type, isactive, dirname, func_file, show_func, edit_func, template, bcachetime, last_modified) SELECT i.instanceid, c.mid, i.options, c.name, i.title, i.side, i.weight, i.visible, 1, CASE WHEN c.show_func='b_system_custom_show' THEN 'C' ELSE 'D' END, CASE WHEN c.c_type='' THEN 'H' ELSE c.c_type END, c.isactive, c.dirname, c.func_file, c.show_func, c.edit_func, c.template, i.bcachetime, c.last_modified FROM xoops_block_instance AS i, xoops_newblocks_bak AS c WHERE i.bid = c.bid AND i.instanceid = 271
Error number: 1054
Error message: Unknown column 'c.c_type' in 'field list'


php 5.2.6

mysql 5.0.51

Top


Ready for Romance
First Persian Harry Potter Site(English added) | Persian Support Site | Xoops Persian Project
irmtfan
XOOPS is my life!
XOOPS is my life!
Joined:
2003/12/7 14:14
From In the middle of nowhere
Group:
Registered Users
Community Coordinator (temporary)
Posts: 3293
(Show More) (Show Less)


#2 Posted on: 2008/12/18 13:54 Re: upgrade from 2.2.3 to 2.3.2b was failed
You can check here to see if there is a solution for you.
I ended up re-creating the custom blocks and haven't had a problem since.

Top


Optimism is the mother of disappointment.
GPboarder
Friend of XOOPS
Friend of XOOPS
Joined:
2006/10/5 21:53
From Ontario, Canada
Group:
Registered Users
Posts: 245
(Show More) (Show Less)


#3 Posted on: 2008/12/18 14:10 Re: upgrade from 2.2.3 to 2.3.2b was failed
Does your original table xoops_newblocks not have a field named c_type?


Top


The art of asking questions.
ghia
Community Support Member
Community Support Member
Joined:
2008/7/3 14:19
From Belgium
Group:
Registered Users
Posts: 4946
(Show More) (Show Less)


#4 Posted on: 2008/12/18 20:48 Re: upgrade from 2.2.3 to 2.3.2b was failed
by installing a fresh 2.2.3 in local create one custom block and upgrade to 2.3.2b everything goes smooth.

but my running site has more than 50 custom blocks with a +500MB database. i still work on it to see what is the problem.

to ghia: no in 2.2.3 xoops_newblocks table dont has a 'c_type' field.


Top


Ready for Romance
First Persian Harry Potter Site(English added) | Persian Support Site | Xoops Persian Project
irmtfan
XOOPS is my life!
XOOPS is my life!
Joined:
2003/12/7 14:14
From In the middle of nowhere
Group:
Registered Users
Community Coordinator (temporary)
Posts: 3293
(Show More) (Show Less)


#5 Posted on: 2008/12/18 21:07 Re: upgrade from 2.2.3 to 2.3.2b was failed
Then it seems the update procedure is not valid for at least the first half 2.2.x series.

You should upgrade first with the normal 2.2.x releases to a later version, eventualy to 2.2.6 and then retry the upgrade to 2.3.2b .

Maybe the upgrade will work also when changing the lines
"        CASE WHEN c.c_type='' THEN 'H' ELSE c.c_type END," .
and
"        CASE WHEN c_type='' THEN 'H' ELSE c_type END," .
in /upgrade/cnt-2.2.x-to-2.3.0/index.php to
"        'H'," .




Top


The art of asking questions.
ghia
Community Support Member
Community Support Member
Joined:
2008/7/3 14:19
From Belgium
Group:
Registered Users
Posts: 4946
(Show More) (Show Less)


#6 Posted on: 2008/12/18 21:23 Re: upgrade from 2.2.3 to 2.3.2b was failed
yes the issue is exactly this. you describe it perfectly.
i can see c_type is exist in 2.2.3 final in my local.
but my running site is 2.2.4 and it doesnt have c_type.
it seems i should upgrade to the latest 2.2 first.

i edit the title of this topic because it seems this problem comes with 2.2.4

Top


Ready for Romance
First Persian Harry Potter Site(English added) | Persian Support Site | Xoops Persian Project
irmtfan
XOOPS is my life!
XOOPS is my life!
Joined:
2003/12/7 14:14
From In the middle of nowhere
Group:
Registered Users
Community Coordinator (temporary)
Posts: 3293
(Show More) (Show Less)







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.

[Advanced Search]