Gallery2 :: Error (error_platform_failure)

Gallery2 just stops working and I get this error message:<br /><br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->Error<br />Error (ERROR_PLATFORM_FAILURE) :<br /><br /> * in modules/core/classes/GalleryTemplate.class at line 260 (gallerystatus::error)<br /> * in modules/core/classes/GalleryTemplate.class at line 222 (gallerytemplate::_initcompiledtemplatedir)<br /> * in main.php at line 318 (gallerytemplate::display)<br /> * in main.php at line 87<br /> * in main.php at line 80<!--QuoteEnd--></div><!--QuoteEEnd-->I haven't touched it in a while, so I'm thinking something happened at TCH (PHP upgrade? MySQL upgrade?). I have searched for a reason why this happened (it's the second time on two domanis here at TCH) and found this suggestion:<br /><br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->The problem is that the files were more than likely no longer owned by the webserver and your host just reset you at the owner with the directories at 755 and the files at 644. So only you could change them, but the webserver could not.<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />I know that I should rather have my g2data folder at the same level as public_html, but I'm not sure if that's the problem. I also know that one solution is to recursively CHMOD the g2data folder (and all subfolders) to 777 and that's supposed to fix it. Also, I can't seem to do that in any FTP program as I'm not the correct user (need to be admin or host or something) so maybe TCH has to do it. <br /><br />I have submitted a ticket, but wanted to see if anyone else is having this problem and if they know how it can be avoided--I have several G2 installs on TCH and this is a pain that they just go down. <br /><br />Thanks,<br /><br /> - Bradley<!--content-->
Sorry, can't say that I have but my g2data folder is in my root level (same as public_html).<!--content-->
My g2data is at /home/<cpanel_username> with permission 777. It is working fine.<!--content-->
Thanks for the comments. An update after an all-day fix-it job:<br /><br />I just could not get that install working again. I tried upgrading, fresh installs (but keeping the same table as there are hundreds of images in there), and still that same error page. I finally created a new SQL DB and installed G2 in another directory and used another storage directory (this time above public_html). All went well. Then I used the "Local Server Upload Paths" to get the old albums and photos and so far so good. I think it didn't get all of the images, but it's trying. <br /><br />What I still really need to know is what caused this in the first place. I have a post over at the G2 forums asking the same thing, so I'll update here if I learn anything. I spent hours fixing this today. <br /><br />Thanks for any feedback or experiences or suggestions.<!--content-->
Glad to know that it is working fine now. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/clapping.gif" style="vertical-align:middle" emoid=":clapping:" border="0" alt="clapping.gif" /><!--content-->
Great, glad you got it sorted.<!--content-->
It must be some sort of upgrade business going on at TCH because it just happened again to another site of mine here:<br /><br /><a href="http://www.alisonwright.com/gallery2/main.php" target="_blank">http://www.alisonwright.com/gallery2/main.php</a><br /><br />I know TCH is going to moving servers and I think I read something about a PHP upgrade. Could this be causing this trouble? Anything I can do to prevent it?<br /><br />Thanks.<!--content-->
I'd open a help desk ticket if you think it's a PHP problem but I don't think it is. I have 2 gallery2 installations on 2 different servers and they both run fine.<!--content-->
<!--quoteo(post=173419:date=Apr 7 2006, 06:20 PM:name=TCH-Bruce)--><div class='quotetop'>QUOTE(TCH-Bruce @ Apr 7 2006, 06:20 PM) <a href="http://www.totalchoicehosting.com/forums/index.php?act=findpost&pid=173419"><img src='http://www.totalchoicehosting.com/forums/style_images/1/post_snapback.gif' alt='*' border='0' /></a></div><div class='quotemain'><!--quotec-->I'd open a help desk ticket if you think it's a PHP problem but I don't think it is. I have 2 gallery2 installations on 2 different servers and they both run fine.<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />Thanks, Bruce. I have a running ticket going on the subject. Do you think it's maybe that I have my /g2data/ folder "under" public_html (i.e. accessible?)? Could that be it? I'm happy to try to fix ANYTHING that may be causing this, but I don't know what's causing it. <br /><br />Thanks for any tips. There goes my Friday ... !<!--content-->
Since the permission of g2data is 777, it is always safe to keep it out of public reach. That said, keeping it inside public_html should not be a problem, not encountered such an issue before.<!--content-->
 
Top