Trouble adding photos after backup restoration
|
gmclellan21
Joined: 2008-03-24
Posts: 3 |
Posted: Mon, 2008-03-24 21:06
|
|
The webserver that my site is curently on went down about a month ago, and they unded up needing to restore from backup. Everything started working again except adding items to a gallery (this function used to work great). When you click the add items button, it immediately goes into a blank white screen. When you go to the gallery directory on the webserver, the photos that were added are actually there, but they do not display in the browser when you go to that album. I set the permission to the gallery directory to 0777, but it didn't help. I'm sure this is a simple fix, but unfortunately I'm far from savvy enough to figure it out. Any suggestions out there? |
|
| Login or register to post comments |

Posts: 31889
- FAQ: I get only a blank screen when trying to view my Gallery, what's wrong? (error log, ..)
- FAQ: What information is required when I ask for help in the forums?
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 3
My G-2 system info is...
Gallery version = 2.2.2 core 1.2.0.4
PHP version = 5.2.3 apache2handler
Webserver = Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.3
Database = mysql 5.0.45-community, lock.system=flock
Toolkits = Thumbnail, Gd, LinkItemToolkit
Acceleration = none, none
Operating system = Linux web5.vr.org 2.6.9-55.0.2.EL #1 Tue Jun 26 14:08:18 EDT 2007 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)
Rows in GalleryAccessMap table = 210
Rows in GalleryAccessSubscriberMap table = 362
Rows in GalleryUser table = 30
Rows in GalleryItem table = 359
Rows in GalleryAlbumItem table = 6
Rows in GalleryCacheMap table = 0
PHP configuration is...
Language Options asp_tags Allow ASP-style <% %> tags. Off
File Uploads file_uploads Whether to allow HTTP file uploads. On
Paths and Directories include_path Windows: "\path1;\path2" .:/usr/lib/php:/usr/local/lib/php
Resource Limits max_execution_time 30
Resource Limits max_input_time 60
Resource Limits memory_limit 8M
Data Handling register_globals You should do your best to write your scripts so that they do not require register_globals to be on; Using form variables as globals can easily lead to possible security problems, if the code is not very well thought of. On
Language Options safe_mode Off
main session.save_path where N is an integer. Instead of storing all the session files in /path, what this will do is use subdirectories N-levels deep, and store the session data in those directories. This is useful if you or your OS have problems with lots of files in one directory, and is a more efficient layout for servers that handle lots of sessions. NOTE 1: PHP will not create this directory structure automatically. You can use the script in the ext/session dir for that purpose. NOTE 2: See the section on garbage collection below if you choose to use subdirectories for session storage N;/path
File Uploads upload_max_filesize Maximum allowed size for uploaded files. 2M
main zend_optimizer.version 3.0.1
Posts: 3469
What have you tried from this FAQ?
FAQ: How can I fix the filesystem permissions of the Gallery storage folder?
Posts: 3
OK, I tried this
It seems as though everything is unstable. For a while, it threw me into the gallery 2.2 upgrader. When it got to the system checks sectoin, it gave the following error...
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 97 bytes)
After navigating through the gallery a few more times, the upgrader stopped appearing, pages sporatically became blank, and for a while new photos seemed to load and appear properly.
When I try to log in and back out of my admin account, sometimes the screen goes blank, sometimes it just logs me in and back out properly, and sometimes the following message appears...
Authentication Failure
Your change cannot be completed due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in.
Back to the Gallery
Error Detail -
Error (ERROR_REQUEST_FORGED)
in modules/core/classes/GalleryController.class at line 239 (GalleryCoreApi::error)
in main.php at line 224 (GalleryController::assertIsGenuineRequest)
in main.php at line 94
in main.php at line 83
System Information
Gallery version 2.2.2
PHP version 5.2.3 apache2handler
Webserver Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.3
Database mysql 5.0.45-community
Toolkits Thumbnail, Gd
Operating system Linux web5.vr.org 2.6.9-55.0.2.EL #1 Tue Jun 26 14:08:18 EDT 2007 i686
Browser Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.2)
Any ideas?
Posts: 3469
Apologies in advance for throwing you back to the FAQ...
See here for ways to address the memory error.
FAQ: PHP memory_limit - Why do I get the error Allowed memory size of Xxx bytes exhausted?
I'm not sure whether the second error is a red herring, but let's fix the first one first.
-Beckett
--
(gratuitous link to my gallery! ~~ http://photos.beckettmw.com/ )