1
wolfone
Prob installing myAlbum-P
  • 2006/4/14 17:44

  • wolfone

  • Just popping in

  • Posts: 17

  • Since: 2006/4/5 2


Would anyone have any idea if I've done something wrong or what I should do, this is the error message I'm getting after trying to install myalbum

Invalid default value for 'res_x'

Unable to install myalbum. Error(s):

I would appreciate very much any assistance :)

wolfone

2
jensclas
Re: Prob installing myAlbum-P

Sorry there is no direct answer coming...

First of all what version of XOOPS are you installing the module to? Other versions? PHP? Apache etc?

Second it is possible some of the files didn't get ftp'd properly so try from the beginning again - one folder at a time to make sure the whole module has arrived safe and sound.

Browse this site doing a search on Myalbum and see if someone else has had the same problem - the answer might already be here.

You could choose a different image module if the probelm recurs - try xcgallery.

HTH

3
khuhner
Re: Prob installing myAlbum-P
  • 2006/4/15 4:44

  • khuhner

  • Quite a regular

  • Posts: 232

  • Since: 2006/1/6 3


Quote:

Invalid default value for 'res_x'

Unable to install myalbum. Error(s):


I had a similiar error installing MyAlbum. Check the sql files and make sure you have something like this:

res_x int(11) NOT NULL default '0',

I believe the intial downloaded files dont have the "default '0'" part.

Kurt

4
wolfone
MyAlbum: Invalid default value for 'res_x'
  • 2006/9/7 15:52

  • wolfone

  • Just popping in

  • Posts: 17

  • Since: 2006/4/5 2


I had the following problem installing Myalbum some months ago

Invalid default value for 'res_x'

I used Kurt advice and changed the following line in the sql files found in myalbum

res_x int(11) NOT NULL default '', to

res_x int(11) NOT NULL default '0', BUT found that I was still getting the same error message. then thinking that all I should do is go through all the digits - one of them had to work and found that if you change these two lines

res_x int(11) NOT NULL default '',
res_y int(11) NOT NULL default '',

TO

res_x int(11) NOT NULL default '2',
res_y int(11) NOT NULL default '2',

then MyAlbum installs perfectly.

5
carpino
Re: MyAlbum: Invalid default value for 'res_x'
  • 2006/11/30 1:11

  • carpino

  • Just popping in

  • Posts: 16

  • Since: 2006/6/20


wolfone's solution works perfectly for me too thanks!!!

6
Peekay
Re: MyAlbum: Invalid default value for 'res_x'
  • 2006/11/30 11:15

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


@wolfone

Using the forum search facility can often yield a solution for you quickly. For example, if you search for 'res_x' you'll see this question has already been answered in another thread.
A thread is for life. Not just for Christmas.

Login

Who's Online

455 user(s) are online (398 user(s) are browsing Support Forums)


Members: 0


Guests: 455


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