[SOLVED] "A fatal error has occurred. Script execution has been aborted" - during g2 import

maredzki

Joined: 2003-11-06
Posts: 40
Posted: Tue, 2009-06-09 22:01

When doing an import from G2, after providing the location to embed.php I get the following error and nothing else:

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

I am running in multi-gallery implementation.

--------------------------------------------------------------
This is the additional code that I was later presented with when I refreshed the screen with the above error:

--------------------------------------------------------------

Hey wait, you're an admin! We can tell you stuff.
Ok.. tell me stuff!
Help!

If this stuff doesn't make any sense to you, ask for help in the Gallery forums!
So here's the error:
@todo FORBIDDEN

File: modules/gallery/helpers/access.php, line: 176
And here's how we got there:

* modules/gallery/helpers/access.php [360]:

access_Core::forbidden( )

* modules/g2_import/controllers/admin_g2_import.php [42]:

access_Core::verify_csrf( )

*

Admin_g2_import_Controller->save( )

* modules/gallery/controllers/admin.php [50]:

call_user_func_array( Array
(
[0] => Admin_g2_import_Controller Object
(
[theme:private] =>
[uri] => URI Object
(
)

[input] => Input Object
(
[use_xss_clean:protected] => 1
[magic_quotes_gpc:protected] => 1
[ip_address] =>
)

)

[1] => save
)
)

*

Admin_Controller->__call( g2_import, Array
(
[0] => save
)
)

* system/core/Kohana.php [291]:

ReflectionMethod->invokeArgs( Admin_Controller Object
(
[theme:private] =>
[uri] => URI Object
(
)

[input] => Input Object
(
[use_xss_clean:protected] => 1
[magic_quotes_gpc:protected] => 1
[ip_address] =>
)

)
, Array
(
[0] => g2_import
[1] => Array
(
[0] => save
)

)
)

*

Kohana::instance( )

* system/core/Event.php [209]:

call_user_func_array( Array
(
[0] => Kohana
[1] => instance
)
, Array
(
[0] =>
)
)

* system/core/Bootstrap.php [55]:

Event::run( system.execute )

* index.php [72]:

require( system/core/Bootstrap.php )

--------------------------------------------------------------

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2009-06-10 02:19

There is a open ticket for multi gallery2 installs.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
maredzki

Joined: 2003-11-06
Posts: 40
Posted: Wed, 2009-06-10 02:47

@floridave:
Can I get a link to it so that I can follow it?

Also, I was able to get some tracing done...

"09 Jun 2009 22:24:06","/gallery/var/modules/g2_import/776a2fb895daab75858846db70e4c60d/bootstrap.inc:

44","()
Assigning the return value of new by reference is deprecated"
"09 Jun 2009 22:24:44","/gallery2_multisite/modules/core/classes/Gallery.class:

275","(
Notice) Undefined index: repository.url"
"09 Jun 2009 22:25:48","/gallery2_multisite/modules/core/classes/Gallery.class:

275","(
Notice) Undefined index: repository.url"
"09 Jun 2009 22:28:57","/gallery2_multisite/modules/core/classes/Gallery.class:

275","(
Notice) Undefined index: repository.url"

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2009-06-10 02:56

http://apps.sf.net/trac/gallery/ticket/377

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
maredzki

Joined: 2003-11-06
Posts: 40
Posted: Wed, 2009-06-10 13:20

Cheers Dave, I will monitor the ticket for resolution.

 
maredzki

Joined: 2003-11-06
Posts: 40
Posted: Fri, 2009-07-31 21:50

Will this supposed to be fixed in beta 2?

Thanks,
Marek

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2009-08-01 00:10

B2 is already out the door

Upgrade to the latest code
http://codex.gallery2.org/Gallery3:Upgrading
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
maredzki

Joined: 2003-11-06
Posts: 40
Posted: Mon, 2009-09-28 20:31

I just downloaded gallery3_3 and I am encountering the same issue. Any ideas why, I thought this was fixed?

Thanks much!
Marek

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2009-09-28 20:58

It was fixed here:
https://sourceforge.net/apps/trac/gallery/ticket/396

I'm betting you're having another issue. Could you post a link to your G3 install as well as a link to phpinfo?
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: Mon, 2009-09-28 21:44
 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2009-09-29 04:42

maredzki,

Quote:
Powered by Gallery 3.0 beta 3

please try an experimental version:
FAQ: How do I upgrade?

Do you get the exact same error?
post what you get.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2009-09-29 04:55

Ah, didn't see this before. Don't know what or how to fix it, but you are not the only one who has had issues getting G3 running on 1&1.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
maredzki

Joined: 2003-11-06
Posts: 40
Posted: Tue, 2009-09-29 21:50
floridave wrote:
maredzki,

Quote:
Powered by Gallery 3.0 beta 3

please try an experimental version:
FAQ: How do I upgrade?

Do you get the exact same error?
post what you get.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

Dave,
I installed it, configured it and when I got to my url I received a blank page. The way I installed the experimental version was a blank install, not a lay over the top of beta 3. Just wanted to let you know.

Marek

 
maredzki

Joined: 2003-11-06
Posts: 40
Posted: Tue, 2009-09-29 21:54
nivekiam wrote:
Ah, didn't see this before. Don't know what or how to fix it, but you are not the only one who has had issues getting G3 running on 1&1.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Yeah, seems like some people have issues with G3 on 1&1. My G2 is running with no issues, but am getting ready for upgrade trials and am getting same error with each beta release...

This is the error i seem to be getting:
"29 Sep 2009 17:52:01","/maredzki/gallery2_multisite/modules/core/classes/Gallery.class:
275","(Notice) Undefined index: repository.url"

Marek

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2009-09-29 21:59

Find out which version of Apache they run.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
maredzki

Joined: 2003-11-06
Posts: 40
Posted: Wed, 2009-09-30 21:19

Here you go:
http://faq.1and1.com/miscellaneous/13.html

Apache version: 1.3.34

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-09-30 21:23

Only Apache 2.2 or newer is supported.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
maredzki

Joined: 2003-11-06
Posts: 40
Posted: Thu, 2009-10-01 04:44
 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-10-01 05:14
Quote:
Apache version: 1.3.34

Quote:
apache-2.0.51

See our confusion?

1 and 1 documentation wrote:
Newly installed Root-Servers always contain the latest security updates.

http://httpd.apache.org/security/vulnerabilities_20.html
Seems that 2.0.51 does not 'contain the latest security updates'
more confusion? at least for me it is.

So can you confirm what version your host has for your site?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-10-01 13:20

And it's Apache 2.2, not 2.0 that's supported. Don't know if that will make a difference, but 2.2 is the current version of Apache and that's what we're supporting. Apache 2.0 and 1.3 haven't seen updates for almost 2 years now, but 2.2 is actively being worked on.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
maredzki

Joined: 2003-11-06
Posts: 40
Posted: Thu, 2009-10-01 13:54

I see, ok, i guess i will be stuck with G2 for now until 1&1 decides to upgrade to apache 2.2. I was trying to get the apache version straight from my ssh session but it seems they are not allowing it.

Thanks guys, i will keep you in the loop when they finally upgrade to 2.2

Cheers,
Marek