help me,can't into "Site Admin"
supercn
Joined: 2004-11-10
Posts: 17 |
![]() |
just now,i upgrade my G2 to Nightly Build "gallery2-2004-11-10.tar.gz",when i into the "site admin",have error. Error (ERROR_STORAGE_FAILURE) * in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 720 (gallerystatus::error) |
|
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
Did you remember to delete all of your G2 data and reinstall completely from scratch when you installed the new version? We don't yet provide a G2 -> G2 upgrade path (though that's coming soon). Read the "upgrading" section of the README for more details. |
|
supercn
Joined: 2004-11-10
Posts: 17 |
![]() |
oh,i already read the "README" file,but i can't delete all my data,because i upload a lot of photos in my gallery. watting for the G2->G2 upgrade path.....thanks! |
|
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
We won't be providing an official upgrade path from the alpha version of G2 you're using now (which is why we tell you not to store anything in G2 yet that you're not willing to delete). Depending on what version you were using before, you can probably do some table alteration SQL to get most of the way there yourself. Look around in this forum -- there have been some recent topics on do-it-yourself upgrading. |
|
jamzyamz
![]()
Joined: 2004-01-12
Posts: 154 |
![]() |
A good tip someone here mentioned a while ago was to upload all pics to a g1 instal, then when reinstalling g2 do the migrate from g1>g2 |
|
supercn
Joined: 2004-11-10
Posts: 17 |
![]() |
my first version is G2....... |
|
supercn
Joined: 2004-11-10
Posts: 17 |
![]() |
i have renname g2_TkOperationMap to g2_TkOperatnMap, now i can into "Site Admin",but i found other problem after i rename those table done i can't active the modules and can't set the "default sort oder,default layout and the default theme" screenshot: |
|
Kevitt
![]()
Joined: 2004-11-06
Posts: 3 |
![]() |
Maybe try setting buffered debug and see if there's some info there? Look in config.php, change... $gallery->setDebug(false); --> $gallery->setDebug('buffered'); Then revisit those pages and see if any useful info. Also, when I started having template caching issues, someone pointed me toward the test harness page. You'll need your setup pass from config.php to enter. You'll find it at [yourGalleryURL]/lib/tools/test/ Try FluchCache and FlushTemplates Just grasping at straws here :\ |
|
supercn
Joined: 2004-11-10
Posts: 17 |
![]() |
Smarty Debug Console : included templates & config files (load time in seconds): ------------------------------------------------------------------------ Error (ERROR_STORAGE_FAILURE) -------------------------------------------------------------------------------- file_exists(/***/***/***/gallery2/modules/core/classes/helpers/../../../../modules/comment/module.inc) -------------------------------------------------------------------------------- adodb_mysql._execute(SELECT g2_Entity.g_id, realpath(/***/***/***/gallery2/modules/core/classes/../../../) |
|
supercn
Joined: 2004-11-10
Posts: 17 |
![]() |
oh,my god,my site is down! |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
*sigh* please search the forums for these things! http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=22646&highlight=schema |
|
supercn
Joined: 2004-11-10
Posts: 17 |
![]() |
I've just committed a schema change in core. Easiest solution is a fresh install as described in the README. but i execute this sql: update g2_AlbumItem, g2_Item set g2_AlbumItem.g_theme = g2_Item.g_theme, g2_AlbumItem.g_orderBy = g2_Item.g_orderBy, g2_AlbumItem.g_orderDirection = g2_Item.g_orderDirection where g2_AlbumItem.g_id = g2_Item.g_id; prompt: #1064 - You have an error in your SQL syntax near ' |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
yeah, good luck with that. (translation: if that post isn't enough info for you to get your setup working then you shouldn't have disregarded what the G2 README told you.. sorry!) |
|
supercn
Joined: 2004-11-10
Posts: 17 |
![]() |
sorry,my english is very bad,so i may be can't completely understand the README,*sigh*..... i'll try once tomorrow,thank you! |
|
supercn
Joined: 2004-11-10
Posts: 17 |
![]() |
if you would like to help me resolve this problem by winvnc,please contact my msn,thanks! |
|
supercn
Joined: 2004-11-10
Posts: 17 |
![]() |
oh.... it works fine now, but i'm not sure what will happen next? bless me! |
|