Moving Gallery3 to a new server
gilesaj
Joined: 2009-06-27
Posts: 14 |
![]() |
I have Gallery3 running on a server at home but I wanted to get a hosted server up and running as I am moving overseas. I copied all the files over from the old server including the complete Gallery3 folder. It took about 2 days for the photos to copy across. I saw in a post that this should work as Gallery3 is a lot easier than 2 and all I need to do was copy them over. When I try and use Gallery three from the new web site I get the following error on the screen. Fatal error: Call to undefined function mysqli_init() in /var/www/html/gallery3/system/libraries/Database_Mysqli.php on line 30 Notice: Undefined offset: 1 in /var/www/html/gallery3/system/libraries/I18n.php on line 60 Fatal error: Exception thrown without a stack frame in Unknown on line 0 Can anyone help with this error ? Cheers |
|
gilesaj
Joined: 2009-06-27
Posts: 14 |
![]() |
I found out that it is not a copy so I will follow the instructions on this page to move over the mysql part http://codex.galleryproject.org/Gallery3:User_guide:Gallery3:Installing_and_upgrading |
|
gilesaj
Joined: 2009-06-27
Posts: 14 |
![]() |
OK I followed the directions from the link above as far as transferring the gallery3.sql over to the other server and making the gallery3 database and applying the file to the data base. I already had copied all the files over to the Gallery3 folder. I still get this error Fatal error: Call to undefined function mysqli_init() in /var/www/html/gallery3/system/libraries/Database_Mysqli.php on line 30 Notice: Undefined offset: 1 in /var/www/html/gallery3/system/libraries/I18n.php on line 60 Fatal error: Exception thrown without a stack frame in Unknown on line 0 So I need some help, Thanks Giles |
|
gilesaj
Joined: 2009-06-27
Posts: 14 |
![]() |
It works............ I did a reboot to check something else would start on reboot and now the Gallery works ??? Sorry for talking to myself on the board but might help someone in the future ? so this can be resolved Cheers |
|
bk2life
Joined: 2007-07-18
Posts: 50 |
![]() |
gilesaj wrote:
Sorry for talking to myself on the board but might help someone in the future ? i have a similiar problem, but i dont ever see any action on this forum. i have aasked questions that go unanswered. i really would like some actual help. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
I have never moved from one server to another so if the http://codex.galleryproject.org/Gallery3:User_guide:Gallery3:Installing_and_upgrading#Moving_your_installation_to_a_different_server are not clear perhaps the community can help out expanding on the specifics that you get stuck on. Dave _____________________________________________ |
|
tempg
Joined: 2005-12-17
Posts: 1857 |
![]() |
bk2life wrote:
i really would like some actual help. Start by asking an actual question. Can't get help if no one knows what the issue is. |
|
AlTheAndroid
Joined: 2013-09-08
Posts: 1 |
![]() |
Hi, I'm planning on moving my server just now. But this post scares me... Are the instructions found at http://codex.galleryproject.org/Gallery3:User_guide:Gallery3:Installing_and_upgrading#Moving_your_installation_to_a_different_server still relevant? Or is there something missing? The error the OP has described seems to be about the localization, so I wonder what could go wrong with the translation files with a "simple" server move... Al |
|
tempg
Joined: 2005-12-17
Posts: 1857 |
![]() |
@AlTheAndroid: Honestly, those instructions are about as "simple" as they can be for a server move. There's no other way to move any database-driven program from one server to another. The exception: You don't have to use the command line to do this. This is basically the same thing that it already says, just without the command line. Note: If you have a large Gallery install (lots of photos), copying the var folder will take a while; that's why the command line is helpful. Also, as it says, if you do all of this and it doesn't work, make sure that you have the correct information in the databases.php file. (Different servers can use different hostnames, etc..) |
|