• Welcome to Simple Machines Community Forum. Please login or sign up.
October 25, 2021, 04:49:50 AM

News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord


How to import my set up when upgrading to 2.09 from 1.19

Started by Topman, April 17, 2015, 08:13:49 AM

Previous topic - Next topic

Topman

Quote from: Kindred on May 08, 2015, 08:07:29 AM
when you move a forum, you have to run repair_settings TWICE (or save and recheck)
the first time sets the database
the second time allows you to set the URLs and paths.

http://wiki.simplemachines.org/smf/Repair_settings.php#Important_Note

read the "important note" section at the bottom of the faq page.

OK I've deleted the settings file, imported a virgin one and used the repair_settings.php  in the link you provided.
first time I just did the database settings
Second time I amended the paths and URLs.
But:
1) No recommended setting for "Attachment Directory" so it was left blank!
2) I got this message: (although as it is still 1.1.19 version these don't apply I think.)
Notice: Undefined offset: 1 in /homepages/21/d424618090/htdocs/forum.brand-newhomes.co.uk/repair_settings.php on line 623
for="cachedir">Cache Directory:
Notice: Undefined offset: 1 in /homepages/21/d424618090/htdocs/forum.brand-newhomes.co.uk/repair_settings.php on line 625

and

Value not found!Notice: Undefined offset: 1 in /homepages/21/d424618090/htdocs/forum.brand-newhomes.co.uk/repair_settings.php on line 630
Notice: Undefined offset: 1 in /homepages/21/d424618090/htdocs/forum.brand-newhomes.co.uk/repair_settings.php on line 630
Notice: Undefined offset: 1 in /homepages/21/d424618090/htdocs/forum.brand-newhomes.co.uk/repair_settings.php on line 636
Notice: Undefined offset: 1 in /homepages/21/d424618090/htdocs/forum.brand-newhomes.co.uk/repair_settings.php on line 648

I dont know what to do now.

Kindred

Quote from: Kindred on May 05, 2015, 08:27:32 AM

and topman...   I see your problem now...   you have installed the prettyurls mod and have not yet reconfigured the htaccess for the moved site...  (and probably other things that you missed, as Antes pointed out)
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."

Topman

I am beginning to think that I would be better off uninstalling Pretty URLs from the working forum and transferring at the files from that to the new subdomain forum. 
But the transferred database was copied from the working forum with Pretty URLs installed so that probably wont work either!

I have found that I didnt transfer the .htaccess file from the working forum to the new subdomain version.
I have now:

and changed:
RewriteEngine on
RewriteBase /forum/smf/

to

RewriteEngine on
RewriteBase /

It still dont work!

What else is there?
Where are the files I may need to change located?
I would appreciate a little more help please.

Kindred

this is one of the major issues with things like prettyurls.

try uninstalling it from the new site.
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."

Topman

The only page I can get on the new site is the index.php home page.
I cannot log on as admin I get page not found error 404.

So I just tried to upgrade to 2.0.10 by dragging the upgrade files into the new forum webspace.
It messed up the other original forum, even though they are pointing to different databases with different  numbers with different passwords.  I used repair settings tool and managed to get the original one back.

In the new one I attempted to upgrade I just get this message:
"Unknown column 'add_deny' in 'field list' "

Topman

The only page I can get on the new site is the index.php home page.
I cannot log on as admin I get page not found error 404.

So I just tried to upgrade to 2.0.10 by dragging the upgrade files into the new forum webspace.
It messed up the other original forum, even though they are pointing to different databases with different  numbers with different passwords.  I used repair settings tool and managed to get the original one back.

It would appear my host re uploaded my database so the settings were not  configured for the 2.0.10 upgrade in the new site.

Now I am re uploading my existing forum files to the new subdomain URL with Pretty URLS uninstalled.
I will then re do the repair settings for 1) the new database (save) and then for URL paths etc, (save)

Ok it appears to be working without Pretty URLS installed but none of the attached photos can be seen.

Kindred

Which suggests that either the files were not copied, or the path was not adjusted for the attachments
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."

Topman

QuoteOk it appears to be working without Pretty URLS installed but none of the attached photos can be seen.
I found this http://www.simplemachines.org/community/index.php?topic=374178.0  and now they are there!
Fileziller ftp did it!

Topman

Quote from: Kindred on April 20, 2015, 06:42:11 AM
I still maintain that you are going about this entirely the wrong way....

regarding the redirect...
You apparently didn't pay attention to the stackoverflow article

RewriteRule ^(forum/smf/.*)$ http://forum.brand-newhomes.co.uk/$1 [R=301,L,NC]


If I add your code (as above) in the root .htaccess file above it doesnt re direct at all!  Why I dont know.
If I add this code
Redirect permanent /forum/smf/ http://forum.brand-newhomes.co.uk/
it does redirect but as:
http://forum.brand-newhomes.co.uk/buy-to-let/'accidental'-landlords-beware/msg1151/?pretty;board=buy-to-let;topic='accidental'-landlords-beware.msg1151&boardseen
not as it should be:
http://forum.brand-newhomes.co.uk/buy-to-let/'accidental'-landlords-beware/msg1151/

Kindred

Yes, because your redirect just says "redirect everything from This domain to that domain."

Mine says, copy the arguments, redirect to the new domain and then apply the arguments.
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."

Topman

What is the difference?
and why wouldnt your re direct  work at all?
Not after scoring points here, I just want my forum to redirect with whatever method works best.
I have no idea how to "apply the arguments" anyway!

Kindred

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."

Topman

Great help.  Next time I have a week to read and try and understand it all I'll give it another look.
Its a bit like wanting to know about Lions claws and being given a link to an encylopeadia.

How is it working for you?
Try this:
http://www.brand-newhomes.co.uk/forum/smf/landscaping-and-gardening/watering-a-lawn/

But how can I get rid of the extra bit (you have to click on the browser to see it)
http://forum.brand-newhomes.co.uk/landscaping-and-gardening/watering-a-lawn/?pretty;board=landscaping-and-gardening;topic=watering-a-lawn.0

Steve

Snide remarks aren't going to endear you to anyone who may want to help. ;)
Please do not PM me for support.

Illori

IMO at this point as you are using prettyurls, you need to post in the mods support topic for further help.

Topman

Quote from: Steve on May 11, 2015, 08:02:57 AM
Snide remarks aren't going to endear you to anyone who may want to help. ;)
To be fair these links were not much help if any.

However, I would like to thank everyone who has replied over the last few weeks with help and advice and it has been a steep learning curve for me. 
Hopefully, others with similar problems will find this thread and be able to benefit from all the content.

My next task is the upgrade process to 2.0.10  and should I have any problem with that I will start a new thread.

Advertisement: