Hi,
I wonder if anyone could help me. I’m trying to upgrade from Gallery 2.3.2 to Gallery 3.0.9 and have installed Gallery 3 alongside Gallery 2 without any problems.
The problems come when I try to import my photos into Gallery 3. When using the Gallery 2 import module I keep getting the error message - Your Gallery 2 install isn't working properly. Please verify it!
I’m using the path /home/y10beau/public_html/photos/embed.php to access the embed.php file.
Does anyone know what I am doing wrong? I’ve copied my system information from Gallery 2 and error log from Gallery 3 below. Unfortunately I’m really not an expert so I don’t know where to go from here.
Thanks,
David
Here’s my system information from Gallery 2:
Gallery URL = http://www.beautifulengland.net/photos/main.php
Gallery version = 2.3.2 core 1.3.0.2
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.3.24 cgi-fcgi
Webserver = Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Database = mysqlt 5.1.70-cll, lock.system=flock
Toolkits = ImageMagick, NetPBM, SquareThumb, Thumbnail, Gd
Acceleration = full/86400, full/86400
Operating system = Linux beautifulengland-vps.dediboxes.co.uk 2.6.32-042stab078.27 #1 SMP Mon Jul 1 20:48:07 MSK 2013 x86_64
Default theme = matrix
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36
Rows in GalleryAccessMap table = 428
Rows in GalleryAccessSubscriberMap table = 18764
Rows in GalleryUser table = 3
Rows in GalleryItem table = 18635
Rows in GalleryAlbumItem table = 510
Rows in GalleryCacheMap table = 23
And here’s my error log from Gallery 3:
<?php defined('SYSPATH') or die('No direct script access.'); ?>
2013-07-25 07:58:24 +00:00 --- error: date.timezone setting not detected in /home/y10beau/public_html/gallery3/php.ini falling back to UTC. Consult http://php.net/manual/function.get-cfg-var.php for help.
2013-07-25 07:58:57 +00:00 --- error: date.timezone setting not detected in /home/y10beau/public_html/gallery3/php.ini falling back to UTC. Consult http://php.net/manual/function.get-cfg-var.php for help.
2013-07-25 07:59:22 +00:00 --- error: date.timezone setting not detected in /home/y10beau/public_html/gallery3/php.ini falling back to UTC. Consult http://php.net/manual/function.get-cfg-var.php for help.
2013-07-25 07:59:25 +00:00 --- error: date.timezone setting not detected in /home/y10beau/public_html/gallery3/php.ini falling back to UTC. Consult http://php.net/manual/function.get-cfg-var.php for help.
2013-07-25 07:59:49 +00:00 --- error: Gallery 2 call failed with: Error (ERROR_MISSING_OBJECT) : Parent 7 path admin <b>in</b> modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class <b>at line</b> 98 (GalleryCoreApi::error)
<b>in</b> modules/core/classes/GalleryCoreApi.class <b>at line</b> 1952 (GalleryFileSystemEntityHelper_simple::fetchChildIdByPathComponent)
<b>in</b> modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class <b>at line</b> 53 (GalleryCoreApi::fetchChildIdByPathComponent)
<b>in</b> modules/core/classes/GalleryCoreApi.class <b>at line</b> 1901 (GalleryFileSystemEntityHelper_simple::fetchItemIdByPath)
<b>in</b> modules/rewrite/classes/RewriteSimpleHelper.class <b>at line</b> 45 (GalleryCoreApi::fetchItemIdByPath)
<b>in</b> ??? <b>at line</b> 0 (RewriteSimpleHelper::loadItemIdFromPath)
<b>in</b> modules/rewrite/classes/RewriteUrlGenerator.class <b>at line</b> 103
<b>in</b> modules/rewrite/classes/parsers/pathinfo/PathInfoUrlGenerator.class <b>at line</b> 134 (RewriteUrlGenerator::_onLoad)
<b>in</b> init.inc <b>at line</b> 186 (PathInfoUrlGenerator::initNavigation)
<b>in</b> modules/core/classes/GalleryEmbed.class <b>at line</b> 129
<b>in</b> /home/y10beau/public_html/gallery3/modules/g2_import/helpers/g2_import.php <b>at line</b> 171 (GalleryEmbed::init)
<b>in</b> /home/y10beau/public_html/gallery3/modules/g2_import/helpers/g2_import.php <b>at line</b> 55 (g2_import_Core::init_embed)
<b>in</b> /home/y10beau/public_html/gallery3/modules/g2_import/controllers/admin_g2_import.php <b>at line</b> 86 (g2_import_Core::is_valid_embed_path)
<b>in</b> ??? <b>at line</b> 0 (Admin_g2_import_Controller::save)
<b>in</b> /home/y10beau/public_html/gallery3/modules/gallery/controllers/admin.php <b>at line</b> 62
<b>in</b> ??? <b>at line</b> 0 (Admin_Controller::__call)
<b>in</b> /home/y10beau/public_html/gallery3/system/core/Kohana.php <b>at line</b> 331 (ReflectionMethod::invokeArgs)
<b>in</b> ??? <b>at line</b> 0 (Kohana_Core::instance)
<b>in</b> /home/y10beau/public_html/gallery3/system/core/Event.php <b>at line</b> 208
<b>in</b> /home/y10beau/public_html/gallery3/application/Bootstrap.php <b>at line</b> 67 (Event_Core::run)
<b>in</b> /home/y10beau/public_html/gallery3/index.php <b>at line</b> 116
2013-07-25 08:02:50 +00:00 --- error: date.timezone setting not detected in /home/y10beau/public_html/gallery3/php.ini falling back to UTC. Consult http://php.net/manual/function.get-cfg-var.php for help.
2013-07-25 08:09:54 +00:00 --- error: date.timezone setting not detected in /home/y10beau/public_html/gallery3/php.ini falling back to UTC. Consult http://php.net/manual/function.get-cfg-var.php for help.
2013-07-25 08:12:02 +00:00 --- error: Gallery 2 call failed with: Error (ERROR_MISSING_OBJECT) : Parent 7 path admin <b>in</b> modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class <b>at line</b> 98 (GalleryCoreApi::error)
<b>in</b> modules/core/classes/GalleryCoreApi.class <b>at line</b> 1952 (GalleryFileSystemEntityHelper_simple::fetchChildIdByPathComponent)
<b>in</b> modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class <b>at line</b> 53 (GalleryCoreApi::fetchChildIdByPathComponent)
<b>in</b> modules/core/classes/GalleryCoreApi.class <b>at line</b> 1901 (GalleryFileSystemEntityHelper_simple::fetchItemIdByPath)
<b>in</b> modules/rewrite/classes/RewriteSimpleHelper.class <b>at line</b> 45 (GalleryCoreApi::fetchItemIdByPath)
<b>in</b> ??? <b>at line</b> 0 (RewriteSimpleHelper::loadItemIdFromPath)
<b>in</b> modules/rewrite/classes/RewriteUrlGenerator.class <b>at line</b> 103
<b>in</b> modules/rewrite/classes/parsers/pathinfo/PathInfoUrlGenerator.class <b>at line</b> 134 (RewriteUrlGenerator::_onLoad)
<b>in</b> init.inc <b>at line</b> 186 (PathInfoUrlGenerator::initNavigation)
<b>in</b> modules/core/classes/GalleryEmbed.class <b>at line</b> 129
<b>in</b> /home/y10beau/public_html/gallery3/modules/g2_import/helpers/g2_import.php <b>at line</b> 171 (GalleryEmbed::init)
<b>in</b> /home/y10beau/public_html/gallery3/modules/g2_import/helpers/g2_import.php <b>at line</b> 55 (g2_import_Core::init_embed)
<b>in</b> /home/y10beau/public_html/gallery3/modules/g2_import/controllers/admin_g2_import.php <b>at line</b> 86 (g2_import_Core::is_valid_embed_path)
<b>in</b> ??? <b>at line</b> 0 (Admin_g2_import_Controller::save)
<b>in</b> /home/y10beau/public_html/gallery3/modules/gallery/controllers/admin.php <b>at line</b> 62
<b>in</b> ??? <b>at line</b> 0 (Admin_Controller::__call)
<b>in</b> /home/y10beau/public_html/gallery3/system/core/Kohana.php <b>at line</b> 331 (ReflectionMethod::invokeArgs)
<b>in</b> ??? <b>at line</b> 0 (Kohana_Core::instance)
<b>in</b> /home/y10beau/public_html/gallery3/system/core/Event.php <b>at line</b> 208
<b>in</b> /home/y10beau/public_html/gallery3/application/Bootstrap.php <b>at line</b> 67 (Event_Core::run)
<b>in</b> /home/y10beau/public_html/gallery3/index.php <b>at line</b> 116
Posts: 27300
Seems your g2 install is slightly corrupt:
Error (ERROR_MISSING_OBJECT)
Try:
http://www.flashyourweb.com/filemgmt/index.php?id=45
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 9
Thanks very much for your suggestion Dave.
I've run the tool you suggested. It originally found errors and fixed them and running again since then, it has found no errors at all. However, I still get the same message when trying to import into Gallery 3.
I've tried everything else I can think of like running the tools to optimise the database and clearing the cache.
Do you have any other suggestions?
Many thanks,
David
Posts: 9
Hi again,
Just to update this, I've checked my error log within cPanel and the following message seems to be occurring a lot:
[Wed Jul 31 16:38:36 2013] [error] [client 67.205.28.236] File does not exist: /home/y10beau/public_html/photos/main.php?g2_view=core.Down
[Wed Jul 31 16:33:25 2013] [error] [client 199.30.16.40] File does not exist: /home/y10beau/public_html/photos/main.php?g2_view=core.DownloadItem&g2_itemId=8277&g2_serialNumber=1
[Wed Jul 31 16:31:43 2013] [error] [client 65.55.215.81] File does not exist: /home/y10beau/public_html/photos/main.php?g2_view=core.DownloadItem&g2_itemId=34474&g2_serialNumber=1
[Wed Jul 31 16:23:52 2013] [error] [client 65.55.215.79] File does not exist: /home/y10beau/public_html/photos/main.php?g2_view=core.DownloadItem&g2_itemId=23584&g2_serialNumber=2
[Wed Jul 31 15:22:31 2013] [error] [client 83.170.124.36] File does not exist: /home/y10beau/public_html/photos/main.php?g2_view=core.Down
[Wed Jul 31 15:00:06 2013] [error] [client 128.121.191.29] File does not exist: /home/y10beau/public_html/photos/main.php?g2_view=core.Down
[Wed Jul 31 14:30:06 2013] [error] [client 66.249.75.181] File does not exist: /home/y10beau/public_html/photos/main.php?g2_view=core.DownloadItem&g2_itemId=30543&g2_serialNumber=1
[Wed Jul 31 14:26:07 2013] [error] [client 64.13.232.41] File does not exist: /home/y10beau/public_html/photos/main.php?g2_view=core.Down
[Wed Jul 31 14:13:19 2013] [error] [client 89.111.13.22] File does not exist: /home/y10beau/public_html/photos/main.php?g2_view=core.Down
[Wed Jul 31 14:12:40 2013] [error] [client 199.30.20.64] File does not exist: /home/y10beau/public_html/photos/main.php?g2_view=core.DownloadItem&g2_itemId=40163&g2_serialNumber=2
Is this likely to have anything to do with the problem I'm facing or is this a separate issue?
Any help at all would be greatly appreciated.
If I have no luck with the Gallery 2 import module, is there another way of importing my photos into Gallery 3?
Many thanks,
David
Posts: 8339
looks like you are using a path with a url
a path is /home/y10beau/public_html/
a url is http://yoursite.com/photos/main.php?g2_view=core.DownloadItem&g2_itemId=8277&g2_serialNumber=1
make sure you use a path where a path is asked for and a url where a url is asked for
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 9
Thanks suprsidr.
Where might a path have been entered as a URL or vica versa? I've had a look in config.php, embed.php etc and I can't see any obvious mistakes. Do you think this is the cause of the error message I'm receiving when trying to import from Gallery 2?
Just to be clear, in the gallery 2 import module, I am entering the path /home/y10beau/public_html/photos/embed.php sp I don't think the mistake is coming from there.
Thanks,
David
Posts: 8339
gallery2 only stores config info in config.php
I'm referring to when you told G3 where to find your G2
-s
________________________________
All New jQuery Minislideshow for G2/G3