Jump to content


Gallery2 No Longer Working

  • Please log in to reply
3 replies to this topic

#1 davidcullinan


    New To The Neighborhood

  • Members
  • Pip
  • 16 posts

Posted 25 May 2011 - 07:17 PM

My installation of Gallery2 has stopped working.

The error I receive:

in modules/core/classes/GalleryTemplate.class at line 251 (GalleryCoreApi::error)
in modules/core/classes/GalleryTemplate.class at line 180 (GalleryTemplate::_initCompiledTemplateDir)
in main.php at line 486 (GalleryTemplate::fetch)
in main.php at line 94
in main.php at line 83

According to Gallery2's user forums, the solution might with permission settings. Unfortunately, trying to change the directories to the recommended permissions to being prevented...cpanel, FTP and Gallery's own admin pages are all prevented from making the change.

Solution page in Gallery2 forum:

The error I get from my FTP program when attempting the change:

550 Could not change perms on cache: Operation not permitted
Fetch could not set permissions for “cache” because the FTP server sent an unexpected response. (Check the Fetch Transcript window for more information.
Server responded: “Could not change perms on cache: Operation not permitted”)
ftp_cmd/ftp_user: 2,-30000 (state == SETTING_PERMS)

There is some suggestion in other TCH hosting forums that 777 permissions are now forbidden. If this is the case, I am not sure what to do. Without the current installation working, I am hesitant to attempt to upgrade to Gallery3.

#2 TCH-Bala


    Technical Support Manager

  • Staff
  • PipPipPipPip
  • 1,273 posts

Posted 25 May 2011 - 10:07 PM

With suPHP you cannot have 777 permissions, but the same can be achieved using 755. Please try it out and if the issue persists, drop in a ticket so that our techs can have a look.
Manager - Technical Support
TotalChoice Hosting, Inc.

TCH Help Desk .. || .. TCH Blog

Posted Image

#3 davidcullinan


    New To The Neighborhood

  • Members
  • Pip
  • 16 posts

Posted 26 May 2011 - 11:58 AM

Everything that I can change to 755 is done, although I seem to be very limited in what I can do...regardless of whether it is through FTP, cpanel or the internal Gallery tools.

Specifically, another Gallery troubleshooting recommendation was to clear its caches. I am prevented from doing this...again with FTP, cpanel or the internal Gallery tools. cpanel supposedly executes the delete request, but when I refresh the files and directories are still there. FTP at least kicks back an error that I don't have the permissions to execute the command.

Unless anyone has a recommendation, I will open a ticket.

#4 TCH-Bruce


    Volunteer Moderator

  • Members
  • PipPipPipPip
  • 20,050 posts

Posted 26 May 2011 - 12:58 PM

A ticket is your best bet.

Bruce Richards
Forum Moderator
TotalChoice Hosting, Inc.
Webhosting by Total Choice Web Hosting - General Support Forum

I am a Forum Moderator. While I can assist in answering most of your hosting related questions, I am unable to answer questions about specifics relating to your account such as billing and server related issues. Should you need assistance in these areas, please contact our Help Desk or our many other options. Another good place to find answers is with our help pages, tutorials and movie tutorials.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users