Many problems: webhost upgrade to CGI

muratorej

Joined: 2007-02-27
Posts: 22
Posted: Wed, 2008-03-12 03:07

Multisite Gallery 2.2 embedded in multisite Drupal 5.1

Our webhost upgraded:
"We upgraded PHP to PHP5 on that server and changed the way of how it's handled from Apache module to CGI which gives better security."

There are specific problems, which I can list, but for now maybe there's a general suggestion: What sort of troubleshooting should we do or what changes do we probably need to make?



Gallery version = 2.2.1 core 1.2.0.1
PHP version = 5.2.5 cgi-fcgi
Webserver = Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7a DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Database = mysqlt 5.0.45-community, lock.system=database
Toolkits = ImageMagick
Acceleration = none, none
Operating system = Linux server18.01domain.net 2.6.9-55.0.9.ELsmp #1 SMP Thu Sep 27 18:28:00 EDT 2007 x86_64
Default theme = PGlightbox
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12

Login or register to post comments
lvthunder

Joined: 2003-09-12
Posts: 735
Posted: Mon, 2008-03-17 02:48

I'm guessing that in the process they went from the server user runs the code and now the user does. Run the g2 upgrader and see if you get any errors.

Login or register to post comments
muratorej

Joined: 2007-02-27
Posts: 22
Posted: Thu, 2008-03-20 03:56

I have a new, but possibly related problem. During a reinstall of gallery, I get this error:

Warning: unlink(/home/ms_g2data/website/g2data//cache/entity/4/4/449.inc) [function.unlink]: Permission denied in /home/public_html/gallery2/modules/core/classes/GalleryPlatform.class on line 481

It happens at the beginning of step 8, with everything going smoothly until that point. Obviously, there's an extra slash being inserted, but I don't know why or how to avoid it.

I know you said upgrade, not reinstall, but for completely unrelated reasons, I reinstalled. At this point, if installing a newer version of gallery is the only way to fix this, will I lose all of my current setup (will the old databases and photos be usable as is)?

Login or register to post comments
lvthunder

Joined: 2003-09-12
Posts: 735
Posted: Thu, 2008-03-20 14:34

You might need to try this

Login or register to post comments
muratorej

Joined: 2007-02-27
Posts: 22
Posted: Thu, 2008-03-20 23:54

I get this error when trying to clear the cache:

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/gallery2/lib/support/security.inc:129) in /home/public_html/gallery2/main.php on line 29

Fatal error: Call to undefined function GalleryInitFirstPass() in /home/public_html/gallery2/modules/core/classes/GalleryEmbed.class on line 99

Thanks so much for your help so far. Any more good ideas?

Login or register to post comments