[SOLVED] Uploading images the thumbnails and images show up broken
Artflux
Joined: 2007-07-11
Posts: 25 |
Posted: Mon, 2013-04-22 23:16 |
http://victorcarnuccio.com/gallery2/main.php I upgraded running Mysql Version: 5.1.55 from 4.1.14 hoping that this would allow me to upload images. This did not fix the problem. I attempted to upgrade the Gallery 2 to the most reason version overwriting the old files. I was not able to access the upgrade so rolled back to the original version of Gallery 2 that I installed. Somewhere the upgrade did not work. Gallery version = 2.2.2 core 1.2.0.4 ImageMagick is not activated. Is the plug in the problem? |
|
Posts: 8339
Only G2 2.3.1 and above will work correctly on PHP 5.3.x
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 25
Is there a link on how to upgrade from 2.2. I attempted to upgrade today unsuccessfully so had to roll back the installation.
Posts: 8339
from that old a version you should go from 2.2.2 -> 2.2.6 -> 2.3.2
FAQ: How to upgrade Gallery2?
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 25
After the upgrade I attempted I was not able to go through the upgrade steps. Is there a way to deteine which version I have now. fulll, normal or minimal thst i have now? I tried the full that failed.
Posts: 8339
full minimal ect. just refers to which modules the package contains.
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 25
So I guess that I will download the normal version because I already have the carbon module theme installed. I will backup the Gallery 2 folder and copy it to gallry 2_old before attempting the instillation from 2.2.2 -> 2.2.6 in case I have another failed instillation. My server may charge me to roll back so its better to do this ahead of time so that I can repair it myself.
Posts: 8339
you should always backup the DB, g2data and gallery2 directory when performing upgrades
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 25
Looking at the database that was recently upgraded I don't see a gallery2 database. Should I be seeing one? Attached it a screen shot of my databases.
Posts: 25
When I try to configure Imagemagick the error messages are:
ImageMagick binary test results
Binary Name Pass/Fail
identify
Failed
Error messages:
Problem executing binary:
File does not exist
identify
Failed
Error messages:
Problem executing binary:
File does not exist
convert
Failed
Error messages:
Problem executing binary:
File does not exist
composite
Failed
Error messages:
Problem executing binary:
I created a database on MYSQL called gallery2 with 10 fields. How many field do I need to create?
Posts: 25
I moved all the files to the 2.2.6 to the gallery 2 dirctory on my server over the 2.2.2 instaltion. When I begin the upgrade it stops aftr I enter my password. I get the error message:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /gallery2/modules/core/classes/GalleryStorage.class:275) in /gallery2/lib/support/GallerySetupUtilities.class on line 75
Then it returns me to step one. Is there anyway that I can correct this or should I roll back to the original instalation?
Posts: 8339
search that error in these forums asked and answered
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 8339
particularly http://galleryproject.org/node/64696
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 25
Problem solved:
Someone else had the same problem and cleared the gallery cache. This fixed the problem.
Gallery caches some data that doesn't change very often in its storage folder. This includes templates, data from the database and other things. To clear the template cache: login as admin, click site admin, click Maintenance, beside Delete template cache click run now.
To clear the cache in case something bad happened, browse to http://www.example.com/gallery/lib/support/index.php, (change example to your proper url) enter your Gallery setup password, select "Cache Maintenance" and delete the caches. Usually, selecting all but the Thumbnails and resizes (derivative) cache is a good idea (repeat: do not select the Thumbnails and resizes cache for deletion, rebuilding it takes quite a while for large Galleries).
With the introduction of template caching in G2.3, you might find that editing a template file will not have an effect. Login ad admin -> site Admin -> Performance, uncheck 'Enable template caching', click save. Click the Clear Saved Pages button. Reverse when completed with template editing.