1
draj
zentrackXoops 2.6.0.4 RC1: Installation problems
  • 2006/2/24 9:09

  • draj

  • Quite a regular

  • Posts: 271

  • Since: 2005/6/23


Hallo Dkeir!

I have problems to install zentrackXoops 2.6.0.4 RC1. Following is the error shown:

-------------
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'xoops_( user_id int(12) not null default '0', prefname varc
-------------

Following are some details of the env:

Xoops version 2.2.4

PHP Version::4.3.7
MySQL Version::4.0.18-standard-log
XOOPS Version::XOOPS 2.2.4
safemode:ON
register_globals:ON
magic_quotes_gpc:ON
XML extension:ON
MB extension:ON

I really have my doubts if this is a MySQL error, which you suspected. I think it could be a table_prefix error as it says. I have seen that the zentrack scripts for XOOPS do not use table prefix. Does it work that way?

Any ideas?

2
dkeir
Re: zentrackXoops 2.6.0.4 RC1: Installation problems
  • 2006/2/25 10:35

  • dkeir

  • Just popping in

  • Posts: 85

  • Since: 2005/2/17


Hi Deepy,

I've tried XOOPS 2.2.3 and on 2.2.4 and everything installed fine for me. I've have a couple of servers with MySql 3.23 and 4.1 and have had no problems with either. I still need to try MySql 4.0.

I'm still sure it's MySql coz the error you've got happens at around line 197 or 198 of the ./zentrack/sql/mysql.sql which means that at least another 11 tables have already been created.

It's weird, this is the CREATE statement that you're experiencing problems with:


create table zentrack_preferences (
user_id int(12) not null default '0',
prefname varchar(25),
prefval varchar(50),
index (user_id)
) type=myisam;


but there's nothing wrong with it as far as I can see (maybe someone else out there knows something different???)

As I said, I'll try and test 4.0 MySQL just to make sure something isn't different about that particular version.

If you are able, could you please try creating that table manually using the syntax above (using phpmyadmin or something), and also remove that section from ./zentrack/sql/mysql.sql and rerun the install to see if anything else falls over.

Cheers
Duncs

3
draj
Re: zentrackXoops 2.6.0.4 RC1: Installation problems
  • 2006/2/25 11:02

  • draj

  • Quite a regular

  • Posts: 271

  • Since: 2005/6/23


Hallo!

It did not create any tables at all!

I did create them manually and the error showed up once again.

I will now try to remove the part as you suggested and report here the results.

Until then,

Thanks for your attention and for your lovely work...

4
dkeir
Re: zentrackXoops 2.6.0.4 RC1: Installation problems
  • 2006/2/26 23:34

  • dkeir

  • Just popping in

  • Posts: 85

  • Since: 2005/2/17


Quote:

deepy wrote:
Hallo!

It did not create any tables at all!

I did create them manually and the error showed up once again.

I will now try to remove the part as you suggested and report here the results.

Until then,

Thanks for your attention and for your lovely work...


Hi Deepy,

Xoops rolls back quite nicely after a failed install so any tables that are created will automatically get removed.

I have been able to get my hands on MySql-4.0.20 and everything installed perfectly. I have been unable to find 4.0.18 however I cannot imagine that it's too different from 4.0.20.

Is it possible for you to upgrade your MySql, preferrably to 4.1 or higher?

Cheers

5
draj
Re: zentrackXoops 2.6.0.4 RC1: Installation problems
  • 2006/3/1 13:07

  • draj

  • Quite a regular

  • Posts: 271

  • Since: 2005/6/23


Hallo!

It was a bit of work to findout about upgrading possibilities to 4.1 mysql, after which I gave up!

I tried to use the patch you supplied in the comments for earlier versions but had no success!

Any more solutions?

6
draj
Re: zentrackXoops 2.6.0.4 RC1: Installation problems
  • 2006/3/1 14:56

  • draj

  • Quite a regular

  • Posts: 271

  • Since: 2005/6/23


Hallo kiranshotgun!

On the website there does not seem to be any solution in relation to the problem discussed but looks like more of an advertisement.

Hence your post should be deleted.

7
davidl2
Re: zentrackXoops 2.6.0.4 RC1: Installation problems
  • 2006/3/1 16:16

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Thanks Deepy - spam posting removed.

8
draj
Re: zentrackXoops 2.6.0.4 RC1: Installation problems
  • 2006/3/16 11:58

  • draj

  • Quite a regular

  • Posts: 271

  • Since: 2005/6/23


Hallo dkeir!

I installed the final version 2.60 on my server on a different installation I fished from the official german website.

The installation went flawless.

Thereafter, I installed on anathor production website and it did not work. There were many more modules, not in use. Well I de-installed one after the other. No chance to get your module working. The same Error.

The fact showed that I could install the latest version on a different installation than the one in question. Same MySQL version and the same error.

Well, I upgraded all the modules including the system ones. No chance.

The only this was in difference was the scripts, which I beleive I downloaded from the older version 2.2.3 from DU version and upgraded to 2.2.4.

The other functioning version was a SIE version.

I copied all the scripts with overwrite.

IT WORKED!

Hence it was the XOOPS scripts in the installation in question where the problem was and not anywhere else. Very surprising. It was I think 2.2.3 or 2.2.3a, or something... Stupid Nightmare as I like this module...

9
dkeir
Re: zentrackXoops 2.6.0.4 RC1: Installation problems
  • 2006/3/16 21:05

  • dkeir

  • Just popping in

  • Posts: 85

  • Since: 2005/2/17


FANTASTIC!!! I'm sooo glad you figured it out. That is so strange though how the XOOPS scripts caused the problem.

Ah, well, thankfully you're up and running.

Cheers
dkeir

Login

Who's Online

282 user(s) are online (220 user(s) are browsing Support Forums)


Members: 0


Guests: 282


more...

Donat-O-Meter

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

Latest GitHub Commits