1
rostokus
xcenter - problem with installation
  • 2009/6/5 12:16

  • rostokus

  • Just popping in

  • Posts: 5

  • Since: 2007/9/5 1


Hi! When I install in modules Xcenter I got an error from MySQL:

SELECT center_id, title, homepage, submenu FROM xcenter WHERE homepage='0' AND submenu='1' order by `weight`
Error number: 1146
Error message: Table 'uad.xoops_xcenter' doesn't exist
CREATE TABLE xcenter ( center_id int(16) NOT NULL auto_increment, parent_id int(16) NOT NULL default '0', weight int(8) unsigned NOT NULL default '0', title varchar(255) NOT NULL default '', summary varchar(560) NOT NULL default '', keywords varchar(2000) NOT NULL default '', text text default NULL, visible tinyint(1) NOT NULL default '0', homepage tinyint(1) NOT NULL default '0', nohtml tinyint(1) NOT NULL default '0', nosmiley tinyint(1) NOT NULL default '0', nobreaks tinyint(1) NOT NULL default '0', nocomments tinyint(1) NOT NULL default '0', anonymous tinyint(1) NOT NULL default '1', link tinyint(1) NOT NULL default '0', address varchar(255) default NULL, submenu tinyint(1) NOT NULL default '0', PRIMARY KEY (center_id, weight, title(20)) ) TYPE=MyISAM
Error number: 1074
Error message: Column length too big for column 'summary' (max = 255); use BLOB or TEXT instead


Please help me to solve the problem.

p.s. Xoops-2.3.3
Xcenter -1.09
MySQL - 4.1.22

2
sailjapan
Re: xcenter - problem with installation

are you running php5?
Never let a man who does not believe something can be done, talk to a man that is doing it.

3
ghia
Re: xcenter - problem with installation
  • 2009/6/5 15:49

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


PHP5 or not will be not the problem.
Real question is what is the MySQL version?

4
rostokus
Re: xcenter - problem with installation
  • 2009/6/7 7:17

  • rostokus

  • Just popping in

  • Posts: 5

  • Since: 2007/9/5 1


MySQL - 4.1.22

5
ghia
Re: xcenter - problem with installation
  • 2009/6/7 8:00

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Best is to move to a host with MySQL 5 (maybe your hoster can give you access to a MySQL 5 database if you ask).
If not replace in the SQL file (/sql/mysql.sql) all 'varchar(560)' where the number is biggger than 255 with 'text'.

Login

Who's Online

247 user(s) are online (85 user(s) are browsing Support Forums)


Members: 0


Guests: 247


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits