[SOLVED] Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /modules/core/classes/GalleryPlatform.class o

Procyon

Joined: 2008-11-30
Posts: 42
Posted: Mon, 2013-02-25 06:18

Hi,

I was hoping somebody could help me with this. This comes out of nowhere...I didn't change anything.
The upload functionality is working, but the image is not being properly posted into the gallery. A new gallery item page will appear, but it will have a broken image icon and the following error at the top of the page:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /modules/core/classes/GalleryPlatform.class on line 1068


Gallery version = 2.3.2 core 1.3.0.2
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.17 apache2handler
Webserver = Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 PHP/5.2.17
Database = mysqlt 5.0.95-community, lock.system=flock
Toolkits = Exif, LinkItemToolkit, Thumbnail, ImageMagick, NetPBM
Acceleration = full/3600, full/900
Operating system = Linux vps.hostlead.com 2.6.18-028stab095.1 #1 SMP Mon Oct 24 20:15:15 MSD 2011 i686
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0.1
Rows in GalleryAccessMap table = 67
Rows in GalleryAccessSubscriberMap table = 30517
Rows in GalleryUser table = 6885
Rows in GalleryItem table = 30497
Rows in GalleryAlbumItem table = 38
Rows in GalleryCacheMap table = 6

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2013-02-25 12:11

Check that g2data filesystem permissions are correct and that core files are unaltered.
FAQ: How can I make sure that my installation files are all intact?

Fix filesystem permissions on g2data
FAQ: How can I fix the filesystem permissions of the Gallery storage folder?

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
Procyon

Joined: 2008-11-30
Posts: 42
Posted: Tue, 2013-02-26 05:07

Clearing the cache did the trick!