News:

Wondering if this will always be free?  See why free is better.

Main Menu

Trying to upgrade from 2.0.19 to 2.1.3

Started by WhiteJC, March 27, 2023, 06:53:04 AM

Previous topic - Next topic

WhiteJC

I tried uninstalling all mods and then deleting all php files in the root forum directory EXCEPT Settings.php and Sources and Themes directories.
I uploaded the 2.1.3 package, run upgrade.php

and got the same result

Kindred

Then you need to talk to your host -- because what you are seeing does not make a lot of sense
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Arantor

So here's the question, in Settings.php, what does it have listed for $boarddir?
Holder of controversial views, all of which my own.


WhiteJC

Quote from: Arantor on April 03, 2023, 08:26:18 AMSo here's the question, in Settings.php, what does it have listed for $boarddir?

########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir = '/home/friends8/public_html/forum';        # The absolute path to the forum's folder. (not just '.'!)
$sourcedir = '/home/friends8/public_html/forum/Sources';        # Path to the Sources directory.
$cachedir = '/home/friends8/public_html/forum/cache';        # Path to the cache directory.

Arantor

Ah so there's the problem.

The avatar path is /home1/frienfg5/public_html/forum/avatars but from your message above, one would assume it should be /home/friends8/public_html/forum/avatars

No wonder it can't make it writable - it doesn't exist. Think that needs to be fixed first.
Holder of controversial views, all of which my own.


WhiteJC

Quote from: Arantor on April 03, 2023, 10:05:33 AMAh so there's the problem.

The avatar path is /home1/frienfg5/public_html/forum/avatars but from your message above, one would assume it should be /home/friends8/public_html/forum/avatars

No wonder it can't make it writable - it doesn't exist. Think that needs to be fixed first.

where do I need to change the path?

$boarddir = '/home/friends8/public_html/forum'; is defined in Settings.php
so where would the update get /home1/frienfg5/public_html/forum/avatars from?

is there another file that I need to amend with the correct path details?

Arantor

No, that one is in the database in the settings table.

It's been years since I touched repair_settings.php but I thought that offered you that as an option.

The relevant setting in the settings table has the "variable" name of avatar_directory.

It's very possible this has been wrong for a while and you never noticed - this is the path to the server-hosted avatar gallery (not the one where users upload their own to).
Holder of controversial views, all of which my own.


WhiteJC

I found that the path was set to the wrong directory in the Attachments and Avatars Avatar Settings

as its just gone 1 o'clock here I'll try the upgrade again in the morning now that the path has been corrected

WhiteJC

fixing the path sorted the problem

thanks for everyones help

Advertisement: