[SOLVED] Gallery2 is not working at all.

callingrohit

Joined: 2009-11-29
Posts: 32
Posted: Fri, 2009-12-04 17:37

Hi Community,

I'm having some terrible problems with the new install of gallery2.

First of all I'm finiding it really painful to upload via gallery remote (from windows vista) so I moved to the Local Server method. All images get transferred into the sub-album fine. The properties from Album are seen in sub-album properties.

But the main problem is no thumbnail or resizing works. The memory limit on my server for php is set to 24MB which is quite good.

Now, I have changed the album & photo permission settings to 700/600 as per the security document.

And if I try to click the EDIT ALBUM button, a blank webpage comes up.

This is a new install, so do you guys recommend me to reinstall it.

Also, I have renamed the g2data folder to g2data<random aplhanumeric> and the same folder has been the provided during the installation process.

I would appreciate if someone can help me out here.

Thanks


Gallery URL = <under-construction>
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.3 cgi-fcgi
Webserver = Apache
Database = mysqli 5
Operating system = Linux webhost
Locale = en_GB

Thanks

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2009-12-04 18:27
Quote:
a blank webpage comes up.

FAQ: I get only a blank screen when trying to view my Gallery, what's wrong?

Quote:
no thumbnail or resizing works.

What image toolkit(s) do you have installed?

 
callingrohit

Joined: 2009-11-29
Posts: 32
Posted: Sat, 2009-12-05 00:45

I have GD installed and should work just fine...

I have tried that FAQ and with debug enabled but when I hit the blank page, no error is generated and written into the error_log.txt or the debug data displayed.

 
callingrohit

Joined: 2009-11-29
Posts: 32
Posted: Sat, 2009-12-05 00:52

I just viewed apache error logs and nothing is wrong there as well.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2009-12-05 00:59
Quote:
I have GD installed and should work just fine...

It's your option to try a different toolkit or not. But telling me it "should" work "just fine" isn't going to get you one step nearer to fixing things.

You're in the same position with the blank page: you're going to have to dig further for debugging information. "I get a blank page" doesn't give anyone who is interested in helping you anything to go on.

 
callingrohit

Joined: 2009-11-29
Posts: 32
Posted: Sat, 2009-12-05 01:17

I think you misunderstood me.

I was just making a comment that I can always try another image toolkit but GD should work fine with Gallery2.

I guess you didn't read what I mentioned, I have gone through the faq and have enabled debugging, apache error logs & php error logs but when I hit a blank page, no errors are generated anywhere.
So I never said I didn't try any of the recommended techniques for debugging and just said "I still get a blank page'.

Please read my posts clearly. I'm not just using forums just to get my work done. But infact after going through the FAQs and enabling all debugs, then since I didn't find anything, I have posted here for help.

So I'm not entirely sure how you came to the conclusions that you mentioned in your post.

If you can help thats fine. If not thats fine also. My world doesn't end here. This is a forum and forums are for helping people who help themselves aswell in going towards a solution. Which is what I'm doing.

Thanks

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2009-12-05 01:49

I suggest very strongly you try another toolkit and see if that helps with generation of thumbnails. I agree GD should work, but it doesn't always. If another toolkit works then you have narrowed one of the problems down to GD. If it doesn't work then that's evidence that the problem lies in a different area. Either way you'll learn something.

Quote:
If you can help thats fine.

I'm helping by suggesting you try a different toolkit.

A thought: setting the permission to 600 means only the owner can access the file; is the owner the same user as Apache runs as?

 
callingrohit

Joined: 2009-11-29
Posts: 32
Posted: Sat, 2009-12-05 02:08

well right now, i have re-installed the gallery2 to see if GD persists to create a problem.

And yup I'm going to take up your suggestion and install ImageMagick.

Quote:
setting the permission to 600 means only the owner can execute the file; is the owner the same user as Apache runs as?

well I kind off didn't understand what you meant by your statement. But I logon to the gallery2 admin section using username - admin. And the apache owner is a different user. But both of them are me.

Thanks

 
callingrohit

Joined: 2009-11-29
Posts: 32
Posted: Sat, 2009-12-05 11:16

Hi alecmyers,

I configured image magick and its all working fine now.

To further optimize the site, I also increased php memory limit to 64MB.

Thanks for your help.