Unable to create a new album: Fatal error: Call to undefined function -resolved? Unable to create a new album: Fatal error: Call to undefined function -resolved?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Unable to create a new album: Fatal error: Call to undefined function -resolved?

Started by robinna, September 23, 2005, 06:38:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

robinna

Hello,
I believe I may have resolved this problem so I'm updating my entry... :
Anyhow, use at your own risk (as with anything I create or fix!)  :)

------------------------------ 
Problem:
Error message I receive when I try to access albummgr.php
Fatal error: Call to undefined function: starttable() in ..../public_html/galleries/albmgr.php on line 336
(the dots are just to shorten the path) I receive this error message regardless of which theme I choose.
The only language I have tested so far is English.

albummgr.php is 1.17; all of my other files are the latest dev from the cvs.
No modifications...

my url:
http:/www.robinart.com/galleries/
----------------------


--------------------------------
UPDATE:
ok, I compared the schema.sql file to coppermine 1.3.3. in the create album spot of the code and noticed some differences.  Not sure if this is the real fix or not, put thought I would include it if it is. I"m not noticing any differences or other errors in cp 1.4.1 now. Everything else seems to be working ok for me. I just replaced the whole chunk of creating album code because I'm lazy and like copy n paste. ;D

So, in the  schema.sql 1.4.1,  Revision: 1.40:

Lines 36-53
OLD:

CREATE TABLE CPG_albums (
  aid int(11) NOT NULL auto_increment,
  title varchar(255) NOT NULL default '',
  description text NOT NULL,
  visibility int(11) NOT NULL default '0',
  uploads enum('YES','NO') NOT NULL default 'NO',
  comments enum('YES','NO') NOT NULL default 'YES',
  votes enum('YES','NO') NOT NULL default 'YES',
  pos int(11) NOT NULL default '0',
  category int(11) NOT NULL default '0',
  thumb int(11) NOT NULL default '0',
  keyword VARCHAR( 50 ),
  alb_password VARCHAR( 32 ),
  alb_password_hint TEXT,
  PRIMARY KEY  (aid),
  KEY alb_category (category)
) TYPE=MyISAM;
# --------------------------------------------------------


REPLACED WITH:
# Table structure for table `CPG_albums`
#

CREATE TABLE CPG_albums (
  aid int(11) NOT NULL auto_increment,
  title varchar(255) NOT NULL default '',
  description text NOT NULL,
  visibility int(11) NOT NULL default '0',
  uploads enum('YES','NO') NOT NULL default 'NO',
  comments enum('YES','NO') NOT NULL default 'YES',
  votes enum('YES','NO') NOT NULL default 'YES',
  pos int(11) NOT NULL default '0',
  category int(11) NOT NULL default '0',
  pic_count int(11) NOT NULL default '0',
  thumb int(11) NOT NULL default '0',
  last_addition datetime NOT NULL default '0000-00-00 00:00:00',
  stat_uptodate enum('YES','NO') NOT NULL default 'NO',
  keyword VARCHAR( 50 ),
  PRIMARY KEY  (aid),
  KEY alb_category (category)
) TYPE=MyISAM;
#
--------------------------------------------------------

Joachim Müller

it appears that you haven't performed a full upgrade - use versioncheck to make sure you have replaced all leftover files from cpg1.3.x