"Notice" messages on step 2 while upgrading from 2.2.3 to nightly 2.3 builds

totem

Joined: 2008-03-04
Posts: 25
Posted: Sun, 2008-05-04 23:31

Hello,

I uploaded the (2.3) files on my 2.2.3 gallery (info at the end of this message) to the 2.3 from today's build and on step 2 of the upgrader, it gives the following messages. What should I do? Can I safely ignore these? Please help as my gallery is now stuck in between versions!

thanks a bunch
------------------------------
Notice: Undefined offset: 4 in /hermes/bosweb/web011/b115/ipw.campanas/public_html/gallery/modules/core/classes/GalleryUtilities.class on line 1250

Notice: Undefined offset: 3 in /hermes/bosweb/web011/b115/ipw.campanas/public_html/gallery/modules/core/classes/GalleryUtilities.class on line 1250

Notice: Undefined offset: 2 in /hermes/bosweb/web011/b115/ipw.campanas/public_html/gallery/modules/core/classes/GalleryUtilities.class on line 1250

Notice: Undefined offset: 1 in /hermes/bosweb/web011/b115/ipw.campanas/public_html/gallery/modules/core/classes/GalleryUtilities.class on line 1250

Notice: Undefined offset: 4 in /hermes/bosweb/web011/b115/ipw.campanas/public_html/gallery/modules/core/classes/GalleryUtilities.class on line 1250

Notice: Undefined offset: 3 in /hermes/bosweb/web011/b115/ipw.campanas/public_html/gallery/modules/core/classes/GalleryUtilities.class on line 1250

Notice: Undefined offset: 2 in /hermes/bosweb/web011/b115/ipw.campanas/public_html/gallery/modules/core/classes/GalleryUtilities.class on line 1250

Notice: Undefined offset: 1 in /hermes/bosweb/web011/b115/ipw.campanas/public_html/gallery/modules/core/classes/GalleryUtilities.class on line 1250

Notice: Undefined offset: 4 in /hermes/bosweb/web011/b115/ipw.campanas/public_html/gallery/modules/core/classes/GalleryUtilities.class on line 1250

Notice: Undefined offset: 3 in /hermes/bosweb/web011/b115/ipw.campanas/public_html/gallery/modules/core/classes/GalleryUtilities.class on line 1250

Notice: Undefined offset: 2 in /hermes/bosweb/web011/b115/ipw.campanas/public_html/gallery/modules/core/classes/GalleryUtilities.class on line 1250

Notice: Undefined offset: 1 in /hermes/bosweb/web011/b115/ipw.campanas/public_html/gallery/modules/core/classes/GalleryUtilities.class on line 1250

Notice: Undefined offset: 4 in /hermes/bosweb/web011/b115/ipw.campanas/public_html/gallery/modules/core/classes/GalleryUtilities.class on line 1250

Notice: Undefined offset: 3 in /hermes/bosweb/web011/b115/ipw.campanas/public_html/gallery/modules/core/classes/GalleryUtilities.class on line 1250

Notice: Undefined offset: 2 in /hermes/bosweb/web011/b115/ipw.campanas/public_html/gallery/modules/core/classes/GalleryUtilities.class on line 1250

Notice: Undefined offset: 1 in /hermes/bosweb/web011/b115/ipw.campanas/public_html/gallery/modules/core/classes/GalleryUtilities.class on line 1250

Missing files (4)
pack/locale/nl_NL/LC_MESSAGES/modules_colorpack.mo
icons/locale/nl_NL
R/LC_MESSAGES
es/siriux/locale/uk/LC_MESSAGES/themes_siriux.mo

