"Unable to upgrade the Core module"
striker9603
Joined: 2004-12-28
Posts: 30 |
Posted: Thu, 2010-03-11 19:52 | |||
Currently I have two problems. and I should emphasize that my site was working fine when I upgraded from Gallery2 ?.? to Gallery2 2.3 1) I cant login to my "site admin" page. I can however login to the main site. the error I am getting is (The administration session has expired, please re-authenticate to access the administration area. ) every time I try to login. I have checked all posts containing this error "The administration session has expired, please re-authenticate to access the administration area. " none of the suggestions helped me. I cleaned out the cache as well and that did not help. Which leads my to my second problem 2) I tried to run the "upgrader" option again and I get the attached error. "Unable to upgrade the Core module" "Error (ERROR_BAD_PLUGIN)" NOT The error that is in the FAQ. I cant find a fix for this either. I am getting warnings during the upgrade that I am missing .htaccess files. I created a blank .htaccess file and installed to the paths listed thinking gallery would update it for me but no such luck. I am not sure where else to turn here other then a fresh install and set up all images again. which I do not want to do. any help would be appreciated.
|
||||
Posts: 30
Listed are the directory's that I entered a blank .htaccess file because I did not have the originals
lib/tools/po/.htaccess
modules/linkitem/locale/fr/LC_MESSAGES/modules_linkitem.mo
modules/webdav/data/options/.htaccess
modules/rewrite/data/mod_rewrite/custom/.htaccess
modules/rewrite/data/mod_rewrite/gallery/.htaccess
modules/rewrite/data/mod_rewrite/gallery2/.htaccess
modules/rewrite/data/mod_rewrite_no_options/custom/.htaccess
modules/rewrite/data/mod_rewrite_no_options/gallery/.htaccess
modules/rewrite/data/mod_rewrite_no_options/gallery2/.htaccess
Posts: 16504
Zip and attach the upgrade log. It's located in your g2data directory.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 30
Here is the zip file
Posts: 16504
I'm surprised you've been running Gallery. That's not going to cut it. Try increasing your PHP memory limit to 32M and I'll bet things go much smoother:
FAQ: PHP memory_limit - Why do I get the error Allowed memory size of Xxx bytes exhausted?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 30
after the upgrade I did re-set the limit to 24. I changed it now to 32 with no luck.. any other suggestions?
Posts: 16504
After you changed the memory limit did you try running the upgrade again?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 30
Yes I did run the upgrader and I still get the error.
Posts: 67
set php to 512K. I am migrating from 1.5 with many troubles. It typically starts a sub-album creation using 256m to 300m.
Even with this setting, it will not do more than a dozen albums at a time (I have nigh 700)
sometimes it will end an import routine with a continue. sometimes it will list albums listed, but mostly it says none imported. sometimes it just stops. some times it stops on a long .mov file, sometimes it stops with a blank screen.
I don't think this is near as good as 1.5, which does not support the new php
Posts: 16504
striker9603, can you post your most recent upgrade log file as well as a link to phpinfo?
FAQ: How do I create a phpinfo page?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 30
Good morning! Thanks for all your help. I was able to fix one of my problems last night. I downloaded an upgrade package from gallery and installed Gallery 2.3.1 over my current gallery 2.3.0 this fixed the issue with upgrading the core module. Every thing worked perfect. I had to go back and resize all thumbs though. FYI, after I upgraded the package I did update the php.ini file to 512M
I am still getting the error when trying to login to the site admin (with a difference this time). I can now login to site admin but I have to try logging in 3 times before it actually will log me in. also once I click on "maitenance" or anything like that I have to re-enter my login info again. every time. Sometimes it takes one time some times it takes more. it all depends. the error I get is
"The administration session has expired, please re-authenticate to access the administration area"
I have cleared all cache sessions and I have also deleted all users sessions.
any help with this issue?
Posts: 16504
Posts: 30
Sorry I was unsure if you would still need this info. the link to my PHPinfo is http://www.senesac.net/phpinfo.php
Posts: 30
Good Day Nivekiam,
I wanted to ask you if I should start another thread for the problem I am having? I guess its not actually like the original topic subject I posted. Let me know either way.
I also wanted to let you know some symptoms I am having with my current problem.
when I initially try to login to my site I can login on one try. When I try to get to the site admin I have to login 2,3,4 times before it will actually let me in. When I click on anything like "maintenance" I have to again try logging in 2,3,4 times before it will let me move on.
I cant upload photos at all I try to change the path on my local server and it wont let me do that. It asks me to login and when I finally am able to login after 2, 3 tries it brings me back to the page to enter the path of the photos.
I just wanted to pass this along in case you had any ideas. Thanks for your help so far.
Posts: 67
There is a session time out option, did you set it sufficiently long?
try a day or 2
It is on the main or first admin page
Admin Options
Posts: 30
Yes I believe I have it set accordingly.
Session Settings
Session Lifetime 3 weeks
Inactivity Timeout 1 week
Site Administration Session Timeout 15 min
does that look correct?
I have noticed one change already and I have not done a thing. when I went to change the settings for the items above I clicked "save" and it asked me for my U/P again. I only had to enter it one time and it brought me back to the original page I was working on. However, the fields I changed were back to the previous settings that were there before.
Posts: 30
Just following up on this post. Does anyone have any more suggestions. Or can I provide any more information to you? I am still having this problem.
Posts: 16504
Looking at this with fresh eyes, I'd double check that the file integrity is in fact there and try overwriting with fresh 2.3.1 files:
Error: Unknown module version realpath(/hsphere/local/home/gsenesac/senesac.net/gallery/modules/core/classes/../../../) realpath(/hsphere/local/home/gsenesac/senesac.net/gallery/) Error: Failed to upgrade the core module, this is the error stack trace: Error (ERROR_BAD_PLUGIN) : Unknown module version 1.3.0 in modules/core/CoreModuleExtras.inc at line 2570 (GalleryCoreApi::error) in modules/core/module.inc at line 486 (CoreModuleExtras::upgrade) in modules/core/classes/GalleryModule.class at line 175 (CoreModule::upgrade) in upgrade/steps/UpgradeOtherModulesStep.class at line 77 (GalleryModule::installOrUpgrade) in upgrade/index.php at line 186 (UpgradeOtherModulesStep::processRequest)
FAQ: How can I make sure that my installation files are all intact?
http://gallery.menalto.com/downloads
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 67
Site Administration Session Timeout 15 min
How long is it working? 6hr- 24?
give it enough time.
Posts: 30
Llundgren - Its not working at all. When I click on Site admin I get prompted to log in again. anytime I click on anything within site admin I have to usually try logging in multiple times before I can actually get to where I want to go.
nivekiam - attached is the "warnings" I am getting when trying to validate I have file integrity. I didnt think any of the warnings were tied to the log in process so I kind of ignored them. However, I cant fix them either.
Posts: 67
Sorry, no clue.
I had that problem a couple of times, but it went away.
I finally got the 1.5 migrated, but it will not allow download of clips, nor of full size pictures.
It starts, but just stops.
http://thelundgrens.us
Click on our picture and then anywhere else