Author Topic: change url and/or server; Move 4images to new server  (Read 44240 times)

0 Members and 1 Guest are viewing this topic.

Offline Ernesto Taseffa

  • Full Member
  • ***
  • Posts: 151
    • View Profile
change url and/or server; Move 4images to new server
« on: March 03, 2003, 08:54:03 AM »
.
« Last Edit: August 09, 2009, 12:45:23 AM by Ernesto Taseffa »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
change url and/or server; Move 4images to new server
« Reply #1 on: March 03, 2003, 09:16:27 AM »
all 4images settings are stored in the database. so, that what u need backup and restore on another server.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Ernesto Taseffa

  • Full Member
  • ***
  • Posts: 151
    • View Profile
change url and/or server; Move 4images to new server
« Reply #2 on: March 03, 2003, 09:36:09 AM »
.
« Last Edit: August 09, 2009, 01:04:43 AM by Ernesto Taseffa »

Offline Ernesto Taseffa

  • Full Member
  • ***
  • Posts: 151
    • View Profile
change url and/or server; Move 4images to new server
« Reply #3 on: March 03, 2003, 12:01:58 PM »
.
« Last Edit: August 09, 2009, 01:04:00 AM by Ernesto Taseffa »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
change url and/or server; Move 4images to new server
« Reply #4 on: March 03, 2003, 01:16:27 PM »
Quote from: seffern
mmmh,

I did  a backup of my old board, I copied that backup with ftp on the new server, where i did a fully fresh install of 4images successfully before.

I opened the admin menu on the new board, went to back up, selected the backup of my other board and clicked on restore. It accepted this restore in the admin and I got the message that this action was successfully.

BUT if I look now in categoreis etc., nothing of my old board is there. No categories, no usergroups and the 4dark template is also not availble.

It just still looks like a fresh install. Did I miss here anything to do?

Dirk


The best way to backup/restore database, is using phpmyadmin script www.phpmyadmin.net

since u said that u installed many mods, I'd suggest u just copy whole 4images dir, that's safe. ofcourse with database.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Ernesto Taseffa

  • Full Member
  • ***
  • Posts: 151
    • View Profile
change url and/or server; Move 4images to new server
« Reply #5 on: March 03, 2003, 03:31:20 PM »
.
« Last Edit: August 09, 2009, 01:01:50 AM by Ernesto Taseffa »

Offline Ernesto Taseffa

  • Full Member
  • ***
  • Posts: 151
    • View Profile
change url and/or server; Move 4images to new server
« Reply #6 on: March 03, 2003, 05:29:09 PM »
.
« Last Edit: August 09, 2009, 01:00:17 AM by Ernesto Taseffa »

Offline Ernesto Taseffa

  • Full Member
  • ***
  • Posts: 151
    • View Profile
change url and/or server; Move 4images to new server
« Reply #7 on: March 03, 2003, 10:47:28 PM »
.
« Last Edit: August 09, 2009, 12:58:06 AM by Ernesto Taseffa »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
change url and/or server; Move 4images to new server
« Reply #8 on: March 03, 2003, 11:14:01 PM »
it's pretty much simple to do.


------------------------
------BACKUP--------
------------------------
1. Login to your database.

2. If u have chose to chose between different databases, then, chose 4images

3. on left side u should see all tables, such as 4images_categories and so on.

4. on right side, should be a link Export. Click on it.

5. sellect all tables that belong to 4images:
Quote
 4images_categories
  4images_comments
  4images_groupaccess
  4images_groupmatch
  4images_groups
  4images_images
  4images_images_temp
  4images_lightboxes
  4images_postcards
  4images_sessions
  4images_sessionvars
  4images_settings
  4images_users
  4images_wordlist
  4images_wordmatch


6. Check Structure and data ( I'm not sure options on the bottom such as:
 Add 'drop table'  
 Complete inserts  
 Extended inserts  
 Enclose table and field names with backquotes
)
I dont check them, and everything works just fine... 8)

7. Check "Save as file"

8. Click "Go"


---------------------
-----RESTORE-----
---------------------
1. Select database u want use for 4images, or create it manualy

