No such file ... GalleryPlatform.class on line 591
dual_mon
Joined: 2004-12-19
Posts: 5 |
Posted: Sun, 2004-12-19 06:34 |
I just did a clean install of G2 (alpha-4) AWESOME Nice job folks :D My host satisfies all the requirements, including mod_rewrite, NetPBM, and ImageMagick. I got no errors, and the install went smoothly, but the installer *did* report 8 files missing when it was done. I installed almost everything as far as add-ons. I think I only left out the 1x migration module, and after looking at them, I turned off the ecommerce modules. You can see it here There is a test album there. I made an admin level account that I can email back channel if any guru would like poke around. Here is the problem. On my test album the icon image is missing, and when I select edit or delete from the dropdown menu under the broken album icon on the top level, I get the following error. Quote:
Warning: getimagesize(/home/jsmallco/www/lab/images/cache/derivative/0/0/10.dat): failed to open stream: No such file or directory in /home/jsmallco/www/lab/gallery2/modules/core/classes/GalleryPlatform.class on line 591 GalleryPlatform.class line 591 says Anyone know how I can "force" delete the test album? It was created using Gallery Remote on a Mac that didn't have Imagemagic installed. I wonder if this caused the album to be corrupt. |
|
Posts: 5
Okay, I just located the Gallery Test Harness. I cannot execute any of the following scripts
ActivateModule
CleanStore
CreateAlbum
CreatePhotoItem
CreateRandomGroup
CreateRandomTree
CreateRandomUser
DeactivateModule
DeleteAllItems
EmptyGallery
FlushCache
FlushTemplates
InitializeGallery
InstallModule
PerformanceTestData
ReInitializeGallery
ResetGallery
[/]
Posts: 5
:cry:
Okay, so I just realized that one of the Test Harness scripts must have bent the whole gallery. Hold that thought while I nuke and pave the whole thing.
Posts: 3236
Yes sir, a LOT of the "tests" totally destroy data. One or two nuke the db, some nuke the d2data dir and some nuke both of em. Its a paved road to disaster if you are randomly clicking
Posts: 5
Okay, so after a second clean install, things seem to be working great. There were some minor differences in this second try, but I wasn't rigorous about trying to isolate the differences. For one, I didn't install all the same modules (I omitted more this time), but I didn't keep a detailed record of what I omitted.
Something that might be of interest is the fact that this time when I uploaded my first album after installation, I used Gallery Remote (as I did the first time), but this time ImageMagic was installed on the client Mac prior to upload. Another difference that may apply, I only installed ImageMagick module of Gallery, not NetPBM.
Posts: 3236
ImageMagick / NetPBM don't need to be on the client, afaik. They only need to be on the server. But maybe your Mac client is also the server?
Posts: 5
Gallery Remote required ImageMagick to be installed on the Mac Client.
The server is Linux and has both Image Magick and NetPBM installed, but on my second try, I didn't install the NetPBM module in the Gallery app.