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 )
--------------------------------------------------------------
Posts: 27300
There is a open ticket for multi gallery2 installs.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 40
@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"
Posts: 27300
http://apps.sf.net/trac/gallery/ticket/377
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 40
Cheers Dave, I will monitor the ticket for resolution.
Posts: 40
Will this supposed to be fixed in beta 2?
Thanks,
Marek
Posts: 16504
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
Posts: 40
I just downloaded gallery3_3 and I am encountering the same issue. Any ideas why, I thought this was fixed?
Thanks much!
Marek
Posts: 16504
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
Posts: 40
Here it is:
http://gallery.maredzki.com
phpinfo:
http://gallery.maredzki.com/test.php
Marek
Posts: 27300
maredzki,
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
Posts: 16504
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
Posts: 40
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
Posts: 40
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
Posts: 16504
Find out which version of Apache they run.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 40
Here you go:
http://faq.1and1.com/miscellaneous/13.html
Apache version: 1.3.34
Posts: 16504
Only Apache 2.2 or newer is supported.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 40
Actually apache-2.0.51
http://faq.1and1.com/dedicated_servers/root_server/fedora_operating_system/1.html
Posts: 27300
See our confusion?
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
Posts: 16504
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
Posts: 40
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