I installed the Gallery Module and installed Gallery2 a few weeks ago and it has been working fine. Today, I visited the site and it was gone. I couldn't open anything. I figured it might be a block that was cauing the problem and tried going to my mysite/?q=admin page. That opened fine. I started disabling blocks one by one until I got the /?q=node page to open. The problem is in the Gallery Module. I tried to disable the module, but my /?q=admin/modules page doesn't open. I also can't access my gallery from the /?q=gallery page. I then took a look at my logs and noticed this...

php message
unlink(/drupal/gallery2_sites/arc/g2data/sessions/google66249651
user
Anonymous

details

Type
php
Date
Monday, December 5, 2005 - 2:45pm
User
Anonymous
Location
/?q=photos_2002
Message
unlink(/drupal/gallery2_sites/arc/g2data/sessions/google6624965171): No such file or directory in /drupal/gallery2/modules/core/classes/GalleryPlatform.class on line 543.
Severity
error
Hostname
66.249.65.171

My Gallery2 program works fine if I access it directly at /gallery2_sites/arc/main.php

Does anyone have any idea what caused this and how I can fix it?

- Victor

Comments

kiz_0987’s picture

I suggest a bit more testing of your G2 only installation. Check out http://gallery.menalto.com/node/40760 and http://codex.gallery2.org/index.php/Gallery2:FAQ#I_get_.22Notice:_Only_v... and see if they apply. There are a few other "unlink" errors noticed in the G2 forums which may help.

januario’s picture

Thanks for the advice...I took a look at those links and tried debugging the Gallery2 installation and there didn't seem to be anything wrong with the Gallery2 installation. Then I noticed that all three of my Drupal sites were down. I have two main sites that are running on the same script and I have a test site that runs on a separate drupal script installation. The test site should have no integration whatsoever with the other two. Since all three are down, I'm guessing that my webhost service changed something that's causing this problem. I'm using Yahoo webhosting.

I then tried to remove the module and took out the following from my mySQL databases (I hope I didn't up mess anything).

system
deleted gallery.module... entry
variable
deleted all gallery.module... entries
sessions
emptied the table
menu
deleted the admin/settings/gallery entry

Does anyone know if that was the right way to remove the module?

kiz_0987’s picture

Status: Active » Closed (fixed)