"A fatal error has occurred. Script execution has been aborted"

maredzki

Joined: 2003-11-06
Posts: 40
Posted: Wed, 2010-09-15 22:09

I have moved from one provider to another and moved everything. Followed the link: http://codex.gallery2.org/Gallery2:FAQ#How_can_I_move_my_gallery_installation_from_one_server_to_another.3F which explains how to migrate from one server to another. I did not do one thing, "#3 Deactivate AND uninstall the url rewrite module.." as the current gallery is still active and will remain active. This is a multi_gallery install, just to add some complexity. I was able to re-install the gallery, went through the db config etc but still got the same error.

Any help would be greatly appreciated.

Thanks!
Marek

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2010-09-15 22:25

Why didn't you follow that guide? It will work if you follow it exactly step by step.

Try deactivating the URL Rewrite module manually:
FAQ: I enabled mod_rewrite, but it's not working, and now I can't get back to disable it - how else can I do this?

Are you saying that a fresh install on the new host causes this error message? If so we need more information, a link to phpinfo and a verification of what version of Gallery you have to start with:
FAQ: How do I create a phpinfo page?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
maredzki

Joined: 2003-11-06
Posts: 40
Posted: Wed, 2010-09-15 22:37

I followed it as closely as I could but since the current gallery needs to remain in place I did not want to disable anything.

I have ran the SQL statement that was included in the link you provided to deactivate URL Rewrite module, here is the result from the statement:
Ran: UPDATE g2_PluginMap SET g_active=0 WHERE g_pluginId='rewrite'
Result: 0 row(s) affected. ( Query took 0.0006 sec )

There was no changes done.

After copying the whole gallery and gallery_multisite folders from old host to the new host I tried opening gallery and got the error. I then tried to reinstall the current gallery so I ran /gallery_multisite/install and went through the wizard. It did not fix the problem.

Here is the link to the phpinfo page:
http://www.martaipiotr.com/phpinfo.php

I am able to install a brand fresh spanking new gallery and it works, but I really need to get the current sorted out as that is what I am trying to get working.

Thank you,
Marek

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2010-09-15 22:52

I poked around and saw your tar.gz file, downloaded it and noticed there's no config.php in it. Also noticed that main.php is loading some file called 1and1_error.inc

I suggest you follow those instructions step-by-step, which includes upgrading the current working version of G2 you have on 1&1 I presume to the current version which will also make sure you're using, stable, unmodified files.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
maredzki

Joined: 2003-11-06
Posts: 40
Posted: Thu, 2010-09-16 14:20

Actually the tar.gz file is pretty old, I am currently running the 2.3 version of gallery. I have the 1and1_error.inc file included in main.php for some logging to csv file as I could not get their error info and was getting Internal Server Error 500.

Having said that, what do you suggest?

Thank you,
Marek

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-09-16 15:03
Quote:
Having said that, what do you suggest?

Exactly what I've already suggested.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
maredzki

Joined: 2003-11-06
Posts: 40
Posted: Thu, 2010-09-16 16:28

Ok,
I will update current version from 2.3 to 2.3.1.
I will disable the url rewrite module
I will backup and move the gallery to the new host
I will backup and move the db to the new host

Basically I will follow the instructions as you requested.

After that, I will post results here.

Thanks for your help so far!

Marek

 
maredzki

Joined: 2003-11-06
Posts: 40
Posted: Thu, 2010-09-16 21:33

Ok, I have finished the move. There is one thing I differently this time (besides updating to 2.3.1), I installed G2 first on the old server. The G2 shows up nice but all of my images are broken. Not sure why this is. How can I finish this without messing up my thumbnails?

EDIT: I have started to recreating the thumbnails to test. However, please let me know if there is something I missed in the process of moving/reconfiguring the gallery.

Thank you,
Marek

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-09-16 21:35

I don't understand what you did. Did you move gallery to a new server or just to a different directory on the same server? Did you double check permissions and any path information in config.php? What G2 not installed on the old server?

Are the graphics toolkits the same on both places/servers? (ImageMagick preferably)
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
maredzki

Joined: 2003-11-06
Posts: 40
Posted: Thu, 2010-09-16 21:41

The gallery was moved to a new server. I followed the steps outlined in the document/link which is listed in the first post and provided by you as well. Permissions on g2data were set to 755 and config.php is brand new not copied from the old server. config.php was created when I ran the G2 installer.

I have ImageMagick on both servers, correct. I am currently using it to test if the images get recreated.

Sorry for the troubles, just would like to get to the bottom of it.

Thank you,
Marek

 
mustafa.kursat

Joined: 2010-09-06
Posts: 1
Posted: Sat, 2010-09-18 08:14

good