• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Gallery problem in Plesk 8.0.1

X

xtreme2490

Guest
Installation of Gallery works fine using App vault.
But when i upload a pic , i get :

Error (ERROR_PLATFORM_FAILURE)
in modules/core/classes/GalleryDataItem.class at line 182 (GalleryPhotoItem::error)
in modules/core/classes/GalleryPhotoItem.class at line 126 (GalleryPhotoItem::create)
in modules/core/classes/helpers/GalleryItemHelper_medium.class at line 190 (GalleryPhotoItem::create)
in modules/core/classes/GalleryCoreApi.class at line 1486 (ItemAddFromBrowser::addItemToAlbum)
in modules/core/ItemAddFromBrowser.inc at line 89 (ItemAddFromBrowser::addItemToAlbum)
in modules/core/ItemAdd.inc at line 94 (ItemAddFromBrowser::handleRequest)
in main.php at line 176 (ItemAddController::handleRequest)
in main.php at line 90
in main.php at line 82

Gallery version 2.0-rc-1
PHP version 5.0.4 apache2handler
Webserver Apache/2.0.54 (Fedora)
Database mysql 4.1.11
Toolkits Gd
Operating system Linux smoke.cts.be 2.6.11-1.1369_FC4smp #1 SMP Thu Jun 2 23:08:39 EDT 2005 i686
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)


Anyone got an idea ?
 
First, and foremost, you definately want to UPDATE to the latest version of Gallery. You're currently using an RC (Release Candidate). Thats something I, personally, highly discourage.

Second, please give us some of the output from your error_log (/var/www/vhosts/DOMAIN/statistics/error_log) from when this occurs. Usually, it's an issue with open_basedir, or incorrect permissions... The output from this log will actually help us determine what exactly is giving you the problem.

-John
 
This error is due to the fact that Plesk runs PHP in safe mode and Gallery cannot run in safe mode.

I have not found a work around for this yet. Let me know if you do.
 
Back
Top