Modified files (111)
install/po/af.po
install/po/ar.po
upgrade/index.php
modules/colorpack/classes/ColorPackInterface_1_0.class
modules/colorpack/module.inc
modules/colorpack/packs/black/color.css
modules/colorpack/packs/blue/color.css
modules/colorpack/packs/bluebottle/color.css
modules/colorpack/packs/deepsea/color.css
modules/colorpack/packs/goldleaf/color.css
modules/colorpack/po/af.po
modules/colorpack/po/bg.po
modules/colorpack/po/cs.po
modules/colorpack/po/da.po
modules/colorpack/po/de.po
modules/colorpack/po/en_GB.po
modules/colorpack/po/es.po
modules/colorpack/po/eu.po
modules/colorpack/po/fr.po
modules/colorpack/po/hu.po
modules/colorpack/po/it.po
modules/colorpack/po/ja.po
modules/colorpack/po/lt.po
modules/colorpack/po/nl.po
modules/colorpack/po/no.po
modules/colorpack/po/pl.po
modules/colorpack/po/pt_BR.po
modules/colorpack/po/ru.po
modules/colorpack/po/sr.po
modules/colorpack/po/strings.raw
modules/colorpack/po/sv.po
modules/colorpack/po/tr.po
modules/colorpack/po/zh_CN.po
modules/colorpack/po/zh_TW.po
modules/customfield/po/af.po
modules/getid3/classes/Getid3Helper.class
modules/icons/classes/IconsInterface_1_0.class
modules/icons/iconpacks/KSIcons/icons-rtl.css
modules/icons/iconpacks/KSIcons/icons.css
modules/icons/iconpacks/paularmstrongdesigns/icons-rtl.css
modules/icons/iconpacks/paularmstrongdesigns/icons.css
modules/icons/iconpacks/silk/icons-rtl.css
modules/icons/iconpacks/silk/icons.css
modules/icons/module.inc
modules/icons/po/da.po
modules/icons/po/it.po
modules/icons/po/ko.po
modules/icons/po/ru.po
modules/icons/po/sk.po
modules/icons/po/sr.po
modules/icons/po/tr.po
modules/icons/po/vi.po
modules/icons/templates/IconsSiteAdmin.tpl
modules/imageframe/classes/ImageFrameInterface_1_1.class
modules/members/classes/GalleryMembersHelper.class
modules/newitems/classes/NewItemsHelper.class
modules/photoaccess/po/af.po
modules/register/po/af.po
modules/rewrite/data/mod_rewrite/custom/.htaccess
modules/search/classes/GallerySearchInterface_1_0.class
modules/sizelimit/po/af.po
themes/classic/po/ca.po
themes/classic/po/da.po
themes/classic/po/el.po
themes/classic/po/es.po
themes/classic/po/es_AR.po
themes/classic/po/es_MX.po
themes/classic/po/it.po
themes/classic/po/ja.po
themes/classic/po/lt.po
themes/classic/po/ru.po
themes/classic/po/tr.po
themes/classic/templates/admin.tpl
themes/classic/templates/album.tpl
themes/classic/templates/error.tpl
themes/classic/templates/module.tpl
themes/classic/templates/photo.tpl
themes/classic/templates/progressbar.tpl
themes/classic/templates/sidebar.tpl
themes/classic/templates/theme.tpl
themes/classic/theme.css
themes/classic/theme.inc
themes/siriux/po/ca.po
themes/siriux/po/da.po
themes/siriux/po/el.po
themes/siriux/po/es.po
themes/siriux/po/es_AR.po
themes/siriux/po/es_MX.po
themes/siriux/po/fi.po
themes/siriux/po/ga.po
themes/siriux/po/he.po
themes/siriux/po/hu.po
themes/siriux/po/it.po
themes/siriux/po/ja.po
themes/siriux/po/lt.po
themes/siriux/po/nl.po
themes/siriux/po/pt.po
themes/siriux/po/pt_BR.po
themes/siriux/po/ru.po
themes/siriux/po/sr.po
themes/siriux/po/tr.po
themes/siriux/po/vi.po
themes/siriux/po/zh_CN.po
themes/siriux/templates/admin.tpl
themes/siriux/templates/album.tpl
themes/siriux/templates/error.tpl
themes/siriux/templates/module.tpl
themes/siriux/templates/photo.tpl
themes/siriux/templates/progressbar.tpl
themes/siriux/templates/theme.tpl
themes/siriux/theme.css
Old files (1669)
...


Gallery version = 2.2.3 core 1.2.0.5
PHP version = 4.4.7 cgi
Webserver = Apache

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2008-05-05 11:28

the messages about "Notice: Undefined offset" in GalleryUtilities.class usually means that (some of) the MANIFEST files are corrupt in some way.

the MANIFEST files are used to verify that all your files are intact. but if the MANIFEST files are not intact, then the whole check can fail with such errors.

the MANIFEST files are located at gallery2/modules/*/MANIFEST, gallery2/themes/*/MANIFEST, gallery2/MANIFEST.

please reupload the MANIFEST files and run the system check step of the upgrade wizard again.

also see:
FAQ: What about the warning for missing & modified files in the installer & upgrader?

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
totem

Joined: 2008-03-04
Posts: 25
Posted: Mon, 2008-05-05 19:28

thanks valiant. I've reuploaded the files, and that specific error is not seeing anymore. However, after clicking on Step 4:

Upgrading the Gallery Core Module
The Gallery Core Module is the heart of the Gallery application. You can upgrade most other modules using the Site Administration interface, but this module must be handled separately in order for the upgrade to go smoothly.

Currently installed Core Module version: 1.2.0.5 (Gallery 2.2.3)
New version Core Module version: 1.2.33 (Gallery 2.3-svn)
Config.php upgrade Required

The result I see is:

The server encountered an unexpected condition which prevented it from fulfilling the request.
The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.

HELP!

 
totem

Joined: 2008-03-04
Posts: 25
Posted: Mon, 2008-05-05 22:52

Can anyone tell me what happens on step 4: "Upgrading the Gallery Core Module" ? Could I possibly do what the installer is doing manually?

thanks

 
totem

Joined: 2008-03-04
Posts: 25
Posted: Tue, 2008-05-06 02:10

Where does the error log file goes? The "gallerydata" folder has a number of upgrade_*.log files, is that the one? What do I look for in there? I don't see much of an error message.

thanks

 
totem

Joined: 2008-03-04
Posts: 25
Posted: Tue, 2008-05-06 03:42

so, if I'm correct, the upgrade_*.log files are the log files I should be looking into. It seems that there's a timeout or something because the log file (compared to previous successful log files) is incomplete. Line 11734:

2008-05-05 23:18:47 [TMP_SESSION_ID_DI_NOISSES_PMT] fopen(/hermes/bosweb/web011/b115/ipw.campanas/public_html/gallery/modules/imagemagick/po/sk.po, r, 0)
2008-05-05 23:18:47 [TMP_SESSION_ID_DI_NOISSES_PMT] fread(Resource id #13244, 128)

and that's it. Attempting to do the upgrade results in log files that are cut short as well, sometimes longer, sometimes shorter.

I know my hosting company has done some "upgrades" to the database server, and I've noticed that any database access is slower than before. Could that be the cause? Is there anything I can do to force the script to have a longer timeout or something?

Any other solutions I can try?

thanks