1
dogbone
Can't install myalbum-p
  • 2006/10/20 10:06

  • dogbone

  • Just popping in

  • Posts: 17

  • Since: 2005/8/11


Can't install myalbum-p. Here is what i get on my screen:

Unable to install myalbum. Error(s):
Invalid default value for 'res_x'

And here is the debug info:

Notice [PHP]: Only variables should be assigned by reference in file kernel/profile.php line 94
Notice [PHP]: Only variables should be assigned by reference in file include/common.php line 215
Notice [PHP]: Only variables should be assigned by reference in file kernel/config.php line 239
Notice [PHP]: Only variables should be assigned by reference in file kernel/config.php line 239
Notice [PHP]: Only variables should be assigned by reference in file kernel/groupperm.php line 229
Notice [PHP]: Only variables should be assigned by reference in file include/cp_functions.php line 41
Notice [PHP]: Only variables should be assigned by reference in file include/cp_functions.php line 50
Notice [PHP]: Only variables should be assigned by reference in file kernel/groupperm.php line 229
Notice [PHP]: Only variables should be assigned by reference in file include/cp_functions.php line 58
Notice [PHP]: Only variables should be assigned by reference in file include/cp_functions.php line 90
Notice [PHP]: Only variables should be assigned by reference in file modules/smartfaq/xoops_version.php line 320

2
zyspec
Re: Can't install myalbum-p
  • 2006/10/20 11:07

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Which version? - It would also help to have the versions of Xoops, PHP, MySQL, etc...

3
dogbone
Re: Can't install myalbum-p
  • 2006/10/20 11:45

  • dogbone

  • Just popping in

  • Posts: 17

  • Since: 2005/8/11


xoops v2.2.3
myalbum-p v2.84
PHP Version 4.4.4
Mysql: 4.1.15

Hope this help

Eivind

4
Peekay
Re: Can't install myalbum-p
  • 2006/10/20 13:37

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


In the SQL file, change:

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

to

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

as these values cannot be NULL

I believe this has been fixed in the latest version.
A thread is for life. Not just for Christmas.

5
dogbone
[Solved]Re: Can't install myalbum-p
  • 2006/10/21 5:15

  • dogbone

  • Just popping in

  • Posts: 17

  • Since: 2005/8/11


I just do the changes in the SQL file, now it's working fine

Login

Who's Online

520 user(s) are online (378 user(s) are browsing Support Forums)


Members: 0


Guests: 520


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