Koozali.org: home of the SME Server

Dan Brown's Gallery/PHP Upgrade

Ron Dunning

Dan Brown's Gallery/PHP Upgrade
« on: January 09, 2002, 01:19:49 AM »
After reading another post I ventured out to setup Gallery on SME V5 including the PHP upgrade.  All went really well and I can browse to the Gallery page, but when I try to login, nothing happens.  I rechecked the setup and password of the "admin"account and resecured the server.  Tried to login and still nothing.  I have also lost the ability to use IMP webmail on both http/https.  I verified the rpms to be sure i had downloaded the proper 7.1 version and all looked fine.  Any recommendations would be appreciated.  Thanks in advance.

Dan Brown

Re: Dan Brown's Gallery/PHP Upgrade
« Reply #1 on: January 09, 2002, 03:12:36 AM »
As to the IMP problem, it's nearly impossible to diagnose just on the basis of the statement that you have "lost the ability to use it"; quite a bit more detail would be required (like what happens when you try).

With gallery, are you accessing your server using its full domain name, or just a short name (like www)?  If the latter, you'll need to use the full name--using a short name causes problems with the session cookie.

Ron Dunning

Re: Dan Brown's Gallery/PHP Upgrade
« Reply #2 on: January 09, 2002, 05:31:23 AM »
I appologize for the ambiguity in my original post.  I have since installed the newest version of the Gallery 1.2.5 and I can now log in and add images, althought they now don't display.  All that shows is an image place holder.

The IMP issue is as follows:  I can browse either http or https to http://myserver/webmail and what i get in the address bar is https://myserver/webmail/index.php3?HordeSession="a whole long string" which is what I get when it is working normally.  Except there is nothing displayed but a blank screen.  I believe this happened when I upgraded PHP.

Dan Brown

Re: Dan Brown's Gallery/PHP Upgrade
« Reply #3 on: January 09, 2002, 05:42:18 AM »
The IMP problem sounds like the PHP upgrade didn't completely take.  Do you get an indication of IMAP support on your page?

Ron Dunning

Re: Dan Brown's Gallery/PHP Upgrade
« Reply #4 on: January 09, 2002, 08:13:12 AM »
"mod_imap" shows up under the Apache/Loaded Modules but no other references of it

Dan Brown

Re: Dan Brown's Gallery/PHP Upgrade
« Reply #5 on: January 09, 2002, 06:48:46 PM »
Well, mod_imap has nothing to do with IMAP (I think it deals with image maps).  If IMAP were installed for PHP, you should see a heading for IMAP on that page, listing IMAP support as enabled.  What does 'rpm -q php-imap' return?

Ron Dunning

Re: Dan Brown's Gallery/PHP Upgrade
« Reply #6 on: January 10, 2002, 07:21:34 AM »
php-imap-4.0.6-10.arvin.rh7.1

does this help any?

Ron Dunning

Re: Dan Brown's Gallery/PHP Upgrade
« Reply #7 on: January 10, 2002, 07:25:30 AM »
When I browse to my webmail at www.myserver.com/webmail, I get a blank page and the source looks like this:






Dan Brown

Re: Dan Brown's Gallery/PHP Upgrade
« Reply #8 on: January 10, 2002, 07:50:43 AM »
OK, so you have the PHP IMAP module installed, but it isn't loading for some reason.  Take a look at /etc/php.ini and see if you have a line that says "extension=imap.so", and if it's commented out.  If so, uncomment it.  If it isn't there, add it.  Then restart apache with "service httpd-e-smith restart".  See if that helps.

Ron Dunning

Re: Dan Brown's Gallery/PHP Upgrade
« Reply #9 on: January 10, 2002, 08:51:59 AM »
It's there and uncommented along with ldap and mysql as they should be.

Mitch Dickerson

Re: Dan Brown's Gallery/PHP Upgrade
« Reply #10 on: January 28, 2002, 06:24:40 PM »
Hi, I'm haveing the same problem your having and would love help, my sympton's are identical to yours....did you ever get it fixed?