[SOLVED] Gallery2 - Error message when uploading picture from local server

schhub

Joined: 2010-08-23
Posts: 7
Posted: Thu, 2011-02-17 22:12


Gallery version (not just "2"): 2.3.1 kernel 1.3.0.1
API : Noyau 7.54, Module 3.9, Thème 2.6, Intégré 1.5
PHP version (e.g. 5.1.6): 5.3.2-1ubuntu4.7 apache2handler
PHPInfo Link (see FAQ): http://88.190.14.245/gallery2/phpinfo.php
Webserver (e.g. Apache 1.3.33): Apache 2.2.14 (Ubuntu)
Database (e.g. MySql 5.0.32): mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (x86_64) using readline 6.1 - mysqlt 5.1.41-3ubuntu12.9, lock.system=flock
Activated toolkits (e.g. NetPbm, GD): ArchiveUpload, Exif, Gd, ImageMagick, LinkItemToolkit, Thumbnail, Getid3, jpegtran, NetPBM
Operating system (e.g. Linux): Ubuntu Server x86_64 kernel 2.6.32-28-server
Browser (e.g. Firefox 2.0): Firefox 3.6.13

On some pictures i try to "upload" from local server i get this message =>

Error (ERROR_PLATFORM_FAILURE)

* in modules/core/classes/GalleryDataItem.class at line 173 (GalleryCoreApi::error)
* in modules/core/classes/GalleryPhotoItem.class at line 104 (GalleryDataItem::create)
* in modules/core/classes/helpers/GalleryItemHelper_medium.class at line 148 (GalleryPhotoItem::create)
* in modules/core/classes/GalleryCoreApi.class at line 1668 (GalleryItemHelper_medium::addItemToAlbum)
* in modules/itemadd/ItemAddFromServer.inc at line 313 (GalleryCoreApi::addItemToAlbum)
* in modules/itemadd/ItemAddFromServer.inc at line 190 (ItemAddFromServer::addItem)
* in modules/core/ItemAdd.inc at line 159 (ItemAddFromServer::handleRequest)
* in ??? at line 0 (ItemAddController::handleRequestWithProgressBar)
* in modules/core/classes/GalleryTemplateAdapter.class at line 1089
* in /var/local/g2data_20100825/smarty/templates_c/%%3193516666/classe55/%%53^530^530A76A5%%theme.tpl.php at line 75 (GalleryTemplateAdapter::trailer)
* in lib/smarty/Smarty.class.php at line 1255
* in modules/core/classes/GallerySmarty.class at line 61 (Smarty::fetch)
* in modules/core/classes/GalleryTemplate.class at line 241 (GallerySmarty::fetch)
* in main.php at line 506 (GalleryTemplate::display)
* in main.php at line 104
* in main.php at line 88

I've had a look at this => http://codex.gallery2.org/Gallery2:FAQ#How_can_I_fix_the_filesystem_permissions_of_the_Gallery_storage_folder.3F and tried what's explained there but with no success. The really strange thing is some other pictures are uploading with no problems.
Can this problem be due to the image size or something like this ?

I would be very happy if someone could help me.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 7894
Posted: Thu, 2011-02-17 22:53
 
schhub

Joined: 2010-08-23
Posts: 7
Posted: Wed, 2011-02-23 10:41

Sorry forget it, the link is => http://88.190.14.245/gallery2/phpinfo.php

I solved my problem , it was due to the transfer of my gallery to an other server and pictures links still pointing to old server !!

I deleted the items in my albums, deleted links in gallery albums directory and re-uploaded the pictures in each album, now all seems to work fine.

Thanks anyway for your help.