MyUPB.com Discussion forums
You are not logged in. Please Register or Login.

Announcements

This project is not completely dead. I've just started work on localisation.
Please email me at clark@NOSPAMmyupb.com once you've registered so I can activate your account (remove "NOSPAM" from the email address)
~~~~ Clark


If you're getting a "Deprecated" error message, follow the instructions here

URGENT Security Patch for ≤ v2.2.6
A security hole has been discovered, follow the instructions and download the patch at the topic page.
Did the patch break your search page? Search Patch

Download myUPB
Version 2.2.7 Released - 24th December 2010


Pages (2):1
Posted: May 11, 2009 5:49:14 pm
pete917



My site was hacked and as a result I need to reinstall.

Can someone tell me what I need to do.

I have a downloaded zip file of a recent version.

I also downloaded the whole forum file structure.  Can I just upload the file structure or do I need to start again and install v2.2.3 from scratch.?

If I have to reinstall can someone tell me how I upload the backup and recover my forum?

Thanks guys.

Posted: May 11, 2009 7:46:17 pm
Nightmare



just reinstall your forum with install.php and then use your current database and put it in the backup located in admin panel
N i g h t m a r e

=

myUPB Graphic's Designer





Im back, and hopefully staying this time, get ready for some decent GFX updates!

Posted: May 11, 2009 8:14:17 pm
pete917



Thanks Nightmare

I tried that.  I used import foriegn database - is that correct? I copied the zip file of a recent database backup to the ./backup directory.  It reported that the database had been restored, but the forum was just in its raw state, i.e., no forums, no users etc.

What am I doing wrong?

Posted: May 11, 2009 9:54:21 pm
Nightmare



if you extract the .zip file i belive there should only be one file in which you upload, however im not a coder im the main graphics designer but did help with sum code, i suggest waiting for clark to come back on the 14th if not i will try and help tomoz by logging into your site :)

thanks for using myUPB

Nightmare
N i g h t m a r e

=

myUPB Graphic's Designer





Im back, and hopefully staying this time, get ready for some decent GFX updates!

Posted: May 12, 2009 9:11:45 am
Jono345



Hello Pete,

Now I'm working from memory here, but what would likely be the best course of action is to open up the zip file on your PC, extract it to a folder, and then actually overwrite the database files on your site. This should be the quickest and easiest way to get things up and running, as I beleive some versions of MyUPB have somewhat dysfunctional restore functions.

There should be a number of files with .ta, .ref and .memo extensions that need to go in the data_xxxxxxx folder (substitute Xes accordingly)

If this doesn't work we will have to look into it more deeply. Let us know how you go!

Microsoft  Certified Systems Administrator (MCSA Messaging)
Microsoft Certified Professional (MCP XP)
SDI Help Desk Analyst (SDI HDA)
CompTIA A+ Certified Technician (A+)

Posted: May 12, 2009 11:42:59 am
pete917



I'll give that a try and report back.  Thanks Guys.

Posted: May 13, 2009 7:33:15 am
pete917



OK, so I installed a clean version of UPB the overwrote my backup database files into the database directory.

The clean install worked, but after upload I got the following error message:

'The SKIN_DIR constant is undefined.
This may be an indication UPB was unable to correctly access its configuration'.

Any thoughts?

I have checked that the database dir has constants.php in it.

<?php

define("TABLE_WIDTH_MAIN", $_CONFIG["table_width_main"], true);
define("SKIN_DIR", $_CONFIG["skin_dir"], true);

?>

it didnt have the <?php and ?> php so I added them but I still get the same error message.

Posted: May 13, 2009 8:07:04 am
Nightmare



hi pete, SKIN_DIR means the skins directory, in your database setting wats was your skins directory did u change it from default to someithing? if so with the current default folder rename it to what it was and it should be fine, its accessing the config file fine but you must of changed the skin directory it it was saved into your database so when trying to load it it jams, if you are having any more problems with this let me know and ill try and assest as much as possible, if i cant help which i sohuld be able to but if i cant Clark is back on the 14th so he will defently be able to clear up the problem :)

thanks for using myUPB

Nightmare
N i g h t m a r e

=

myUPB Graphic's Designer





Im back, and hopefully staying this time, get ready for some decent GFX updates!

Posted: May 13, 2009 8:15:28 am
pete917



I didnt change the directory names for any files.....


or do you mean the actual database diectory data_xxxxxxxxxxxxxx

should i change the name of this dir to match the old one?  if so i need to chane the same in the config.php



Posted: May 13, 2009 8:58:53 am
pete917



update:

here's what I have tried:

change the data file to original.  Updated config.php to reflect new database name.  Then copied original constants.php to database directory.  I also had my own customer skin so uploaded that keeping all paths and names the same.

I still get the same error:

'The SKIN_DIR constant is undefined.
This may be an indication UPB was unable to correctly access its configuration'.

Pages (2):1
Powered by myUPB v2.2.6  ·   © PHP Outburst 2002 - 2013

Creative Commons License