The AnimeFanlistings Network Message Board

ListingAdmin: Updating Issues?

Offline SweetSpice

  • Newbie
  • *
    • Posts: 0
    • View Profile
    • http://aloveletter.co.uk/

I am trying to update my friend's script. When I tried, I got this error, 


 



 


Warning: mysqli::mysqli() [http://indigo-roses.info/admin/mysqli.mysqli' title=\"External link\">mysqli.mysqli]: (28000/1045): Access denied for user 'root'@'localhost' (using password: NO) in /home/indigoro/public_html/admin/inc/fun-db.inc.php on line 37


Warning: mysqli::real_escape_string() [http://indigo-roses.info/admin/mysqli.real-escape-string' title=\"External link\">mysqli.real-escape-string]: Couldn't fetch mysqli in/home/indigoro/public_html/admin/inc/fun-db.inc.php on line 113

FORM ERROR

In order to upgrade, you must choose a valid version to upgrade from, m'love.



 


I checked the file, fun-db.inc.php, saw this,




 public $connect = '';


  public $database = '';


 


I have no idea what to put here at all. She's not sure either. Can anyone help us out?


 


We're updating from 2.2 to 2.3 Beta. For the record, we can choose 2.3 Beta in the options to upgrade from. I am assuming we're getting the errors because we're not connecting to a database. I'm just not sure what or how to fill out the database info. What does in '$connect'? A database user or password? I don't know. So I figured it would be best to ask.


 


Thank you everyone!


 


 


EDIT: 


 


After updating the rats.inc.php and trying the upgrade again, we got this error this time,



 




Error: Table 'indigoro_listingadmin.trex_codes_donors' doesn't exist ALTER TABLE `trex_codes_donors` ADD `dEmail` VARCHAR(255) NOT NULL AFTER `dName`, ADD `dPending` VARCHAR(255) NOT NULL DEFAULT '0' AFTER `dURL`, ADD `dUpdated` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER `dPending`, ADD `dAdded` DATETIME NOT NULL AFTER `dUpdated`;

 


 



 


We have already tried to uninstall and re-install the script, going completely from scratch. That didn't work either.


 


We also have this topic posted at the Fanlistings board, but we're not getting anywhere really so, we're trying to broaden the post. Hopefully it might get seen by more eyes and maybe someone who knows how to fix the problem will show up. http://board.thefanlistings.org/index.php?/topic/1000-listingadmin-updating-issues/'>The original topic is here.