2. After u selected database, u'll see on right side link SQL, click on it.

3. Click "Browse" button, select your backup file (it must be not compressed file, plain .sql)

4. Click "Go"
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Ernesto Taseffa

  • Full Member
  • ***
  • Posts: 151
    • View Profile
change url and/or server; Move 4images to new server
« Reply #9 on: March 03, 2003, 11:30:09 PM »
.
« Last Edit: August 09, 2009, 12:57:27 AM by Ernesto Taseffa »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
change url and/or server; Move 4images to new server
« Reply #10 on: March 04, 2003, 02:44:47 AM »
Quote from: seffern
(The old board, where the backup comes from has a different prefix and url and server, if that matters)

that's the problem.
because when u do backup this way, it will save/restore exactly same as  the original.
try to open .sql backup file and change all names from old db to new db names.  8O
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Ernesto Taseffa

  • Full Member
  • ***
  • Posts: 151
    • View Profile
change url and/or server; Move 4images to new server
« Reply #11 on: March 04, 2003, 09:09:16 AM »
.
« Last Edit: August 09, 2009, 12:56:43 AM by Ernesto Taseffa »

Offline Art1977

  • Newbie
  • *
  • Posts: 37
    • View Profile
    • http://www.d-mack.de
What will i have to change if i move to a new server?
« Reply #12 on: June 06, 2003, 11:51:14 AM »
I changed my server

i uploaded all files
i changed the config.php from 4Images
and restored my database on the new server with phpMyAdmin!
Everything works

But when i try change something like userinformation in the control panel nothing changes.
When i try to create a new category , i get the statement:

Warning: MkDir failed (Permission denied) in /users/coolfreepage.com/brkcrew/4images1.7/4images/admin/categories.php on line 78

Warning: MkDir failed (Permission denied) in /users/coolfreepage.com/brkcrew/4images1.7/4images/admin/categories.php on line 81

Warning: MkDir failed (Permission denied) in /users/coolfreepage.com/brkcrew/4images1.7/4images/admin/categories.php on line 78

Warning: MkDir failed (Permission denied) in /users/coolfreepage.com/brkcrew/4images1.7/4images/admin/categories.php on line 81
Kategorie erfolgreich hinzugefügt (Category adding succeeded in english)

if i delete this cateogorie i get the following message:

Kategorie erfolgreich gelöscht Test (ID: 15)
-» Bild erfolgreich gelöscht (Pics deleting succeeded in english)

Warning: Unlink failed (No such file or directory) in /users/coolfreepage.com/brkcrew/4images1.7/4images/admin/categories.php on line 101

Warning: Unlink failed (No such file or directory) in /users/coolfreepage.com/brkcrew/4images1.7/4images/admin/categories.php on line 101
-» Kommentare erfolgreich gelöscht (comments deleting succeeded in english)

Error Log:  
  Es sind Fehler bei folgenden Aktionen aufgetreten:
  (The following error occurred in enlish)
Fehler beim Löschen der Bild-Datei (Test, ID: 15)
(Error deleting Pic-File (........))
Fehler beim Löschen der Thumbnail-Datei (Test, ID: 15)
 (Error deleting Thumbnail-File(.........)


whats wrong ? what will i have to change if i move to a new server .
i changed the config.php . I edited my new DB Name and password .....

is there any file what have to be changed?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: What will i have to change if i move to a new server?
« Reply #13 on: June 06, 2003, 12:12:33 PM »
Quote from: Art1977
I changed my server

i uploaded all files
i changed the config.php from 4Images
and restored my database on the new server with phpMyAdmin!

........

whats wrong ? what will i have to change if i move to a new server .
i changed the config.php . I edited my new DB Name and password .....

is there any file what have to be changed?

did u check permissions? ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Art1977

  • Newbie
  • *
  • Posts: 37
    • View Profile
    • http://www.d-mack.de
hi @vano
« Reply #14 on: June 06, 2003, 12:26:34 PM »
where do i do this?

and how?

i thought only the config.php includes information about the database ?!!?

i think i have an idea , i have to change the chmode in my folder do u know how it has to be? 664 ?