![]() |
![]() |
This project is not completely dead. I've just started work on localisation. 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
|
![]() Valued Tester
Posts: 367
Registered: 2008-10-13 |
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. |
![]() Clerk
Posts: 180
Registered: 2008-02-28 |
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! |
![]() Valued Tester
Posts: 367
Registered: 2008-10-13 |
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? |
![]() Clerk
Posts: 180
Registered: 2008-02-28 |
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! |
![]() ![]() Shift Manager
Posts: 269
Registered: 2006-11-15 |
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+) |
![]() Valued Tester
Posts: 367
Registered: 2008-10-13 |
I'll give that a try and report back. Thanks Guys.
|
![]() Valued Tester
Posts: 367
Registered: 2008-10-13 |
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. |
|
Last edited by: pete917 on May 13, 2009 7:55:32 am
| |
![]() Clerk
Posts: 180
Registered: 2008-02-28 |
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! |
![]() Valued Tester
Posts: 367
Registered: 2008-10-13 |
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 |
|
Last edited by: pete917 on May 13, 2009 8:28:28 am
| |
![]() Valued Tester
Posts: 367
Registered: 2008-10-13 |
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'. |