Follow the on screen prompts to configure it. Ask if you have questions. You can also go to Settings > Server Add or Admin > Settings > Server Add after it's installed.
G2 must be on the same server.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
floridave
Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2009-07-15 03:17
There is also the Gallery2 Import module to import G2 but not a specific album.
Imported successfully. Albums and pics seem to be all there. However, none of the thumbnails show up
-----
M i k e
nivekiam
Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-07-15 03:51
Try uploading a pic to see if that alone works.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
baysidemk
Joined: 2009-06-28
Posts: 39
Posted: Wed, 2009-07-15 12:43
I can upload a single photo and the thumbnail does show. I went to the maintenance page and shows under available tasks: Rebuild Images You have 1138 out of date photos. I selected this and run it. It seems to hang on Starting Up. I left it running for 6 hours and it was still frozen in this position. I was able to pause and then cancel the task at that point. But, it looks like this needs to run to fix the thumbnails. The import dialogs suggested that the thumbnails would be built during the import.
-----
M i k e
floridave
Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2009-07-15 12:54
See in running
chmod 777 -R var
from the G3 directory works. I have a similar issue and bharat is looking into it.
When I run the update photos task, it generates a series of error messages (see below) that say it is looking for files of the form ./album.jpg in each of the album folders. These files do not exist. I had imported these albums from Gallery 2 using the import function. i am going to try reimporting and check what errors may be generated.
-----
M i k e
[Wed Jul 15 18:51:56 2009] [error] [client 68.173.182.71] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/2008_Chanukah/.album.jpg, referer: http://nyckatz.com/gallery3/
[Wed Jul 15 18:51:56 2009] [error] [client 68.173.182.71] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/2008_Aaron_Feinberg/.album.jpg, referer: http://nyckatz.com/gallery3/
[Wed Jul 15 18:51:56 2009] [error] [client 68.173.182.71] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/RuthPics/.album.jpg, referer: http://nyckatz.com/gallery3/
[Wed Jul 15 18:51:56 2009] [error] [client 68.173.182.71] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/2008_White_Nights_And_Pasta/.album.jpg, referer: http://nyckatz.com/gallery3/
baysidemk
Joined: 2009-06-28
Posts: 39
Posted: Thu, 2009-07-16 00:31
The import is generating the same string of error messages, although it is creating the albums and uploading the pictures, the thumbnails are all broken
-----
M i k e
[Wed Jul 15 20:07:26 2009] [error] [client 68.173.182.71] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/2009_Summer_Opera_Safari/2009_London/.album.jpg, referer: http://nyckatz.com/gallery3/index.php/2009_Summer_Opera_Safari
[Wed Jul 15 20:07:34 2009] [error] [client 68.173.182.71] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/2009_Summer_Opera_Safari/2009_London/.album.jpg, referer: http://nyckatz.com/gallery3/index.php/2009_Summer_Opera_Safari
[Wed Jul 15 20:07:42 2009] [error] [client 68.173.182.71] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/2009_Summer_Opera_Safari/.album.jpg, referer: http://nyckatz.com/gallery3/index.php/
[Wed Jul 15 20:07:47 2009] [error] [client 68.173.182.71] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/2009_Summer_Opera_Safari/.album.jpg, referer: http://nyckatz.com/gallery3/index.php/
bharat
Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2009-07-16 03:06
The 404s for .album.jpg just mean that the album has no highlight yet. We'll square that away before the final release. If you look in gallery3/var/logs there's probably a clue there that we need to sort this out. Most likely, Gallery3 did not properly detect your image toolkit.
Two points... the albums being imported all have highlights so the import process doesn't seem to be finding them. I deleted all the albums and tried the import again. It hangs in the startup step and the following error were in the log
2009-07-15 20:33:11 -04:00 --- error: Missing URL reference 'indicator.gif' in CSS file '/var/www/vhosts/nyckatz.com/httpdocs/gallery3/lib/jquery.autocomplete.css'
2009-07-15 20:33:33 -04:00 --- error: Uncaught Kohana_404_Exception: The page you requested, combined/css/indicator.gif, could not be found. in file system/core/Kohana.php on line 841
When I try to use the upload function, it goes through the whole upload process and the progress dialog goes to complete but then it says error 500. however, i don't see anything in the error log for some reason. perhaps i am looking at the wrong log. i checked the var directory and everything is 777
-----
M i k e
nivekiam
Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2009-07-17 20:32
Quote:
error 500
Check your webserver's error logs, not Gallery's but the webserver's. That should have more info for those types of errors.
it looks like it's related to file size. if the upload exceeds a megabyte or so, it gets the 500.. but, the error log says something totally unrelated:
[Fri Jul 17 23:28:03 2009] [error] [client 64.134.10.246] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/RuthPics/.album.jpg, referer: http://nyckatz.com/gallery3/
[Fri Jul 17 23:28:03 2009] [error] [client 64.134.10.246] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/2009-Mothers-Day/IMG_3332.jpg, referer: http://nyckatz.com/gallery3/
is there a place to specify maximum upload sizes?
-----
M i k e
baysidemk
Joined: 2009-06-28
Posts: 39
Posted: Sat, 2009-07-18 03:32
Switching the toolkit from GD to ImageMagick seems to have solved the single image issue. it will now upload big jpg's
-----
M i k e
baysidemk
Joined: 2009-06-28
Posts: 39
Posted: Sat, 2009-07-18 03:53
Import ran successfully with Image Magick, but still no highlights imported or thumbnails
Maintenance page says 1326 photos (all) out of date -- update runs successfully but at the end still says 1326 photos out of data and still no thumbnails.
-----
M i k e
I don't think that's what the problem is for the following reasons:
1) gallery 2 is running on the same server and it uploads the photos without any problem
2) the import is uploading and storing the photos in the albumbs -- but it is not generating/displaying thumbnails
3) the rebuild picture function generates messages for each photo regardless of size and none of the pictures, even the smaller ones, gets a thumbnail on import, examples of messages follows:
Unable to rebuild images for 'Verona'
Unable to rebuild images for 'Michael'
Unable to rebuild images for 'Stephen'
Unable to rebuild images for 'Regina'
Unable to rebuild images for 'Citizenship'
-----
M i k e
bharat
Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2009-07-21 13:49
The graphics library is definitely failing if you're seeing the "Unable to rebuild" message. There should be something in the error log for it. Try deleting all your log files under gallery3/var/logs and then run the rebuild again and see what it says in the logs.
---
Problems? Check gallery3/var/logs bugs/feature req's | upgrade to the latest code | use git | help! vote!
baysidemk
Joined: 2009-06-28
Posts: 39
Posted: Wed, 2009-07-22 03:45
the following error appears at the beginning of the execution of update photos:
2009-07-21 23:42:00 -04:00 --- error: Caught exception rebuilding image: 2009 Mothers Day
The ImageMagick directory specified does not contain a required program, convert.
-----
M i k e
baysidemk
Joined: 2009-06-28
Posts: 39
Posted: Wed, 2009-07-22 03:55
Gallery 2 is running well with the GD toolkit. In Gallery 3, if I select GD, the rebuild image just hangs in the starting up step and generates no error messages... not sure if there is some issue with gallery 3 using gd, since Gallery 2 is able to use the same installation with no issues.
-----
M i k e
osomanden
Joined: 2003-11-25
Posts: 64
Posted: Wed, 2009-07-22 06:35
Hi, just got the latest Gid release.
chmod -R 1777 var
and tried to import from /usr/share/gallery2
And got a blank page. I see that it has tried to copy some files into var/modules/g2_import/bd5955c214ae8897a054d0cdefdeca78/
bootstrap.inc embed.php Gallery.class main.php
Trying to reload the page I got this:
Dang... Something went wrong!
We tried really hard, but it's broken. 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: 188
And here's how we got there:
modules/gallery/helpers/access.php [389]:
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
(
)
Uh, and just saying it.. upload of images manual works fine.
Any ideas?
bharat
Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2009-07-30 18:20
Try deleting var/modules/g2_import/bd5955c214ae8897a054d0cdefdeca78 and try again. The old version probably didn't generate those files correctly and the new version won't overwrite them.. so if you get rid of them first it'll (hopefully) get it right.
---
Problems? Check gallery3/var/logs bugs/feature req's | upgrade to the latest code | use git | help! vote!
baysidemk
Joined: 2009-06-28
Posts: 39
Posted: Thu, 2009-07-30 19:37
i removed the 88ca96a2086572aa934b0045e38633fa directory and redid the import. the directory regenerated but i am still getting the error messages in the log and no thumbnails...(see below)
-----
M i k e
Task Rebuild Images started (task id 21)
Unable to rebuild images for '2009 Mothers Day'
Unable to rebuild images for '2009_05_10_0467'
Unable to rebuild images for '2009_05_10_0468'
bharat
Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2009-07-31 19:57
Ok, so it seems we're back to a toolkit problem. You're still using ImageMagick, I assume? Can you check your Apache error logs? I'm guessing that there's an open_basedir restriction in effect (which is weird because you say it works with Gallery2), but there should be a clue to this in your apache error logs. If not, can you give me ssh access to your server so that I can poke around? I'll also need read/write access to your code so that I can tinker with it a bit and try to fix the issue on-site.
---
Problems? Check gallery3/var/logs bugs/feature req's | upgrade to the latest code | use git | help! vote!
baysidemk
Joined: 2009-06-28
Posts: 39
Posted: Fri, 2009-07-31 20:25
Just to review the bidding. Using GD successfully with Gallery 2. Neither GD nor ImageMagick will work with G3 on my server. I put in an openbasedir spec to open up /usr/bin but ImageMagick still will not work. the G3 logs say cannot rebuild images for xxx when i try to run the Rebuild Images. Apache logs look clean except for the cannot find file message for .album.jpg, which you had said is just because there are no highlight thumbnails.
I would be happy to have you SSH in and see what's up. can you email me privately so i can send access info privately?
-----
M i k e
I'm getting the blank screen as well. Using the newest version from GitHub.
It's coping over the files and changing the class names from Gallery to G2_Gallery but then fails after that. I think it dies right around line 147 of g2_image.php in the g2_import helpers folder.
lookatbowen
Joined: 2009-08-04
Posts: 2
Posted: Tue, 2009-08-04 21:41
Hi all
My photos are sitting in the following path: /home1/stuffonm/public_html/gal2data/g2datam/albums
My gallery runs from within my website: /home1/stuffonm/public_html/lookatbowen/gallery223
I set Gallery2 up like this because the documentation at the time instructed me to do it this way.
When I run the Gallery2 import to Gallery3 it only seems to pick up one folder that contains no photographs. How to I import from /home1/stuffonm/public_html/gal2data/g2datam/albums
Any help will be much appreciated.
Mike
P.S. After a bit of soul searching and looking into folders I have ignored for the past 10 months, I may have found the correct Gallery2 folder (I had a few of them) and the one I thought was the latest has turned out to be the wrong one. I am now importing 70 albums and 4000 images. So it's looks good so far. One thing I love is the pause button. I clicked it because the counter stopped, and it returned me to the beginning screen. I then went into Maintenance and found that it was still running or had now been stopped and I could continue from where I had left off. That is a nice feature.
bharat
Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2009-08-05 02:14
@MeanStudios: if you haven't already, delete the files that are copied into var/modules/g2_import and then try again. If that doesn't resolve it, can you zip up the copied over files and attach them here so that we can look at them?
---
Problems? Check gallery3/var/logs bugs/feature req's | upgrade to the latest code | use git | help! vote!
baysidemk
Joined: 2009-06-28
Posts: 39
Posted: Thu, 2009-08-06 03:00
It turns out that this was an openbasedir problem. adding /usr/bin to the openbasedir list for PHP has fixed the problem
Many thanks to bharat for chasing this one down!!!
-----
M i k e
lookatbowen
Joined: 2009-08-04
Posts: 2
Posted: Thu, 2009-08-06 20:07
After a successful migration from G2 to G3 for my own website, I decided to do the same for my brothers gallery 2.1.1 website, hosted at the same host centre.
Unfortunately I am not having the same luck and constantly getting the white screen after I fill in the correct path:
Configure Gallery 2 Import
* Filesystem path to your Gallery 2 embed.php file: /home1/stuffonm/public_html/peteandlauren/gallery2
Gallery2 contains the embed.php files which sits in the following path: /home1/stuffonm/public_html/peteandlauren/gallery2
The actual Albums and photos are sitting outside of the root folder: /home1/stuffonm/public_html/gal2data/g2datap
I have deleted the 6c2d5bce16e4decab13ce4846b80b09e folder from: /home1/stuffonm/public_html/peteandlauren/gallery3/var/modules/g2_import and tried again without success.
I have looked at the logs located in: /home1/stuffonm/public_html/peteandlauren/gallery3/var/logs
<?php defined('SYSPATH') or die('No direct script access.'); ?>
2009-08-06 07:21:02 -06:00 --- error: Uncaught Exception: @todo FORBIDDEN in file modules/gallery/helpers/access.php on line 176
2009-08-06 12:45:14 -06:00 --- error: Uncaught Exception: @todo FORBIDDEN in file modules/gallery/helpers/access.php on line 176
2009-08-06 12:48:38 -06:00 --- error: Missing URL reference 'indicator.gif' in CSS file '/home1/stuffonm/public_html/peteandlauren/gallery3/lib/jquery.autocomplete.css'
2009-08-06 12:52:00 -06:00 --- error: Uncaught Kohana_404_Exception: The page you requested, admin/g2_import/install, could not be found. in file system/core/Kohana.php on line 841
2009-08-06 12:52:38 -06:00 --- error: Uncaught Kohana_404_Exception: The page you requested, admin/g2_import/install, could not be found. in file system/core/Kohana.php on line 841
2009-08-06 12:53:56 -06:00 --- error: Uncaught Kohana_404_Exception: The page you requested, combined/css/indicator.gif, could not be found. in file system/core/Kohana.php on line 841
2009-08-06 12:58:13 -06:00 --- error: Uncaught Kohana_404_Exception: The page you requested, combined/css/indicator.gif, could not be found. in file system/core/Kohana.php on line 841
I have also turned on the Server Add module, and added the following authorized paths, but didn't notice anything different:
* X /home1/stuffonm/public_html/peteandlauren/gallery2
* X /home1/stuffonm/public_html/gal2data/g2datap
Does this mean anything to anyone?
Is it something to do with permissions?
Should I first upgrade Gallery 2.1.1 (Blackjack) to the latest version of 2.3 and then try the import?
Please let me know, as I am really keen to get Gallery 3 up and running, after seeing how fast it runs on my own gallery.
Regards,
Mike
bharat
Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2009-08-13 18:35
If you upgrade from 2.1.1 to 2.3 first it should resolve the issue. Otherwise, can you please zip up the conents of var/modules/g2_import and attach it here? Perhaps we can figure out a fix for your issue with 2.1.1
---
Problems? Check gallery3/var/logs bugs/feature req's | upgrade to the latest code | use git | help! vote!
nithiram
Joined: 2009-08-17
Posts: 1
Posted: Mon, 2009-08-17 22:14
Hi Bharat - I have the similar issue, when I try to import the data from G2.3 to G3 Beta 2. Attached please find the zip file of the contents from var/modules/g2_import
osomanden
Joined: 2003-11-25
Posts: 64
Posted: Tue, 2009-08-18 06:39
God damn it.. (sorry for the language..) but I just upgraded the gallery2 from 2.1.2 to 2.3.. and now I am able to import from G2 to G3.
KyO77
Joined: 2008-10-13
Posts: 9
Posted: Tue, 2009-08-18 14:36
i receive this error The path you entered is not a Gallery 2 installation.
i have gallery2 2.3
gallery file /srv/www/htdocs/gallery
g2data /srv/www/htdocs/gallery_archive
Quote:
GalleryEmbed::init failed, here is the error message: Error (ERROR_MISSING_OBJECT) : Parent 7 path admin
* in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 98 (GalleryCoreApi::error)
* in modules/core/classes/GalleryCoreApi.class at line 1952 (GalleryFileSystemEntityHelper_simple::fetchChildIdByPathComponent)
* in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 53 (GalleryCoreApi::fetchChildIdByPathComponent)
* in modules/core/classes/GalleryCoreApi.class at line 1901 (GalleryFileSystemEntityHelper_simple::fetchItemIdByPath)
* in modules/rewrite/classes/RewriteSimpleHelper.class at line 45 (GalleryCoreApi::fetchItemIdByPath)
* in ??? at line 0 (RewriteSimpleHelper::loadItemIdFromPath)
* in modules/rewrite/classes/RewriteUrlGenerator.class at line 103
* in modules/rewrite/classes/parsers/pathinfo/PathInfoUrlGenerator.class at line 134 (RewriteUrlGenerator::_onLoad)
* in init.inc at line 166 (PathInfoUrlGenerator::initNavigation)
* in modules/core/classes/GalleryEmbed.class at line 129
* in /srv/www/htdocs/peppeseby.com/gallery3/modules/g2_import/helpers/g2_import.php at line 147 (GalleryEmbed::init)
* in /srv/www/htdocs/peppeseby.com/gallery3/modules/g2_import/helpers/g2_import.php at line 53 (g2_import_Core::init_embed)
* in /srv/www/htdocs/peppeseby.com/gallery3/modules/g2_import/controllers/admin_g2_import.php at line 54 (g2_import_Core::is_valid_embed_path)
* in ??? at line 0 (Admin_g2_import_Controller::save)
* in /srv/www/htdocs/peppeseby.com/gallery3/modules/gallery/controllers/admin.php at line 50
* in ??? at line 0 (Admin_Controller::__call)
* in /srv/www/htdocs/peppeseby.com/gallery3/system/core/Kohana.php at line 291 (ReflectionMethod::invokeArgs)
* in ??? at line 0 (Kohana::instance)
* in /srv/www/htdocs/peppeseby.com/gallery3/system/core/Event.php at line 209
* in /srv/www/htdocs/peppeseby.com/gallery3/system/core/Bootstrap.php at line 55 (Event::run)
* in /srv/www/htdocs/peppeseby.com/gallery3/index.php at line 85
i change modules/g2_import/helpers/g2_import.php, in
$ret = GalleryEmbed::init();
if ($ret) {
die( $ret->getAsHtml() );
floridave
Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2009-08-19 01:25
Ky077,
does your G2 work?
I'm a bit confused with the paths and the error message: gallery file /srv/www/htdocs/gallery
yet in the error log it says: /srv/www/htdocs/peppeseby.com/.....
i have an server and gallery2 is here /srv/www/htdocs/gallery/
randomly
Joined: 2006-07-06
Posts: 13
Posted: Thu, 2009-10-01 22:33
I can import pictures/albums from G2 to G3. However, is there any way to import the descriptions, comments etc.. belonging to the album I want to import?
-Dave
nivekiam
Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-10-01 22:37
So long as you have the Comments module installed in G3 (which it is by default) all of that should come in.
Works for me too. Since there is no "Summary" in G3, just as Dave posted, I get them combined into a description.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
randomly
Joined: 2006-07-06
Posts: 13
Posted: Mon, 2009-10-05 20:52
floridave wrote:
Are you using the G2 import module or the server add?
I'm using the server add to import one album. In that album (in G2) I had both Title, Summary, and Description. In G3 I've got the directory name as title, and neither Summary or Description are there.
Some photos in that album also have title and they are not imported as well.
By the way, I am running Gallery version 2.3, core 1.3.0
nivekiam
Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2009-10-05 20:51
If you're using the Server Add module, you'll NEVER get the summary or description. That data is stored in the database for G2 (and G3) and not in the directories or files.
To get that information you need to use the G2 Import module that comes with G3. See Admin > Modules
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
randomly
Joined: 2006-07-06
Posts: 13
Posted: Mon, 2009-10-05 21:02
OK, that's why. Thank you for noting that.
I have thought of using the G2 import module, but I want to test every thing in G3 before going for a full import.
By the way, there is another question regarding the store directory (gallery3/var). What I can remember from G2 is that it was recommended not to have the g2data in the same directory where g2 was installed. However, in G3 the store directory is right below the gallery3 directory and I can view that directory in a web browser. Do you have any reflections on that?
Posts: 16504
Yes. Admin > Modules > Server Add
Check that, click Update
Follow the on screen prompts to configure it. Ask if you have questions. You can also go to Settings > Server Add or Admin > Settings > Server Add after it's installed.
G2 must be on the same server.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 27300
There is also the Gallery2 Import module to import G2 but not a specific album.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 39
Imported successfully. Albums and pics seem to be all there. However, none of the thumbnails show up
-----
M i k e
Posts: 16504
Try uploading a pic to see if that alone works.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 39
I can upload a single photo and the thumbnail does show. I went to the maintenance page and shows under available tasks: Rebuild Images You have 1138 out of date photos. I selected this and run it. It seems to hang on Starting Up. I left it running for 6 hours and it was still frozen in this position. I was able to pause and then cancel the task at that point. But, it looks like this needs to run to fix the thumbnails. The import dialogs suggested that the thumbnails would be built during the import.
-----
M i k e
Posts: 27300
See in running
chmod 777 -R var
from the G3 directory works. I have a similar issue and bharat is looking into it.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 39
When I run the update photos task, it generates a series of error messages (see below) that say it is looking for files of the form ./album.jpg in each of the album folders. These files do not exist. I had imported these albums from Gallery 2 using the import function. i am going to try reimporting and check what errors may be generated.
-----
M i k e
[Wed Jul 15 18:51:56 2009] [error] [client 68.173.182.71] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/2008_Chanukah/.album.jpg, referer: http://nyckatz.com/gallery3/
[Wed Jul 15 18:51:56 2009] [error] [client 68.173.182.71] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/2008_Aaron_Feinberg/.album.jpg, referer: http://nyckatz.com/gallery3/
[Wed Jul 15 18:51:56 2009] [error] [client 68.173.182.71] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/RuthPics/.album.jpg, referer: http://nyckatz.com/gallery3/
[Wed Jul 15 18:51:56 2009] [error] [client 68.173.182.71] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/2008_White_Nights_And_Pasta/.album.jpg, referer: http://nyckatz.com/gallery3/
Posts: 39
The import is generating the same string of error messages, although it is creating the albums and uploading the pictures, the thumbnails are all broken
-----
M i k e
[Wed Jul 15 20:07:26 2009] [error] [client 68.173.182.71] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/2009_Summer_Opera_Safari/2009_London/.album.jpg, referer: http://nyckatz.com/gallery3/index.php/2009_Summer_Opera_Safari
[Wed Jul 15 20:07:34 2009] [error] [client 68.173.182.71] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/2009_Summer_Opera_Safari/2009_London/.album.jpg, referer: http://nyckatz.com/gallery3/index.php/2009_Summer_Opera_Safari
[Wed Jul 15 20:07:42 2009] [error] [client 68.173.182.71] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/2009_Summer_Opera_Safari/.album.jpg, referer: http://nyckatz.com/gallery3/index.php/
[Wed Jul 15 20:07:47 2009] [error] [client 68.173.182.71] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/2009_Summer_Opera_Safari/.album.jpg, referer: http://nyckatz.com/gallery3/index.php/
Posts: 7994
The 404s for .album.jpg just mean that the album has no highlight yet. We'll square that away before the final release. If you look in gallery3/var/logs there's probably a clue there that we need to sort this out. Most likely, Gallery3 did not properly detect your image toolkit.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 39
Thsnks!
Two points... the albums being imported all have highlights so the import process doesn't seem to be finding them. I deleted all the albums and tried the import again. It hangs in the startup step and the following error were in the log
2009-07-15 20:33:11 -04:00 --- error: Missing URL reference 'indicator.gif' in CSS file '/var/www/vhosts/nyckatz.com/httpdocs/gallery3/lib/jquery.autocomplete.css'
2009-07-15 20:33:33 -04:00 --- error: Uncaught Kohana_404_Exception: The page you requested, combined/css/indicator.gif, could not be found. in file system/core/Kohana.php on line 841
-----
M i k e
Posts: 7994
And if you add photos via the regular interface does that work properly?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 39
When I try to use the upload function, it goes through the whole upload process and the progress dialog goes to complete but then it says error 500. however, i don't see anything in the error log for some reason. perhaps i am looking at the wrong log. i checked the var directory and everything is 777
-----
M i k e
Posts: 16504
Check your webserver's error logs, not Gallery's but the webserver's. That should have more info for those types of errors.
FAQ: What is the webserver error log?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 7994
I'm betting that it's a problem with the graphics toolkit. Try switching to ImageMagick or GraphicsMagick.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 39
it looks like it's related to file size. if the upload exceeds a megabyte or so, it gets the 500.. but, the error log says something totally unrelated:
[Fri Jul 17 23:28:03 2009] [error] [client 64.134.10.246] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/RuthPics/.album.jpg, referer: http://nyckatz.com/gallery3/
[Fri Jul 17 23:28:03 2009] [error] [client 64.134.10.246] File does not exist: /var/www/vhosts/nyckatz.com/httpdocs/gallery3/var/thumbs/2009-Mothers-Day/IMG_3332.jpg, referer: http://nyckatz.com/gallery3/
is there a place to specify maximum upload sizes?
-----
M i k e
Posts: 39
Switching the toolkit from GD to ImageMagick seems to have solved the single image issue. it will now upload big jpg's
-----
M i k e
Posts: 39
Import ran successfully with Image Magick, but still no highlights imported or thumbnails
Maintenance page says 1326 photos (all) out of date -- update runs successfully but at the end still says 1326 photos out of data and still no thumbnails.
-----
M i k e
Posts: 27300
FAQ: Why can't I upload big files (over a megabyte or two)?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 39
I don't think that's what the problem is for the following reasons:
1) gallery 2 is running on the same server and it uploads the photos without any problem
2) the import is uploading and storing the photos in the albumbs -- but it is not generating/displaying thumbnails
3) the rebuild picture function generates messages for each photo regardless of size and none of the pictures, even the smaller ones, gets a thumbnail on import, examples of messages follows:
Unable to rebuild images for 'Verona'
Unable to rebuild images for 'Michael'
Unable to rebuild images for 'Stephen'
Unable to rebuild images for 'Regina'
Unable to rebuild images for 'Citizenship'
-----
M i k e
Posts: 7994
The graphics library is definitely failing if you're seeing the "Unable to rebuild" message. There should be something in the error log for it. Try deleting all your log files under gallery3/var/logs and then run the rebuild again and see what it says in the logs.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 39
the following error appears at the beginning of the execution of update photos:
2009-07-21 23:42:00 -04:00 --- error: Caught exception rebuilding image: 2009 Mothers Day
The ImageMagick directory specified does not contain a required program, convert.
-----
M i k e
Posts: 39
Gallery 2 is running well with the GD toolkit. In Gallery 3, if I select GD, the rebuild image just hangs in the starting up step and generates no error messages... not sure if there is some issue with gallery 3 using gd, since Gallery 2 is able to use the same installation with no issues.
-----
M i k e
Posts: 64
Hi, just got the latest Gid release.
chmod -R 1777 var
and tried to import from /usr/share/gallery2
And got a blank page. I see that it has tried to copy some files into var/modules/g2_import/bd5955c214ae8897a054d0cdefdeca78/
bootstrap.inc embed.php Gallery.class main.php
Trying to reload the page I got this:
Dang... Something went wrong!
We tried really hard, but it's broken. 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: 188
And here's how we got there:
modules/gallery/helpers/access.php [389]:
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] => 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
(
[0] => Kohana
[1] => instance
)
)
system/core/Bootstrap.php [55]:
Event::run( system.execute )
index.php [85]:
require( system/core/Bootstrap.php )
Uh, and just saying it.. upload of images manual works fine.
Any ideas?
Posts: 7994
Try deleting var/modules/g2_import/bd5955c214ae8897a054d0cdefdeca78 and try again. The old version probably didn't generate those files correctly and the new version won't overwrite them.. so if you get rid of them first it'll (hopefully) get it right.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 39
i removed the 88ca96a2086572aa934b0045e38633fa directory and redid the import. the directory regenerated but i am still getting the error messages in the log and no thumbnails...(see below)
-----
M i k e
Task Rebuild Images started (task id 21)
Unable to rebuild images for '2009 Mothers Day'
Unable to rebuild images for '2009_05_10_0467'
Unable to rebuild images for '2009_05_10_0468'
Posts: 7994
Ok, so it seems we're back to a toolkit problem. You're still using ImageMagick, I assume? Can you check your Apache error logs? I'm guessing that there's an open_basedir restriction in effect (which is weird because you say it works with Gallery2), but there should be a clue to this in your apache error logs. If not, can you give me ssh access to your server so that I can poke around? I'll also need read/write access to your code so that I can tinker with it a bit and try to fix the issue on-site.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 39
Just to review the bidding. Using GD successfully with Gallery 2. Neither GD nor ImageMagick will work with G3 on my server. I put in an openbasedir spec to open up /usr/bin but ImageMagick still will not work. the G3 logs say cannot rebuild images for xxx when i try to run the Rebuild Images. Apache logs look clean except for the cannot find file message for .album.jpg, which you had said is just because there are no highlight thumbnails.
I would be happy to have you SSH in and see what's up. can you email me privately so i can send access info privately?
-----
M i k e
Posts: 7994
Email me at
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 5
I'm getting the blank screen as well. Using the newest version from GitHub.
It's coping over the files and changing the class names from Gallery to G2_Gallery but then fails after that. I think it dies right around line 147 of g2_image.php in the g2_import helpers folder.
Posts: 2
Hi all
My photos are sitting in the following path: /home1/stuffonm/public_html/gal2data/g2datam/albums
My gallery runs from within my website: /home1/stuffonm/public_html/lookatbowen/gallery223
I set Gallery2 up like this because the documentation at the time instructed me to do it this way.
When I run the Gallery2 import to Gallery3 it only seems to pick up one folder that contains no photographs. How to I import from /home1/stuffonm/public_html/gal2data/g2datam/albums
Any help will be much appreciated.
Mike
P.S. After a bit of soul searching and looking into folders I have ignored for the past 10 months, I may have found the correct Gallery2 folder (I had a few of them) and the one I thought was the latest has turned out to be the wrong one. I am now importing 70 albums and 4000 images. So it's looks good so far. One thing I love is the pause button. I clicked it because the counter stopped, and it returned me to the beginning screen. I then went into Maintenance and found that it was still running or had now been stopped and I could continue from where I had left off. That is a nice feature.
Posts: 7994
@MeanStudios: if you haven't already, delete the files that are copied into var/modules/g2_import and then try again. If that doesn't resolve it, can you zip up the copied over files and attach them here so that we can look at them?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 39
It turns out that this was an openbasedir problem. adding /usr/bin to the openbasedir list for PHP has fixed the problem
Many thanks to bharat for chasing this one down!!!
-----
M i k e
Posts: 2
After a successful migration from G2 to G3 for my own website, I decided to do the same for my brothers gallery 2.1.1 website, hosted at the same host centre.
Unfortunately I am not having the same luck and constantly getting the white screen after I fill in the correct path:
Configure Gallery 2 Import
* Filesystem path to your Gallery 2 embed.php file:
/home1/stuffonm/public_html/peteandlauren/gallery2
Gallery2 contains the embed.php files which sits in the following path: /home1/stuffonm/public_html/peteandlauren/gallery2
The actual Albums and photos are sitting outside of the root folder: /home1/stuffonm/public_html/gal2data/g2datap
I have deleted the 6c2d5bce16e4decab13ce4846b80b09e folder from: /home1/stuffonm/public_html/peteandlauren/gallery3/var/modules/g2_import and tried again without success.
I have looked at the logs located in: /home1/stuffonm/public_html/peteandlauren/gallery3/var/logs
<?php defined('SYSPATH') or die('No direct script access.'); ?>
2009-08-06 07:21:02 -06:00 --- error: Uncaught Exception: @todo FORBIDDEN in file modules/gallery/helpers/access.php on line 176
2009-08-06 12:45:14 -06:00 --- error: Uncaught Exception: @todo FORBIDDEN in file modules/gallery/helpers/access.php on line 176
2009-08-06 12:48:38 -06:00 --- error: Missing URL reference 'indicator.gif' in CSS file '/home1/stuffonm/public_html/peteandlauren/gallery3/lib/jquery.autocomplete.css'
2009-08-06 12:52:00 -06:00 --- error: Uncaught Kohana_404_Exception: The page you requested, admin/g2_import/install, could not be found. in file system/core/Kohana.php on line 841
2009-08-06 12:52:38 -06:00 --- error: Uncaught Kohana_404_Exception: The page you requested, admin/g2_import/install, could not be found. in file system/core/Kohana.php on line 841
2009-08-06 12:53:56 -06:00 --- error: Uncaught Kohana_404_Exception: The page you requested, combined/css/indicator.gif, could not be found. in file system/core/Kohana.php on line 841
2009-08-06 12:58:13 -06:00 --- error: Uncaught Kohana_404_Exception: The page you requested, combined/css/indicator.gif, could not be found. in file system/core/Kohana.php on line 841
I have also turned on the Server Add module, and added the following authorized paths, but didn't notice anything different:
* X /home1/stuffonm/public_html/peteandlauren/gallery2
* X /home1/stuffonm/public_html/gal2data/g2datap
Does this mean anything to anyone?
Is it something to do with permissions?
Should I first upgrade Gallery 2.1.1 (Blackjack) to the latest version of 2.3 and then try the import?
Please let me know, as I am really keen to get Gallery 3 up and running, after seeing how fast it runs on my own gallery.
Regards,
Mike
Posts: 7994
If you upgrade from 2.1.1 to 2.3 first it should resolve the issue. Otherwise, can you please zip up the conents of var/modules/g2_import and attach it here? Perhaps we can figure out a fix for your issue with 2.1.1
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 1
Hi Bharat - I have the similar issue, when I try to import the data from G2.3 to G3 Beta 2. Attached please find the zip file of the contents from var/modules/g2_import
Posts: 64
God damn it.. (sorry for the language..) but I just upgraded the gallery2 from 2.1.2 to 2.3.. and now I am able to import from G2 to G3.
Posts: 9
i receive this error The path you entered is not a Gallery 2 installation.
i have gallery2 2.3
gallery file /srv/www/htdocs/gallery
g2data /srv/www/htdocs/gallery_archive
i change modules/g2_import/helpers/g2_import.php, in
$ret = GalleryEmbed::init();
if ($ret) {
die( $ret->getAsHtml() );
Posts: 27300
Ky077,
does your G2 work?
I'm a bit confused with the paths and the error message:
gallery file /srv/www/htdocs/gallery
yet in the error log it says:
/srv/www/htdocs/peppeseby.com/.....
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 9
sure! gallery2 work www.autorobot.it/gallery
i have an server and gallery2 is here /srv/www/htdocs/gallery/
Posts: 13
I can import pictures/albums from G2 to G3. However, is there any way to import the descriptions, comments etc.. belonging to the album I want to import?
-Dave
Posts: 16504
So long as you have the Comments module installed in G3 (which it is by default) all of that should come in.
Make sure you're using the latest, experimental code:
http://codex.gallery2.org/Gallery3:Upgrading
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 13
Still the description and summary in G2 are not imported.
Posts: 27300
Seems to work for me.
If I import items from G2 to G3:
Title -> Title
Summary and Long Description -> Description.
Are you using the G2 import module or the server add?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 16504
Works for me too. Since there is no "Summary" in G3, just as Dave posted, I get them combined into a description.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 13
I'm using the server add to import one album. In that album (in G2) I had both Title, Summary, and Description. In G3 I've got the directory name as title, and neither Summary or Description are there.
Some photos in that album also have title and they are not imported as well.
By the way, I am running Gallery version 2.3, core 1.3.0
Posts: 16504
If you're using the Server Add module, you'll NEVER get the summary or description. That data is stored in the database for G2 (and G3) and not in the directories or files.
To get that information you need to use the G2 Import module that comes with G3. See Admin > Modules
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 13
OK, that's why. Thank you for noting that.
I have thought of using the G2 import module, but I want to test every thing in G3 before going for a full import.
By the way, there is another question regarding the store directory (gallery3/var). What I can remember from G2 is that it was recommended not to have the g2data in the same directory where g2 was installed. However, in G3 the store directory is right below the gallery3 directory and I can view that directory in a web browser. Do you have any reflections on that?
Posts: 16504
Sure do:
FAQ: Are my photos secure? They're right there on my website!
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 13
Thanks. It is exactly what I am looking for.
Posts: 13
Thanks. This is exactly what I am looking for.