Hoped that the Beta was going to work better than the Alphas, so I deleted all of the tables from my Gallery database and deleted all of the files from the directory. Uploaded Beta 1. Was prompted to create vars and 777 it, did so. Installation complete.
Looked at the graphics toolkits, Image Magick was selected saying it was available in /usr/bin. That has been problematic so I changed to GD which was listed as 'bundled'.
Tried to change themes and got "The page you requested, admin/theme, could not be found.
File: system/core/Kohana.php, line: 841" and so forth. Tried several variations of the URL in the address bar (/theme/, /theme.php), all failed. OK, I didn't really need to change themes so I just went back.
Created a new album called Tour de Suisse, uploaded four pictures. Server error 500 on all of them. The full image is there but no thumbnails. Try to rotate one to see if a thumbnail gets generated. Check mail, clean off my desk, grab a snack, still the spinning Ajax.
Switch back to Image Magick, created "Tour de Suisse Take 2" and tied the same four. Upload seemed to be successful but again, no thumbnails. Try to rotate the last one, the spinning Ajax appears on the image above it (and I never moved the mouse out of the intended image frame) and just keeps spinning and spinning while I write all of this.
Here's the log. I snipped the repeated errors out to shorten it:
2009-07-05 08:18:41 -05:00 --- error: Uncaught Kohana_404_Exception: The page you requested, admin/theme, could not be found. in file system/core/Kohana.php on line 841
2009-07-05 08:20:08 -05:00 --- error: Uncaught Kohana_404_Exception: The page you requested, admin/theme, could not be found. in file system/core/Kohana.php on line 841
2009-07-05 08:20:21 -05:00 --- error: Uncaught Kohana_404_Exception: The page you requested, admin/theme.php, could not be found. in file system/core/Kohana.php on line 841
2009-07-05 08:38:07 -05:00 --- error: Caught exception rebuilding image: IMG 3558
The ImageMagick directory specified does not contain a required program, convert.
#0 /home/largiad/public_html/albums/system/libraries/Image.php(116): Image_ImageMagick_Driver->__construct(Array)
#1 /home/largiad/public_html/albums/system/libraries/Image.php(52): Image_Core->__construct('/home/largiad/p...', NULL)
#2 /home/largiad/public_html/albums/modules/gallery/helpers/graphics.php(203): Image_Core::factory('/home/largiad/p...')
#3 /home/largiad/public_html/albums/modules/gallery/helpers/graphics.php(150): graphics_Core::resize('/home/largiad/p...', '/home/largiad/p...', Array)
#4 /home/largiad/public_html/albums/modules/gallery/helpers/photo.php(107): graphics_Core::generate(Array, Array)
#5 /home/largiad/public_html/albums/modules/gallery/controllers/simple_uploader.php(60): photo_Core::create(Object(Item_Model))
#6 [internal function]: Simple_Uploader_Controller->add_photo(Object(Item_Model), '/home/largiad/p...', 'IMG_3558.JPG', 'IMG 3558')
#7 /home/largiad/public_html/albums/system/core/Kohana.php(291): ReflectionMethod->invokeArgs('7')
#8 /home/largiad/public_html/albums/system/core/Event.php(209): Kohana::instance(Object(Simple_Uploader_Controller), Array)
#9 /home/largiad/public_html/albums/system/core/Bootstrap.php(55): Event::run(NULL)
#10 /home/largiad/public_html/albums/index.php(72): require('/home/largiad/p...')
#11 {main}
2009-07-05 08:38:08 -05:00 --- error: Caught exception rebuilding image: Tour de Suisse, take 2
[snip]
2009-07-05 08:38:08 -05:00 --- error: Caught exception rebuilding image: Gallery
[snip]
2009-07-05 08:39:18 -05:00 --- error: Caught exception rebuilding image: IMG 3544
[snip]
2009-07-05 08:40:33 -05:00 --- error: Caught exception rebuilding image: IMG 3549
[snip]
2009-07-05 08:41:25 -05:00 --- error: Caught exception rebuilding image: IMG 3552
[snip]
2009-07-05 08:44:52 -05:00 --- error: Uncaught Kohana_Exception: The ImageMagick directory specified does not contain a required program, convert. in file system/libraries/drivers/Image/ImageMagick.php on line 46
Posts: 16504
Try updating to the latest code: http://codex.gallery2.org/Gallery3:Upgrading
You can use Git also to checkout a fresh install, http://codex.gallery2.org/Gallery:Using_Git
There have been lots of changes since B1 was released. The problems you are having may have been fixed:
Though I doubt that's been fixed... Do you have shell access to the server? If so, can you type whereis convert
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 19
I had previously tried that, and when it didn't work I rolled back to the Beta, which was released right after I stopped messing with it last time. I'm using hostforweb.com which is OK but I don't have shell access AFAIK. I have a regular control panel and that seems to be all.
Honestly, G3 is doing exactly what it has been doing since I installed the first Alpha last winter. I think I wrote the very first post about G3. I have never gotten it to simply do what it should do on a consistent basis. I have to assume that it's something specific to my server, so continuing the assumption and theorizing that some other people have configs like mine, I'd like to see what it takes to make Gallery3 work for me. Hopefully the developers do too, since they can't coach every user through this stuff. The installation package has to deal with it.
One continuing problem has been thumbnails. I didn't get any error messages in the log when I made the first album with GD, but I did have the server error 500 on the upload screen. ImageMagick, OTOH, showed the upload as successful but DID leave error messages in the log.
In the past I have gotten the 'outside allowable path' errors so if that's still the problem, what do I need to do to simply load my own ImageMagick? I'm seeing three different php versions: MagickWand for PHP, IMagick, and phMagick. Can I just stick one of these on my site? Which one?
http://www.imagemagick.org/script/api.php#php
I'll go back to trying the latest code.
Posts: 19
So I tried to upgrade using the instructions above, and when I tried to go to:
http://example.com/gallery3/index.php/upgrader which in my case is:
http://www.largiader.com/albums/index.php/upgrader
...I got:
Back to doing a manual overwrite.
Posts: 16504
Root access to the server or shell access to possibly be able to compile a local copy just for you.
I'd ask your host where your IM binaries are located if they are even installed on the server. Also check your open_basedir settings for PHP
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 19
Well, looking at php_info() I have:
GD support enambled
open_basedir value: /home/largiad/:/usr/lib/php:/usr/local/lib/php:/tmp
G3 always tells me ImageMagick is available in /usr/bin, but I don't know. I was hoping I could dump a bunch of files in a directory that I have control over and run it that way, just to eliminate the whole open_basedir issue.
Maybe I'm being too stubborn, wanting to fix this using only tools that are available to me.
Posts: 19
Latest git, nothing changed. No thumbnails, no error, rotating the picture just hangs with the spinning Ajax. I do get an error for something else:
Posts: 27300
I don't think you ca do that. the images are being added:
http://www.largiader.com/albums/var/albums/test1/IMG_3549.JPG
just no thumbs. I guess your server is set up a bit weird and G3 is not detecting where IM is properly or it is a open_basedir issue.
Try putting the following in a php file:
<?
print_r(array(realpath("/usr/bin/convert"), is_file(realpath("/usr/bin/convert"))));
?>
browse to it and what does it say?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 19
It says:
Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/bin/convert) is not within the allowed path(s): (/home/largiad/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/largiad/public_html/php_query.php on line 10
Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/bin/convert) is not within the allowed path(s): (/home/largiad/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/largiad/public_html/php_query.php on line 10
Posts: 27300
I guess the error says it all. Ask you host to allow access to /usr/bin
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 19
It explains IM, which is why I switched to GD. Just to see if things changed, I loaded Coppermine which uses GD, and I get a memory error when converting files. I'll play with it tomorrow a bit more.
Posts: 16504
Ask your host to install ImageMagick and make sure you have at least 32MB of memory available to PHP.
You're not going to have any luck with GD if you have less than that unless you are only uploading small images and you're host has to install ImageMagick on the server, you won't be able to do that. Though you could try NetPBM
http://codex.gallery2.org/Gallery2:Installing_Modules_With_External_Dependencies
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 27300
GD is a memory and other resource hog. It is really only to be used when you have a poor host that does not support other more resource friendly toolkits.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 19
OK, it's a memory issue. Smaller images work OK with GD. At this point I guess the question is, if Coppermine can get an 'out of memory' error out of GD, why can't G3? I bet an intelligent error message here would solve a lot of the 'no thumbnails' complaints.
Also, if ImageMagick isn't within the allowable path, why can't G3 figure that out before it selects IM as the default editor?
So now that I'm finally able to begin to use the program, I can see the interface problems. Wow is it slow, and the rearrange feature is completely unworkable. I don't know why the screen has to regenerate for so long after every change. I thought it was waiting until I finished, so I tried to do several moves at once - what a mistake. It basically locked the system; one dialog box after another telling me to wait.
Also I continue to have problems with the actions from the drop-down menu affecting the wrong picture. The appearance of that drop-down is not very predictable; it appears and then when I'm trying to see which icon to use it disappears. Then I move the mouse around for a while and it comes back, but it's never clear what makes it come back because sometimes I have to go to the very top edge, sometimes only on the picture, sometimes I just can't make it appear at all. If I leave the mouse at the top of the box the menu will continue to appear and disappear every few seconds. I think the mechanism for this menu is simply overdone; make it simple and be done with it. How about a button that just makes the menus appear on every image, and then you can turn them all off again? The hover thing has been causing problems for several people, AFAICT.
Also the general speed is slow. I select a menu item and nothing happens. Then something does, but the disconnect between my actions and what happens on the screen is enough to make me feel that it's just not working right.
Sometimes the program seems to lose the CSS file. This happened on installation of Beta 1 and then again this morning with the latest.
Posts: 27300
Sure it will in the future but is has only been in development for a few months and is in beta stage.
See above. hundreds of hosts with thousands of possibilities makes it difficult to detect all possibilities.
Yes we know and it is being worked on.
Perhaps you can contribute a theme that does what you like?
Perhaps you will have better luck when we are closer to initial release.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 16504
I don't know what's been slow for you, but the only performance issue I've noticed is the javascript performance in several versions of IE for the album organize feature, which as Dave has already stated, is to be worked on.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 7994
Your site seems pretty snappy to me right now, which is surprising since I'm on a super slow stolen wi-fi. I'm not seeing a lot of the interface problems that you are having so it's hard to know what to make of them. It would probably greatly help if you installed the Firebug extension on Firefox and then looked at the "Net" tab when you browse your G3 to see which requests are failing. If we're failing to load some of the JS or CSS, it might account for the oddities you're seeing.
We can work on smoothing out some of the rough edges you're seeing. Most users are not bitten by these, though so it's not our highest priority at the moment. But as the product matures we'll be sure to improve support for platforms that have more restrictions on them.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!