Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Upgrade aborts
Avatar
Thomas Walker
Rookie
sp_UserOfflineSmall Offline
Aug 19, 2015 - 5:50 pm

Updated WP to 4.3 and tried to install upgrade

Getting an Upgrade aborted message:

Upgrade Aborted
current build: 13000

Notice: Undefined index: forum-images in /home/selfdire/public_html/wp-content/plugins/simple-press/sp-startup/site/sp-site-constants.php on line 61

Notice: Undefined index: forum-images in /home/selfdire/public_html/wp-content/plugins/simple-press/sp-startup/site/sp-site-constants.php on line 62
{"status":"success","type":"upgrade","section":13001,"response":"Build upgrade section 13001 executing. Status: success
","error":""}

Cannot access any SP functions

No help unless I paid (which I did) wrong way to run a business.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 19, 2015 - 6:23 pm

mmm a second user with the problem. Bi=ut oddly most do not have it.

I am still trying to work out what this issue is but we can get you around it if you are able and willing to make a small edit to code.

Basically iof you could comment out those two lines in that file referred to in the notice - perform the update and then uncomment them then you should be fine.

For reference the two lines are:

if (!defined('SFFEATUREDDIR')) define('SFFEATUREDDIR', SF_STORE_DIR.'/'.$spPaths['forum-images'].'/');
if (!defined('SFFEATUREDURL')) define('SFFEATUREDURL', SF_STORE_URL.'/'.$spPaths['forum-images'].'/');

Would that be possible?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Thomas Walker
Rookie
sp_UserOfflineSmall Offline
Aug 19, 2015 - 6:28 pm

Yes that did the trick! thanks

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 19, 2015 - 6:29 pm

And I suddenly realise why you have the problem but the majority do not, It is down to the way your php error reporting is configured and both we and just about everyone else would strongly recommend you change it. It is considered bad practice to allow Notices and Warnings to display to the screen on a public website - (which is what is happening). Your host should be able to turn this off for you and be more than willing to do so as it can disclose server paths to people using the website.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625