Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: leitchy on October 04, 2013, 06:08:40 AM

Title: Please Help
Post by: leitchy on October 04, 2013, 06:08:40 AM
Hello,
I tryed changing my directory from index.php
using Reapir_setting.php and i completely messed it up i cannot access the forums at all now
and now im getting this error:
Fatal error: Call to undefined function loadLayout() in /customers/1/e/a/int-community.com/httpd.www/Sources/DreamPortal.php on line 225

Title: Re: Please Help
Post by: margarett on October 04, 2013, 06:17:03 AM
You need to explain a bit more...

Your forum was in a sub-folder and you moved ALL files to the root, now you can't access it?
Did you correct the paths and save changes in repair_settings? Did you move all files (maybe you missed something?)

edit: check my PM.
You have an error in some of your directories. In some there is a "//". Please use the suggested values and save settings.
Title: Re: Please Help
Post by: leitchy on October 04, 2013, 06:23:17 AM
Yeh i save in repair changes this is what i did

Downloaded And run Repair-setting.php
Changed to all recommended settings to make a sub folder
and then got errors started looking into it and got really confused with it all
i go to my backups and sayign forbidden cant view this file
so i deleted the subfolder and still have the files on root
i don't know im a lost soul at the moment
Title: Re: Please Help
Post by: margarett on October 04, 2013, 06:26:46 AM
So you want to move the forum to a sub-folder, is that it?
And now, it's still at the root, also right?

Just another question: does your domain include "www." or not?
Title: Re: Please Help
Post by: leitchy on October 04, 2013, 06:33:18 AM
na it doesn't i don't mind if on root or subfile now i just want it back working :)

Im just going to stick with the easy stuff form now on lol like adding plugins
Title: Re: Please Help
Post by: margarett on October 04, 2013, 06:40:43 AM
Quote from: margarett on October 04, 2013, 06:26:46 AM
Just another question: does your domain include "www." or not?
;)
Title: Re: Please Help
Post by: leitchy on October 04, 2013, 06:43:28 AM
well im lost i don't know where to go from here or where to stop looking

Thanks for helping me mate +1
Title: Re: Please Help
Post by: ziycon on October 04, 2013, 06:56:03 AM
Have a read over this to make sure you've done it all correctly first, What is repair_settings.php? (http://wiki.simplemachines.org/smf/Repair_settings.php)
Title: Re: Please Help
Post by: margarett on October 04, 2013, 06:59:13 AM
This is being worked on by PM. Login details, etc etc. The issue is beyond repair_settings alone...
Title: Re: Please Help
Post by: Cyberhost on October 04, 2013, 09:56:57 AM
change the paths at database smf_settings
Title: Re: Please Help
Post by: margarett on October 04, 2013, 10:09:54 AM
@Cyberhost, while your will to help is valuable, please stop with such useless posts...
Quote from: margarett on October 04, 2013, 06:59:13 AM
This is being worked on by PM. Login details, etc etc. The issue is beyond repair_settings alone...
It should be quite clear that you totally missed the bullseye...
Title: Re: Please Help
Post by: Cyberhost on October 04, 2013, 10:52:05 AM
Quote from: margarett on October 04, 2013, 10:09:54 AM
@Cyberhost, while your will to help is valuable, please stop with such useless posts...
Quote from: margarett on October 04, 2013, 06:59:13 AM
This is being worked on by PM. Login details, etc etc. The issue is beyond repair_settings alone...
It should be quite clear that you totally missed the bullseye...

repair_settings doesn't change paths from database.
Title: Re: Please Help
Post by: margarett on October 04, 2013, 10:58:39 AM
Yes it does. And DreamPortal's paths inside SMF are relative paths to $boarddir. This discussion goes nowhere, sorry...
Title: Re: Please Help
Post by: Cyberhost on October 04, 2013, 10:59:17 AM
Quote from: margarett on October 04, 2013, 10:58:39 AM
Yes it does. And DreamPortal's paths inside SMF are relative paths to $boarddir. This discussion goes nowhere, sorry...

it didn't change for me
Title: Re: Please Help
Post by: Arantor on October 04, 2013, 10:59:33 AM
It doesn't change all theme paths, only the default one (unless it was changed when I wasn't looking, for years it wouldn't change all the other theme paths, I assume that hasn't changed)
Title: Re: Please Help
Post by: margarett on October 04, 2013, 11:27:27 AM
Actually now it does. The version the member is using gets all themes and offers to correct the paths.

But, let me insist, that's totally irrelevant. A wrong themes folder would not cause this error. In fact, none of the paths stored in smf_settings does (smileys, avatars, attachments)
Title: Re: Please Help
Post by: Arantor on October 04, 2013, 11:35:56 AM
When did that happen? I knew I was out of the loop on repair_settings (seen a lot of discussion, been too busy with other stuff to really dive in) but wow, that's a nice improvement if it works properly.

As far as the error, it sounds like either $sourcedir or $boarddir are misdefined (or missing) but I would expect a different error (like a file missing error before we got to a missing function error)
Title: Re: Please Help
Post by: Illori on October 04, 2013, 11:41:35 AM
Quote from: Arantor on October 04, 2013, 11:35:56 AM
When did that happen? I knew I was out of the loop on repair_settings (seen a lot of discussion, been too busy with other stuff to really dive in) but wow, that's a nice improvement if it works properly.


http://www.simplemachines.org/community/index.php?topic=506989.0
Title: Re: Please Help
Post by: margarett on October 04, 2013, 12:45:56 PM
This is now solved. That was quite a mess :P

edit: now it's down again :(