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)
|
||||
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)
|
||||
Posts: 8339
you are upgrading from version?
-s
All New jQuery Minislideshow for G2/G3
Posts: 26
I think its 2.0
Posts: 8339
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
Posts: 26
I tried the 2.0.4 link, and the full and typical package .zip download don't work.
Posts: 1642
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
Posts: 8339
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
Posts: 8339
found 2.1 http://www.kevinnehls.com/temp/gallery2.1.zip
-s
All New jQuery Minislideshow for G2/G3
Posts: 26
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
Posts: 8339
you just want to run the upgrader
yoursite.com/gallery2/upgrade
-s
All New jQuery Minislideshow for G2/G3
Posts: 26
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
Posts: 8339
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
Posts: 26
according to the control panel at gdaddy, I'm running php5.2 ??
Posts: 26
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.
Posts: 8339
you can add
@ini_set('display_errors', 0);
to the top of bootstrap.inc
-s
All New jQuery Minislideshow for G2/G3
Posts: 26
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 ?
Posts: 8339
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
Posts: 1642
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
Posts: 26
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.