Import from Gallery2

tomh1000

Joined: 2004-05-12
Posts: 12
Posted: Fri, 2009-10-02 11:48

Not having any luck with the import function. This is what I get when I try it:

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: 189

And here's how we got there:
modules/gallery/helpers/access.php [390]:
access_Core::forbidden( )
modules/g2_import/controllers/admin_g2_import.php [45]:
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] =>
[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] =>
[ip_address] =>
)

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

)
)
Kohana::instance( )
system/core/Event.php [209]:
call_user_func( Array
(
[0] => Kohana
[1] => instance
)
)
system/core/Bootstrap.php [55]:
Event::run( system.execute )
index.php [86]:
require( system/core/Bootstrap.php )

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Fri, 2009-10-02 13:34

Experimental version:
FAQ: How do I upgrade?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
tomh1000

Joined: 2004-05-12
Posts: 12
Posted: Sat, 2009-10-03 12:51

Thanks Dave but I have no problem with the upgrade. The problem is I can't import my G2 photos into G3. When I try I get the error message referenced in my first message.

Thanks for the help,
Tom

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Sun, 2009-10-04 00:34

So... you are running an experimental version?
Anything in the var/logs?
Can you add items via local server?
Can you add items via the browser?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
tomh1000

Joined: 2004-05-12
Posts: 12
Posted: Sun, 2009-10-04 13:30
floridave wrote:
So... you are running an experimental version?
Anything in the var/logs?
Can you add items via local server?
Can you add items via the browser?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Hi Dave,
No, I am not using the experimental version. I am using the latest beta release. I can add albums using the "server add" option this option only adds the photos and none of the user, comments and so on. also the names of the albums are just called what ever directory they are in and not the real name of the albums as such in G2. I can upload, add photos and all that stuff just fine.

When I try to do the G2 to G3 import the log file says:

<data and time> --- error: Uncaught Exception: @todo FORBIDDEN in file modules/gallery/helpers/access.php on line 189

Something I noticed on a windows PC is that I am getting an HTTP error 500. I just get a blank screen on my mac using Safari.

Hope this helps and thanks for your help,
Tom

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Sun, 2009-10-04 14:42
Quote:
No, I am not using the experimental version.

Please try an experimental version. Link above.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team