Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Unable to create a new album: Fatal error: Call to undefined function -resolved?  (Read 3459 times)

0 Members and 1 Guest are viewing this topic.

robinna

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
  • wherever you go, there you are.
    • robinart.com

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:

Code: [Select]
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:
Code: [Select]
# 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;
#
 --------------------------------------------------------
« Last Edit: October 14, 2005, 04:16:57 am by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de

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
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 19 queries.