Failed Upgrade ERROR_STORAGE_FAILURE Line 959

ptalk

Joined: 2005-11-25
Posts: 26
Posted: Sun, 2012-08-26 16:30

Thanks in advance for the help.

Stack Trace:

Error (ERROR_STORAGE_FAILURE)
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 959 (GalleryCoreApi::error)
in modules/core/classes/GalleryStorage.class at line 508 (GalleryStorageExtras::execute)
in modules/core/CoreModuleExtras.inc at line 1480 (GalleryStorage::execute)
in modules/core/module.inc at line 486 (CoreModuleExtras::upgrade)
in modules/core/classes/GalleryModule.class at line 175 (CoreModule::upgrade)
in upgrade/steps/UpgradeCoreModuleStep.class at line 85 (GalleryModule::installOrUpgrade)
in upgrade/index.php at line 186 (UpgradeCoreModuleStep::processRequest)

AttachmentSize
debug.txt108.81 KB
 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-08-26 17:37

you are upgrading from version?

-s
All New jQuery Minislideshow for G2/G3

 
ptalk

Joined: 2005-11-25
Posts: 26
Posted: Sun, 2012-08-26 17:45

I think its 2.0

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-08-26 19:13

Wow thats old, looks like beta3, you will need to do this in steps
2.0b3 -> 2.0.4 -> 2.1.2 -> 2.2.6 -> 2.3.2

-s
All New jQuery Minislideshow for G2/G3

 
ptalk

Joined: 2005-11-25
Posts: 26
Posted: Sun, 2012-08-26 20:49

I tried the 2.0.4 link, and the full and typical package .zip download don't work.

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sun, 2012-08-26 20:56

Unfortunately, It appears all the G2 file sets older than v2.2.6 were zapped off sourceforge.

One of the members here has kept copies on their site but I can't recollect who it was.

You can try searching the forum. If unsuccessful, the only option is to go straight to v2.2.6.

This should work in theory but no guarantees.

Let us know how it goes.

--
dakanji.com

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-08-26 21:12

nivekiam had posted a link to the 2.0.x download, I'm searching for it now

-s
All New jQuery Minislideshow for G2/G3

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-08-26 21:25
 
ptalk

Joined: 2005-11-25
Posts: 26
Posted: Sun, 2012-08-26 21:40

I got the 2.0.4 link to work by using IE. It didn't work in Chrome.

I uploaded the files but am not getting the following error when I go to the index.php

--------

Deprecated: Assigning the return value of new by reference is deprecated in /home/content/28/5268828/html/gallery2/bootstrap.inc on line 35

Warning: Cannot modify header information - headers already sent by (output started at /home/content/28/5268828/html/gallery2/bootstrap.inc:35) in /home/content/28/5268828/html/gallery2/index.php on line 39

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-08-26 22:14

you just want to run the upgrader
yoursite.com/gallery2/upgrade

-s
All New jQuery Minislideshow for G2/G3

 
ptalk

Joined: 2005-11-25
Posts: 26
Posted: Sun, 2012-08-26 22:28

I tried the upgrade as you indicated and got this...

Deprecated: Assigning the return value of new by reference is deprecated in /home/content/28/5268828/html/gallery2/bootstrap.inc on line 35

Warning: Cannot modify header information - headers already sent by (output started at /home/content/28/5268828/html/gallery2/bootstrap.inc:35) in /home/content/28/5268828/html/gallery2/index.php on line 39

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-08-26 22:43

this is because you are running php 5.3.x, but warnings and depreciated are not fatal.
Does the script halt?

-s
All New jQuery Minislideshow for G2/G3

 
ptalk

Joined: 2005-11-25
Posts: 26
Posted: Sun, 2012-08-26 22:58

according to the control panel at gdaddy, I'm running php5.2 ??

 
ptalk

Joined: 2005-11-25
Posts: 26
Posted: Sun, 2012-08-26 23:05

Ran a info.php file.

PHP Version 5.3.13

I'll try to get it downgraded for a bit because the script did fail.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-08-26 23:21

you can add
@ini_set('display_errors', 0);
to the top of bootstrap.inc

-s
All New jQuery Minislideshow for G2/G3

 
ptalk

Joined: 2005-11-25
Posts: 26
Posted: Mon, 2012-08-27 00:31

The bootstrap.inc code change still results in

Deprecated: Assigning the return value of new by reference is deprecated in /home/content/28/5268828/html/gallery2/bootstrap.inc on line 36

But cleans up the rest of the screen.

Would I be better off to try the 2.2.6 instead ?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2012-08-27 00:41

You need to get the upgrader to run to update the proper DB tables.
if you have to run in php4 to do so than that might be your best bet.

-s
All New jQuery Minislideshow for G2/G3

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Mon, 2012-08-27 04:08
ptalk wrote:
Would I be better off to try the 2.2.6 instead ?

No, you wouldn't.

The issue is that in PHP 5.3.x, some functions were marked for removal in future versions of PHP. This is what "Deprecated" means. G2.3.1 was rewritten to avoid those functions.

PHP 5.3.x is perfectly capable of using those functions but what happens when it comes across one of the functions (if running a pre G2.3.1 script for instance) depends on what settings the server admin has set:
A. It may totally ignore them can continue as if nothing happened
B. It may put a message in the log files and continue as normal
C. It may show a message on the screen and continue as normal
D. It may show a message on the screen and stop working

Your web host appears to have gone for Option D.

Your options are:
1. Ask your server admin to change the warning level
2. Try to override the warning level in your application files. That is the "ini_set" thing. You can also try adding "error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);" instead.
3. Try to override the warning level in a local php.ini file. Set error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
4. Run the upgrades using 4.4.x > PHP < 5.3.x and switch back once on G2.3.1+. Some web hosts allow switching PHP versions in this manner.

--
dakanji.com

 
ptalk

Joined: 2005-11-25
Posts: 26
Posted: Tue, 2012-09-11 23:58

Hi again,

I've uploaded the files to a server that should be running php 4, so I can upgrade gallery 2.

But the Gallery php scripts won't run they get "No input file specified."

When I run phpinfo.php5, I get the expected feedback.

When I run phpinfo.php, I get "No input file specified."

I have other accounts on this server than run php4.