Hello everyone.
My host (private company... not GoDaddy, etc.) changed my site to a different server and now I have a slew of problems with my gallery:
1. Whenever I create a new album, the permissions appear OK, but the owner and group show as 99 99 instead of 501 501.
1a. I just noticed, since the server move ALL NEW FILES AND FOLDERS created have the 99 99 owner/group issue, including logs.
2. When I try to add photos to these new galleries, each and every photo ends with the message "unable to process this photo" and all I see is the link.... no resize or thumbnail are generated.
3. I have been getting a lot of "X" directory is not writeable messages.
4. If I create a folder using FTP (filezilla), the ownership and perms appear ok (501 and 755 respectively) but obviously that is not the proper solution
5. Server add does not work either.
Here is a snippet of the log file for creating a new album and trying to post a new photo to it:
2012-06-20 11:12:51 -04:00 --- error: The specified directory, /, is not writable.
#0 /home/themagic/public_html/gallery3/modules/square_thumbs/helpers/square_thumbs_graphics.php(40): Image_Core->save('/home/themagic/...')
#1 [internal function]: square_thumbs_graphics_Core::crop_to_square('/home/themagic/...', '/home/themagic/...', Array, Object(Item_Model))
#2 /home/themagic/public_html/gallery3/modules/gallery/helpers/graphics.php(173): call_user_func_array('square_thumbs_g...', Array)
#3 /home/themagic/public_html/gallery3/modules/gallery/helpers/gallery_event.php(84): graphics_Core::generate(Object(Item_Model))
#4 /home/themagic/public_html/gallery3/modules/gallery/helpers/module.php(378): gallery_event_Core::item_created(Object(Item_Model))
#5 /home/themagic/public_html/gallery3/modules/gallery/models/item.php(403): module_Core::event('item_created', Object(Item_Model))
#6 /home/themagic/public_html/gallery3/modules/gallery/controllers/uploader.php(74): Item_Model_Core->save()
#7 [internal function]: Uploader_Controller->add_photo('14599')
#8 /home/themagic/public_html/gallery3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Uploader_Controller), Array)
#9 [internal function]: Kohana_Core::instance(NULL)
#10 /home/themagic/public_html/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#11 /home/themagic/public_html/gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#12 /home/themagic/public_html/gallery3/index.php(102): require('/home/themagic/...')
#13 {main}
2012-06-20 11:12:51 -04:00 --- error: Caught exception rebuilding image: RACERS DEBUG
The specified directory, /, is not writable.
#0 /home/themagic/public_html/gallery3/modules/square_thumbs/helpers/square_thumbs_graphics.php(40): Image_Core->save('/home/themagic/...')
#1 [internal function]: square_thumbs_graphics_Core::crop_to_square('/home/themagic/...', '/home/themagic/...', Array, Object(Item_Model))
#2 /home/themagic/public_html/gallery3/modules/gallery/helpers/graphics.php(173): call_user_func_array('square_thumbs_g...', Array)
#3 /home/themagic/public_html/gallery3/modules/gallery/helpers/item.php(110): graphics_Core::generate(Object(Item_Model))
#4 /home/themagic/public_html/gallery3/modules/gallery/helpers/gallery_event.php(95): item_Core::make_album_cover(Object(Item_Model))
#5 /home/themagic/public_html/gallery3/modules/gallery/helpers/module.php(378): gallery_event_Core::item_created(Object(Item_Model))
#6 /home/themagic/public_html/gallery3/modules/gallery/models/item.php(403): module_Core::event('item_created', Object(Item_Model))
#7 /home/themagic/public_html/gallery3/modules/gallery/controllers/uploader.php(74): Item_Model_Core->save()
#8 [internal function]: Uploader_Controller->add_photo('14599')
#9 /home/themagic/public_html/gallery3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Uploader_Controller), Array)
#10 [internal function]: Kohana_Core::instance(NULL)
#11 /home/themagic/public_html/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#12 /home/themagic/public_html/gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#13 /home/themagic/public_html/gallery3/index.php(102): require('/home/themagic/...')
#14 {main}
2012-06-20 11:12:51 -04:00 --- error: The specified directory, /, is not writable.
#0 /home/themagic/public_html/gallery3/modules/square_thumbs/helpers/square_thumbs_graphics.php(40): Image_Core->save('/home/themagic/...')
#1 [internal function]: square_thumbs_graphics_Core::crop_to_square('/home/themagic/...', '/home/themagic/...', Array, Object(Item_Model))
#2 /home/themagic/public_html/gallery3/modules/gallery/helpers/graphics.php(173): call_user_func_array('square_thumbs_g...', Array)
#3 /home/themagic/public_html/gallery3/modules/gallery/helpers/item.php(110): graphics_Core::generate(Object(Item_Model))
#4 /home/themagic/public_html/gallery3/modules/gallery/helpers/gallery_event.php(95): item_Core::make_album_cover(Object(Item_Model))
#5 /home/themagic/public_html/gallery3/modules/gallery/helpers/module.php(378): gallery_event_Core::item_created(Object(Item_Model))
#6 /home/themagic/public_html/gallery3/modules/gallery/models/item.php(403): module_Core::event('item_created', Object(Item_Model))
#7 /home/themagic/public_html/gallery3/modules/gallery/controllers/uploader.php(74): Item_Model_Core->save()
#8 [internal function]: Uploader_Controller->add_photo('14599')
#9 /home/themagic/public_html/gallery3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Uploader_Controller), Array)
#10 [internal function]: Kohana_Core::instance(NULL)
#11 /home/themagic/public_html/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#12 /home/themagic/public_html/gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#13 /home/themagic/public_html/gallery3/index.php(102): require('/home/themagic/...')
#14 {main}
I have included the entire log file with this message. PLEASE HELP!
Test link to see what I am looking at:
http://www.themagicinpixels.com/gallery3/index.php/Disney-s-California-Adventure/CARS-LAND/RACERS-DEBUG
Posts: 7933
looks like your webserver instance is running under a different user than you.
Your host should be able to remedy this.
-s
Posts: 88
Info passed on. Thanks.