Welcome to Geeklog Saturday, November 27 2021 @ 12:31 am EST

Geeklog Forums

Upgrading to easyfile 0.7.6 causes sql error table does not exist


Status: offline

Svein André

Forum User
Newbie
Registered: 17/03/05
Posts: 7
Hi!

I'm running the easyfile plugin on 3 websites and is realy pleased with it.

Though, at one of the sites I just can't make the update work.
In the plugins page, it claims the current version to be 0.7.

When trying to update all easyfile files, I get the sql error message,
and the error log reports: Table 'ttu.gl_easyfolders' doesn't exist. SQL in question:.....

Updating on the other 2 sites worked nice and neat.

Btw, thanks for a great plugin!

Any suggestions and help would be appreciated.

Regards,

Svein André
 Quote

Status: offline

Kelvin

Forum User
Chatty
Registered: 08/10/02
Posts: 50
That's odd... did you make sure to replace functions.inc?
 Quote

Status: offline

Svein André

Forum User
Newbie
Registered: 17/03/05
Posts: 7
Case solved Big Celebration

This is what was causing the hazzle:

The config file from, what is now my previous version of easyfile, contained
these lines:
$_EF_TABLES['files'] = $_DB_table_prefix . 'gl_easyfile';
$_EF_TABLES['filequeue'] = $_DB_table_prefix . 'gl_easyfilesubmission';
$_EF_TABLES['folders'] = $_DB_table_prefix . 'gl_easyfolders';

Which caused the db tables to be named gl_gl_easy.....
No wonder the tables wasn't found...

Editing the functions.inc with correct table names made it all come togheter Very Happy

Thanx for pointing me in the right direction!

Regards,

Svein André

 Quote

All times are EST. The time is now 12:31 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content