Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Aiheen aloitti: Mariano - elokuu 21, 2006, 11:08:08 IP

Otsikko: Upgrading to 1.1 RC3
Kirjoitti: Mariano - elokuu 21, 2006, 11:08:08 IP
Hey ... I downloaded smf_1-1-rc3_upgrade and I deleted all my forum, except the data base ... I upload the forum to the same folder and when I execute upgrade.php I get this:

Warning: main(/home/forove/public_html/foro/Settings.php) [function.main]: failed to open stream: No such file or directory in /home/forove/public_html/foro/upgrade.php on line 42

Fatal error: main() [function.require]: Failed opening required '/home/forove/public_html/foro/Settings.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/forove/public_html/foro/upgrade.php on line 42

What can it be ?
Otsikko: Re: Upgrading to 1.1 RC3
Kirjoitti: 青山 素子 - elokuu 21, 2006, 11:24:34 IP
Um, you are supposed to upload the upgrade files on top of the existing forum files.

If you made a backup of Settings.php before you deleted everything, upload all the files from the install package, delete install.php. Then, upload just the upgrade.php and .sql files from the upgrade package. After that, upload the backup of Settings.php.

Then run upgrade.php
Otsikko: Re: Upgrading to 1.1 RC3
Kirjoitti: Mariano - elokuu 21, 2006, 11:34:51 IP
But I didn't make a backup of Settings.php ... I only deleted ALL files and upload upgrade.zip content ...

I'm now uploading install.zip content...
Otsikko: Re: Upgrading to 1.1 RC3
Kirjoitti: TheGamer - elokuu 21, 2006, 11:38:12 IP
Uh-oh. Your just supposed to overlay the upgrade files, not completely replace your data. :S
Otsikko: Re: Upgrading to 1.1 RC3
Kirjoitti: 青山 素子 - elokuu 21, 2006, 11:39:11 IP
I suggest running the install.php script then, and using a different prefix (smf2_) to install with. Then, edit Settings.php to use the old prefix, and run upgrade.php.
Otsikko: Re: Upgrading to 1.1 RC3
Kirjoitti: Mariano - elokuu 22, 2006, 12:14:09 AP
Ready ... problem fixed .. Thanks Motoko-chan