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: Fatal Error :  (Read 5193 times)

0 Members and 1 Guest are viewing this topic.

jenzbie

  • Coppermine newbie
  • Country: us
  • Offline Offline
  • Gender: Female
  • Posts: 9
Fatal Error :
« on: October 24, 2010, 01:23:54 am »

I noticed yesterday that my gallery at http://jonasphotos.net came up with 'Fatal Error :'. Thinking and knowing that the gallery version was out-of-date, I upgraded my gallery to 1.4.27, but the same message is still up. I checked the tables in phpmyadmin and repaired them, but the sessions table isn't repairing. I've tried repairing it multiple times using http://documentation.coppermine-gallery.net/en/errors.htm#errors_messages_database but it still hasn't worked.

I've attached a screen cap of what the SQL query states after I've tried repairing the table.

HELP!
Logged

papukaija

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 333
Re: Fatal Error :
« Reply #1 on: October 24, 2010, 02:43:46 pm »

Unfortunately there is no support for MySQL issues on this forum.
Quote
This is not a coppermine issue, but a mySQL issue. It just may affect a database table used by Coppermine. Use your website's Control Panel to repair the table [...] If you don't understand the solution, ask your webhost to make the above changes.  If this happens frequently, there is something fishy with your webserver - ask your webhost for support
(from the docs).

More information to fix your issue is available here.
Logged

Nibbler

  • Guest
Re: Fatal Error :
« Reply #2 on: October 25, 2010, 10:25:20 am »

There's no point in attempting to repair the table. Just drop (delete) the table and re-create it. It only holds temporary session information.

Code: [Select]
DROP TABLE cpg14x_sessions;
CREATE TABLE IF NOT EXISTS cpg14x_sessions (
  session_id varchar(40) NOT NULL default '',
  user_id int(11) default '0',
  time int(11) default NULL,
  remember int(1) default '0',
  PRIMARY KEY (session_id)
) TYPE=MyISAM COMMENT='Used to store sessions';
Logged

jenzbie

  • Coppermine newbie
  • Country: us
  • Offline Offline
  • Gender: Female
  • Posts: 9
Re: Fatal Error :
« Reply #3 on: October 26, 2010, 03:04:20 am »

There's no point in attempting to repair the table. Just drop (delete) the table and re-create it. It only holds temporary session information.

Code: [Select]
DROP TABLE cpg14x_sessions;
CREATE TABLE IF NOT EXISTS cpg14x_sessions (
  session_id varchar(40) NOT NULL default '',
  user_id int(11) default '0',
  time int(11) default NULL,
  remember int(1) default '0',
  PRIMARY KEY (session_id)
) TYPE=MyISAM COMMENT='Used to store sessions';

Thank you!
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.