I want to import my Gallery2 items.
I go to "Settings / Gallery 2 Import". Now I have entered the path of my Gallery 2 embed.php file. When I click on save, only a white empty page appears.
The link in the URL-Bar is: /gallery3/index.php/admin/g2_import/save
The directory /gallery3/var/log is empty
When I go enty the URL-Bar and reload the page there is an error in /var/log/
2009-05-31 13:13:39 +02:00 --- error: Uncaught Exception: @todo FORBIDDEN in file modules/gallery/helpers/access.php on line 176
Posts: 49
Here is a Apache2 Log:
xxx.xxx.xx.xxx - - [01/Jun/2009:12:01:03 +0200] "POST /gallery3/index.php/admin/g2_import/save HTTP/1.1" 500 - "http://www.xxxxxx.xxx/gallery3/index.php/admin/g2_import" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; de-de) AppleWebKit/528.18.1 (KHTML, like Gecko) Version/4.0 Safari/528.17"
The server respeonds with an 500 error on running /index.php/admin/g2_import
Posts: 49
I have completly reinstalled my server with Debian 5 Lenny.
Now the import of my Gallery2 data into Gallery3 is working perfect.
Posts: 7994
Weird error, but I'm glad you resolved it. We've made considerable fixes in the upcoming beta 1 release to improve the G2 -> G3 import, so stay tuned for that too.
---
Gallery 3 problems? Check gallery3/var/logs before you post!
Gallery 3 latest code: http://github.com/gallery/gallery3/zipball/master
Gallery 3 from git: http://codex.gallery2.org/Gallery:Using_Git
Posts: 40
I have the same problem with one installation of gallery2 where as it is working fine for another gallery2 install on the same server. I was able to import the gallery install 2 weeks back.
[img]http://inusys.com/santm-import.JPG[/img]
[img]http://inusys.com/aarush-import.JPG[/img]
Posts: 49
I habe upgrade to Beta 1.
Gallery2 Import funtion is broken again. When I enter the path of my Gallery2 directory (Filesystem path to your Gallery 2 embed.php file). only a white empty page appears.
No error message nothing. Only a white empty page.
Posts: 49
I have figured out the isue:
You must disable EACCELERATOR.
Posts: 7994
Thanks for letting us know that eaccelerator has issues with this code
---
Gallery 3 problems? Check gallery3/var/logs before you post!
Gallery 3 latest code: http://github.com/gallery/gallery3/zipball/master
Gallery 3 from git: http://codex.gallery2.org/Gallery:Using_Git
Posts: 40
http://inusys.com/santm.php
Checked my shared hosting php setting and could not locate any thing related to eaccelerator ? What else need to be checked ? All ready tried with "zend_optimizer.enable_loader = 0" but no luck.
-thanks
Posts: 31
I have the exact same problem (see my post in the "Troubleshooting / Problems" section). [b]But [/i]I don't have eAccelerator installed. The apache log gives:
127.0.0.1 - - [07/Jun/2009:14:33:04 +0200] "POST /index.php/admin/g2_import/save HTTP/1.0" 200 - "http://YYYYYYYYYYY/index.php/admin/g2_import" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10"
It confirms that the server replies with an empty page...
(and I couldn't find what "error 417" in the flash uploader means...)
Posts: 113
I'm having the same issue ... just a blank page after putting in the path to my embed.php and clicking Save. Same info in the apache log:
xx.xx.xx.xx - - [08/Jun/2009:12:32:38 -0400] "POST /gallery3/index.php/admin/g2_import/save HTTP/1.1" 500 - "http://www.xxxxxxx.net/gallery3/index.php/admin/g2_import" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)"
Platform information:
Operating System: Linux
Apache: Apache/2.2.11 (Ubuntu)
PHP: 5.2.6-3ubuntu4.1
MySQL: 5.0.75-0ubuntu10.2
(side note: is there not a place where we can easily copy the platform information like the old maintenance page in G2? I can't click-drag-select the text from the pagelet on the dashboard).
Posts: 31
You are getting a 500 error, which means 'internal server error'. You may be able to get some more information from the error log, usually in /var/log/apache2/error.log (if you didn't change this location or if it hasn't change since last time I used an apache server on ubuntu)
Posts: 113
Strangely enough though, there's no corresponding line in the error.log for the 500.
I saw in your other thread that you're using multi-site as well. Maybe that's the key here?
Posts: 7994
A blank page generally means that Apache crashed in a way that PHP couldn't recover from (or could recover enough to put up an error page). Hard to say what's causing that, but so far the culprits I've seen for this have been PHP bytecode accelerators (eAccelerator, APC, Zend Optimizer, etc). Can anybody reproduce that *without* one of those enabled? Can you check your /var/log/syslog to see if you're getting segfaults in Apache?
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest zip: http://github.com/gallery/gallery3/zipball/master
Latest git: http://codex.gallery2.org/Gallery:Using_Git
Posts: 19
I have the same problem.
non accelerator (i think)
the log file say "2009-06-09 15:41:47 +02:00 --- error: Uncaught Exception: @todo FORBIDDEN in file modules/gallery/helpers/access.php on line 176"
and the stuff is
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] =>
[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( 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: 40
Currently using latest version (commit d297f1fdd24c3bc509ee5fd1bb5969976dc8a160) and I found some interesting error in gallery3/var/logs
To me it means some files are missing as I might have deleted the same or moved them some where. But when I physically check them in "~/www/santm.com/gallery2/g2data_d914e37b9c/albums/2009/wayanad" I can see the same file is there and it has 644 permission like other images. I already run dB optimize, cache clean up from gallery2/lib/support
Here is my gallery2 details
Get system details; useful for copy/paste into G2 support forum.
Last Run Details:
Posts: 40
I am using this version/branch and looks like my problem is gone
tips from http://gallery.menalto.com/node/88169
git clone http://github.com/dkm/gallery3.git
@bharat can you please include the same changes in master git ; as I am not sure what those are
Posts: 7994
It's on my list!
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest zip: http://github.com/gallery/gallery3/zipball/master
Latest git: http://codex.gallery2.org/Gallery:Using_Git
Posts: 31
Wow, I may become a (very small) contributor to the most powerful web gallery software. \o/
I must admit that being able to use git really helps