[SOLVED] Gallery 2 Images Not Showing Up (anymore)
cma
Joined: 2011-04-13
Posts: 12 |
Posted: Wed, 2012-03-14 14:17 |
I have just cleaned out my files due to a - malware script? virus? - anyway, something that dumped a bunch of code at the top of all my php files and redirected my sites to some other site. Grrr. Good news is that the bad code seems to be gone. Yay! BUT... Now my images are not showing up - not thumbnails or full-size images. No broken images, just not showing up. I read the boards and looked at the ImageMagick and other graphics modules, they seem to be fine. I feel like somewhere in there it's just not finding the database? The database files are still there and from where I looked seems to be calling the right database. What am I missing? Did I delete a line? Thanks for any insight. System info and phpinfo addy is below. Audrey Kuenstler URL: http://iconicfocus.com/main.php (I've shut down the index page) Gallery URL = http://www.iconicfocus.com/main.php |
|
Posts: 8339
overwrite your gallery files with a fresh copy.
then run the upgrader to step 2(system checks) and see if it reports any altered or missing files.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 12
Ok thanks, overwrote all gallery files. Took out (saved) my local folder. Images are still not showing up.
Ran Upgrader. Four altered files (down from 131!):
modules/webdav/lib/HTTP/WebDAV/Server.php
modules/webdav/lib/HTTP/WebDAV/Tools/_parse_lockinfo.php
modules/webdav/lib/HTTP/WebDAV/Tools/_parse_propfind.php
modules/webdav/lib/HTTP/WebDAV/Tools/_parse_proppatch.php
Also says Warning: Output Buffering Disabled. Everything else is Success.
Now what? Thanks so much for your help.
Posts: 8339
are the images actually present in your g2data/albums
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 12
Yes. Will doublecheck again in a sec but have looked at that several times. Just noticed I have way more modules than the standard installation so deleting and scaling back to the basic ones.
Posts: 12
Doublechecked: yes the images are present.
Just deleted the modules and put in only the standard ones. Now I get an error msg when I go to iconicfocus.com/main.php:
Error
Error (ERROR_BAD_PATH) : Invalid path: modules/password/module.inc
* in modules/core/classes/helpers/GalleryFactoryHelper_simple.class at line 171 (GalleryCoreApi::error)
* in modules/core/classes/helpers/GalleryFactoryHelper_simple.class at line 201 (GalleryFactoryHelper_simple::newInstance)
* in modules/core/classes/GalleryCoreApi.class at line 175 (GalleryFactoryHelper_simple::newInstanceById)
* in modules/core/classes/GalleryEntity.class at line 445 (GalleryCoreApi::newFactoryInstanceById)
* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 91 (GalleryEntity::onLoad)
* in modules/core/classes/GalleryCoreApi.class at line 2361 (GalleryEntityHelper_simple::loadEntitiesById)
* in modules/core/classes/GalleryView.class at line 356 (GalleryCoreApi::loadEntitiesById)
* in modules/core/ShowItem.inc at line 106 (GalleryView::getItem)
* in modules/core/classes/GalleryView.class at line 396 (ShowItemView::getItem)
* in modules/core/classes/GalleryView.class at line 260 (GalleryView::loadThemeAndParameters)
* in main.php at line 465 (GalleryView::doLoadTemplate)
* in main.php at line 104
* in main.php at line 88
Then uploaded previous version of both core/ and main.php. Still error msg.
Posts: 12
Now the Updater only says that main.php has been modified.
Posts: 8339
its looking for the password module
not good, replace it again
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 12
Updater says everything is Success, except for Output Buffering Disabled.
Uploaded the password module. Now iconicfocus.com/main.php just produces the word Error. Nothing else.
Posts: 8339
its likely looking for more of those modules.
head to iconicfocus.com/lib/support and clear the caches
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 12
Ok I've re-uploaded all the modules. Cleared the caches. Updater gave me Success on everything - except the WebDav, so I took it out. Do I need it?
Images are still not showing up.
Posts: 8339
Are you using the rewrite module? I cannot tell as your gallery is apparently private.
if so, then you should redo the rewrite setup.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 12
Sorry for the delay, had to go teach class. Made the gallery not private (it isn't supposed to be; think I freaked out and locked everything down after the virus). Don't think I'm using the rewrite module as it's not showing up. Reinstalled everything. One image is showing up - yay! - but think it's the only one that doesn't come from the database. Getting there (I think)! What now? Thanks again for all your help.
Posts: 8339
Looks like you've got it figured out.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 12
It worked! YAAAYYYYY!!! THANK YOU and MAD PROPS for all the help! Yippee! ))